Zookeeper broadcasts host's hostname instead of IP when 
ecf.exported.containerfactoryargs property is not set
-------------------------------------------------------------------------------------------------------------

                 Key: ZOOKEEPER-1415
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1415
             Project: ZooKeeper
          Issue Type: Bug
         Environment: Any OS, any Java version. The issue presents itself when 
using the osgi bundles org.apache.hadoop.zookeeper and 
org.eclipse.ecf.provider.zookeeper inside an Eclipse Equinox framework. I did 
not test on any other versions.
            Reporter: Stefano Ghio
            Priority: Minor


Not setting the ecf.exported.containerfactoryargs property when publishing an 
OSGi service through Zookeeper results in the service being published under the 
host's hostname instead of its IP. This means that hosts not able to correctly 
resolve that hostname cannot connect to its ZooKeeper instance. It would be 
desirable to use the IP instead of the hostname when that property is purposely 
left blank e.g. when it is unknown where the application will be deployed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to