HDFGroup / HDFGroup/hsds

How to use config.yml

Open
#433 1 comment 0 reactions 1 assignee Assigned to @mattjala View on GitHub
bug
Dominant language
Python
Stars
157
Forks
60
Avg merge
1d 5h
Merged PRs (30d)
15

Description

In the windows system, I deployed an hsds using the file storage method. How can I deploy multiple hsds servers with different ports.I use the following command for deployment. And config.yml is located under the config folder
`hsds --root_dir D:/hsds_data --host localhost --port 5101 --password_file config/passwd.txt --config_dir .\config --logfile hs.log`

Under another project, I opened another command line to run hsds. At this time, I changed the port to 5199 and modified the parameters such as dn_port and head_port in config.yml, which were different from the first time. But at this point, an error was reported. I checked the log and found out
`task: exception=OSError(10048, "error while attempting to bind on address ('::', 6101, 0, 0): 通常每个套接字地址(协议/网络地址/端口)只允许使用一次。")>......`and`WARNING:root:process sn ended, result: ('', None)
WARNING:root:_enqueue_output - ValueError (handle closed?): I/O operation on closed file
WARNING:root:process dn0 ended, result: ('', None)
WARNING:root:_enqueue_output - ValueError (handle closed?): I/O operation on closed file
WARNING:root:process dn1 ended, result: ('', None)
WARNING:root:_enqueue_output - ValueError (handle closed?): I/O operation on closed file
WARNING:root:process dn2 ended, result: ('', None)
WARNING:root:_enqueue_output - ValueError (handle closed?): I/O operation on closed file
WARNING:root:process dn3 ended, result: ('', None)

WARNING:root:_enqueue_output - ValueError (handle closed?): I/O operation on closed file
READY! use endpoint: http://localhost:5101`
I confirm that no other ports conflict with these two ports. It seems that my config.yml has no effect at all. It still uses the same configuration. I want to know how I can deploy multiple hsds on the same computer, and they use different ports

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.