hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-3238) HBase needs to have the CREATE permission on the parent of its ZooKeeper parent znode
Date Wed, 06 Apr 2011 03:53:06 GMT

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

Hudson commented on HBASE-3238:
-------------------------------

Integrated in HBase-TRUNK #1831 (See [https://hudson.apache.org/hudson/job/HBase-TRUNK/1831/])
    

> 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
>             Fix For: 0.92.0
>
>         Attachments: 1, HBASE-3238-v2.patch, HBASE-3238-v3.patch, HBASE-3238.patch
>
>
> 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

Mime
View raw message