[ 
https://issues.apache.org/jira/browse/HBASE-3254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12935600#action_12935600
 ] 

stack commented on HBASE-3254:
------------------------------

On #1, would be better if this were the host, yeah.

On #2, yes, getServerName on HSI is getHostnamePort but with addition of 
startcode (as you've figured).

Yes, your override seems reasonable.

Good on you Eric.

> Ability to specify the "host" published in zookeeper
> ----------------------------------------------------
>
>                 Key: HBASE-3254
>                 URL: https://issues.apache.org/jira/browse/HBASE-3254
>             Project: HBase
>          Issue Type: Improvement
>    Affects Versions: 0.89.20100924
>            Reporter: Eric Tschetter
>
> We are running HBase on EC2 and I'm trying to get a client external from EC2 
> to connect to the cluster.  But, each of the nodes appears to be publishing 
> its IP address into zookeeper.  The problem is that the nodes on EC2 see a 
> 10. IP address that is only resolvable inside of EC2.
> Specifically for EC2, there is a DNS name that will resolve properly both 
> externally and internally, so it would be nice if I could tell each of the 
> processes what host to publish into zookeeper via a property.  As it stands, 
> I have to do ssh tunnelling/muck with the hosts file in order to get my 
> client to connect.
>  
> This problem could occur anywhere that you have a different DNS entry for 
> public vs. private access.  That might only ever happen on EC2, but it might 
> happen elsewhere.  I don't really know :).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to