Return-Path: Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: (qmail 29326 invoked from network); 24 Mar 2011 23:46:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 24 Mar 2011 23:46:46 -0000 Received: (qmail 57147 invoked by uid 500); 24 Mar 2011 23:46:46 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 57097 invoked by uid 500); 24 Mar 2011 23:46:46 -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 57083 invoked by uid 99); 24 Mar 2011 23:46:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Mar 2011 23:46:46 +0000 X-ASF-Spam-Status: No, hits=-1999.7 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD,URIBL_RHS_DOB 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, 24 Mar 2011 23:46:43 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id D842D4CB23 for ; Thu, 24 Mar 2011 23:46:05 +0000 (UTC) Date: Thu, 24 Mar 2011 23:46:05 +0000 (UTC) From: "Alex Newman (JIRA)" To: issues@hbase.apache.org Message-ID: <661237862.10246.1301010365882.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <18855668.107261289911753806.JavaMail.jira@thor> Subject: [jira] [Updated] (HBASE-3238) HBase needs to have the CREATE permission on the parent of its ZooKeeper parent znode 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-3238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alex Newman updated HBASE-3238: ------------------------------- Status: Patch Available (was: Open) > HBase needs to have the CREATE permission on the parent of its ZooKeeper parent znode > ------------------------------------------------------------------------------------- > > Key: HBASE-3238 > URL: https://issues.apache.org/jira/browse/HBASE-3238 > Project: HBase > Issue Type: Bug > Affects Versions: 0.90.0 > Reporter: Mathias Herberts > Assignee: Alex Newman > Priority: Blocker > Attachments: 1 > > > Upon startup, HBase attempts to create its zookeeper.parent.znode in ZooKeeper, it does so using ZKUtil.createAndFailSilent which as its name seems to imply will fail silent if the znode exists. But if HBase does not have the CREATE permission on its zookeeper.parent.znode parent znode then the create attempt will fail with a org.apache.zookeeper.KeeperException$NoAuthException and will terminate the process. > In a production environment where ZooKeeper has a managed namespace it is not possible to give HBase CREATE permission on the parent of its parent znode. > ZKUtil.createAndFailSilent should therefore be modified to check that the znode exists using ZooKeeper.exist prior to attempting to create it. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira