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

IllegalArgumentException from ZNodeClearer when master shuts down

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0-beta-1, 2.0.0
    • None
    • None
    • Reviewed

    Description

      Found the following in master log (build as of commit eee3b0) :

      2017-10-30 15:40:24,383 ERROR [main] util.ServerCommandLine: Failed to run
      java.lang.IllegalArgumentException: Path must start with / character
              at org.apache.zookeeper.common.PathUtils.validatePath(PathUtils.java:51)
              at org.apache.zookeeper.ZooKeeper.delete(ZooKeeper.java:851)
              at org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper.delete(RecoverableZooKeeper.java:182)
              at org.apache.hadoop.hbase.zookeeper.ZKUtil.deleteNodeFailSilent(ZKUtil.java:1266)
              at org.apache.hadoop.hbase.zookeeper.ZKUtil.deleteNodeFailSilent(ZKUtil.java:1258)
              at org.apache.hadoop.hbase.ZNodeClearer.clear(ZNodeClearer.java:186)
              at org.apache.hadoop.hbase.master.HMasterCommandLine.run(HMasterCommandLine.java:143)
              at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76)
              at org.apache.hadoop.hbase.util.ServerCommandLine.doMain(ServerCommandLine.java:127)
              at org.apache.hadoop.hbase.master.HMaster.main(HMaster.java:2873)
      

      Looking at ZNodeClearer, it seems that intention was to remove znode under /rs subtree.
      However, the znode name was passed without path.

      Attachments

        1. 19120.v1.txt
          0.9 kB
          Ted Yu

        Activity

          People

            yuzhihong@gmail.com Ted Yu
            yuzhihong@gmail.com Ted Yu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: