fengshao0907 / weed-fs

Automatically exported from code.google.com/p/weed-fs
0 stars 0 forks source link

Multi Ip Enviromment support + publicUrl is disregarded by master #59

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Master:
1. Run the application in multi Ip environment on a specific IP (10.16.2.1).
2. Master server doesn't have and option to specify ip
3. Master server also doesn't use publicUrl of Volume server when it was 
specified.

Volume:
1. Run the application in multi Ip environment on a specific IP (10.16.2.1). 
Input parameter used "-ip=10.16.2.1"
2. Volume server is started on 127.0.0.1 and disregard the input parameter.

What is the expected output? What do you see instead?
I would expect to have an ability to run it on any port/ip I need. If ip 
parameter is present application should use it. PublicUrl should be used by 
Master server when it exists.

What version of the product are you using? On what operating system?
0.45,Red Hat VM.

Please provide any additional information below.
I was able to make necessary changes for my case. Please let me know if you 
have any additional questions. I attached the patch.

Original issue reported on code.google.com by Oracle...@gmail.com on 3 Dec 2013 at 5:15

GoogleCodeExporter commented 9 years ago
attached a clean patch

Original comment by Oracle...@gmail.com on 3 Dec 2013 at 6:03

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks a lot for the patch! Applied to the HEAD.

Original comment by chris...@gmail.com on 3 Dec 2013 at 6:59