You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Jean-Daniel Cryans (JIRA)" <ji...@apache.org> on 2010/02/24 22:47:27 UTC

[jira] Created: (HBASE-2262) ZKW.ensureExists should check for existence

ZKW.ensureExists should check for existence
-------------------------------------------

                 Key: HBASE-2262
                 URL: https://issues.apache.org/jira/browse/HBASE-2262
             Project: Hadoop HBase
          Issue Type: Improvement
            Reporter: Jean-Daniel Cryans
            Assignee: Jean-Daniel Cryans
             Fix For: 0.20.4, 0.21.0


The fact that ZKW.ensureExists relies on KeeperException.NodeExistsException creates a lot of chatter in HBase and Zookeeper logs and also confuses users. We should use ZooKeeper.exists instead.

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


[jira] Updated: (HBASE-2262) ZKW.ensureExists should check for existence

Posted by "Jean-Daniel Cryans (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-2262?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Daniel Cryans updated HBASE-2262:
--------------------------------------

    Attachment: HBASE-2262.patch

Going to commit this small patch, it's just testing first if the file exists instead of letting the exception happen.

> ZKW.ensureExists should check for existence
> -------------------------------------------
>
>                 Key: HBASE-2262
>                 URL: https://issues.apache.org/jira/browse/HBASE-2262
>             Project: Hadoop HBase
>          Issue Type: Improvement
>            Reporter: Jean-Daniel Cryans
>            Assignee: Jean-Daniel Cryans
>             Fix For: 0.20.4, 0.21.0
>
>         Attachments: HBASE-2262.patch
>
>
> The fact that ZKW.ensureExists relies on KeeperException.NodeExistsException creates a lot of chatter in HBase and Zookeeper logs and also confuses users. We should use ZooKeeper.exists instead.

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


[jira] Resolved: (HBASE-2262) ZKW.ensureExists should check for existence

Posted by "Jean-Daniel Cryans (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-2262?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Daniel Cryans resolved HBASE-2262.
---------------------------------------

    Resolution: Fixed

Committed to branch and trunk.

> ZKW.ensureExists should check for existence
> -------------------------------------------
>
>                 Key: HBASE-2262
>                 URL: https://issues.apache.org/jira/browse/HBASE-2262
>             Project: Hadoop HBase
>          Issue Type: Improvement
>            Reporter: Jean-Daniel Cryans
>            Assignee: Jean-Daniel Cryans
>             Fix For: 0.20.4, 0.21.0
>
>         Attachments: HBASE-2262.patch
>
>
> The fact that ZKW.ensureExists relies on KeeperException.NodeExistsException creates a lot of chatter in HBase and Zookeeper logs and also confuses users. We should use ZooKeeper.exists instead.

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