Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1991E7B3F for ; Thu, 28 Jul 2011 13:29:35 +0000 (UTC) Received: (qmail 91362 invoked by uid 500); 28 Jul 2011 13:29:34 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 91302 invoked by uid 500); 28 Jul 2011 13:29:34 -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 91100 invoked by uid 99); 28 Jul 2011 13:29:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Jul 2011 13:29:33 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Jul 2011 13:29:31 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 0DCA78FE7B for ; Thu, 28 Jul 2011 13:29:10 +0000 (UTC) Date: Thu, 28 Jul 2011 13:29:10 +0000 (UTC) From: "ramkrishna.s.vasudevan (JIRA)" To: issues@hbase.apache.org Message-ID: <23038871.15559.1311859750053.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <59159561.3174.1311584590155.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HBASE-4138) If zookeeper.znode.parent is not specifed explicitly in Client code then HTable object loops continuously waiting for the root region by using /hbase as the base node. 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-4138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13072336#comment-13072336 ] ramkrishna.s.vasudevan commented on HBASE-4138: ----------------------------------------------- Uploaded patch once again as the ZookeeperWatcher.java got changed after i prepared the first patch. > If zookeeper.znode.parent is not specifed explicitly in Client code then HTable object loops continuously waiting for the root region by using /hbase as the base node. > ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: HBASE-4138 > URL: https://issues.apache.org/jira/browse/HBASE-4138 > Project: HBase > Issue Type: Bug > Components: client > Affects Versions: 0.90.3 > Reporter: ramkrishna.s.vasudevan > Assignee: ramkrishna.s.vasudevan > Fix For: 0.92.0 > > Attachments: HBASE-4138_trunk_1.patch, HBASE-4138_trunk_2.patch > > > Change the zookeeper.znode.parent property (default is /hbase). > Now do not specify this change in the client code. > Use the HTable Object. > The HTable is not able to find the root region and keeps continuously looping. > Find the stack trace: > ==================== > Object.wait(long) line: not available [native method] > RootRegionTracker(ZooKeeperNodeTracker).blockUntilAvailable(long) line: 122 > RootRegionTracker.waitRootRegionLocation(long) line: 73 > HConnectionManager$HConnectionImplementation.locateRegion(byte[], > byte[], boolean) line: 578 > HConnectionManager$HConnectionImplementation.locateRegion(byte[], > byte[]) line: 558 > HConnectionManager$HConnectionImplementation.locateRegionInMeta(byte[], > byte[], byte[], boolean, Object) line: 687 > HConnectionManager$HConnectionImplementation.locateRegion(byte[], > byte[], boolean) line: 589 > HConnectionManager$HConnectionImplementation.locateRegion(byte[], > byte[]) line: 558 > HConnectionManager$HConnectionImplementation.locateRegionInMeta(byte[], > byte[], byte[], boolean, Object) line: 687 > HConnectionManager$HConnectionImplementation.locateRegion(byte[], > byte[], boolean) line: 593 > HConnectionManager$HConnectionImplementation.locateRegion(byte[], > byte[]) line: 558 > HTable.(Configuration, byte[]) line: 171 > HTable.(Configuration, String) line: 145 > HBaseTest.test() line: 45 -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira