Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-8509

ZKUtil#createWithParents won't set data during znode creation when parent folder doesn't exit

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.98.0, 0.94.8, 0.95.1
    • Zookeeper
    • None
    • Reviewed

    Description

      As you can see below, we don't pass data down when parent folder doesn't exists.

          } catch(KeeperException.NoNodeException nne) {
            createWithParents(zkw, getParent(znode));
            createWithParents(zkw, znode);
      

      Attachments

        1. hbase-8509.patch
          3 kB
          Jeffrey Zhong
        2. 8509-v2.txt
          3 kB
          Ted Yu
        3. hbase-8509-v2.patch
          3 kB
          Jeffrey Zhong
        4. 8509-0.94.txt
          2 kB
          Ted Yu

        Activity

          People

            jeffreyz Jeffrey Zhong
            jeffreyz Jeffrey Zhong
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: