Return-Path: Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: (qmail 57842 invoked from network); 25 Nov 2010 00:55:12 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 25 Nov 2010 00:55:12 -0000 Received: (qmail 34079 invoked by uid 500); 25 Nov 2010 00:55:44 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 34051 invoked by uid 500); 25 Nov 2010 00:55:44 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 34043 invoked by uid 99); 25 Nov 2010 00:55:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Nov 2010 00:55:44 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Nov 2010 00:55:41 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oAP0tJVH010491 for ; Thu, 25 Nov 2010 00:55:20 GMT Message-ID: <30516919.299741290646519786.JavaMail.jira@thor> Date: Wed, 24 Nov 2010 19:55:19 -0500 (EST) From: "stack (JIRA)" To: issues@hbase.apache.org Subject: [jira] Commented: (HBASE-3254) Ability to specify the "host" published in zookeeper In-Reply-To: <19913371.211301290216673378.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ 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.