[
https://issues.apache.org/jira/browse/WHIRR-511?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13276407#comment-13276407
]
Tom White commented on WHIRR-511:
---------------------------------
I don't think private hostnames are used in any of the services. ZooKeeper uses
private IPs for communication within the ensemble, but IPs are fine. So
deprecating, then removing in a future release would be OK. Note that you can
still use Instance.getPrivateAddress().getHostName().
> Instance.getPrivateHostName returns an IP address
> -------------------------------------------------
>
> Key: WHIRR-511
> URL: https://issues.apache.org/jira/browse/WHIRR-511
> Project: Whirr
> Issue Type: Bug
> Components: core
> Affects Versions: 0.8.0
> Environment: AWS m1.large
> Reporter: David Arthur
> Assignee: Andrei Savu
> Priority: Minor
> Labels: aws, hostname
> Fix For: 0.8.0
>
>
> getPrivateHostName returns the same thing as getPrivateIp. I would expect to
> get something like "ip-42-142-142-142.ec2.internal" as is reported by the AWS
> console.
> Instance.getNodeMetadata().getHostname() returns the actual `hostname` as
> reported by the OS of the instance (which worked for me).
> Not sure if this is expected behavior, or if it's a JCloud issue, or what.
> Feel free to mark invalid
--
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