You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Nitay Joffe (JIRA)" <ji...@apache.org> on 2009/02/08 06:20:59 UTC

[jira] Created: (HBASE-1191) ZooKeeper ensureParentExists calls fail on absolute path

ZooKeeper ensureParentExists calls fail on absolute path
--------------------------------------------------------

                 Key: HBASE-1191
                 URL: https://issues.apache.org/jira/browse/HBASE-1191
             Project: Hadoop HBase
          Issue Type: Bug
    Affects Versions: 0.19.0
            Reporter: Nitay Joffe


If user specifies absolute path for one of the files in ZooKeeper, the following will not do what it's supposed to:

if (!ensureZNodeExists(parentZNode)) {
  ...

Because the user specified path is not a child of parentZNode, all operations on it will fail.

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


[jira] Updated: (HBASE-1191) ZooKeeper ensureParentExists calls fail on absolute path

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

Nitay Joffe updated HBASE-1191:
-------------------------------

    Attachment: hbase-1191.patch

> ZooKeeper ensureParentExists calls fail on absolute path
> --------------------------------------------------------
>
>                 Key: HBASE-1191
>                 URL: https://issues.apache.org/jira/browse/HBASE-1191
>             Project: Hadoop HBase
>          Issue Type: Bug
>    Affects Versions: 0.19.0
>            Reporter: Nitay Joffe
>         Attachments: hbase-1191.patch
>
>
> If user specifies absolute path for one of the files in ZooKeeper, the following will not do what it's supposed to:
> if (!ensureZNodeExists(parentZNode)) {
>   ...
> Because the user specified path is not a child of parentZNode, all operations on it will fail.

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


[jira] Assigned: (HBASE-1191) ZooKeeper ensureParentExists calls fail on absolute path

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

Nitay Joffe reassigned HBASE-1191:
----------------------------------

    Assignee: Nitay Joffe

> ZooKeeper ensureParentExists calls fail on absolute path
> --------------------------------------------------------
>
>                 Key: HBASE-1191
>                 URL: https://issues.apache.org/jira/browse/HBASE-1191
>             Project: Hadoop HBase
>          Issue Type: Bug
>    Affects Versions: 0.19.0
>            Reporter: Nitay Joffe
>            Assignee: Nitay Joffe
>         Attachments: hbase-1191.patch
>
>
> If user specifies absolute path for one of the files in ZooKeeper, the following will not do what it's supposed to:
> if (!ensureZNodeExists(parentZNode)) {
>   ...
> Because the user specified path is not a child of parentZNode, all operations on it will fail.

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


[jira] Resolved: (HBASE-1191) ZooKeeper ensureParentExists calls fail on absolute path

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

Jean-Daniel Cryans resolved HBASE-1191.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 0.20.0
     Hadoop Flags: [Reviewed]

I tested the patch and it works, committed to trunk. Thanks Nitay!

> ZooKeeper ensureParentExists calls fail on absolute path
> --------------------------------------------------------
>
>                 Key: HBASE-1191
>                 URL: https://issues.apache.org/jira/browse/HBASE-1191
>             Project: Hadoop HBase
>          Issue Type: Bug
>    Affects Versions: 0.19.0
>            Reporter: Nitay Joffe
>            Assignee: Nitay Joffe
>             Fix For: 0.20.0
>
>         Attachments: hbase-1191.patch
>
>
> If user specifies absolute path for one of the files in ZooKeeper, the following will not do what it's supposed to:
> if (!ensureZNodeExists(parentZNode)) {
>   ...
> Because the user specified path is not a child of parentZNode, all operations on it will fail.

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