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

Autorestart option is not working because of stale znode "shutdown"

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.98.3
    • Fix Version/s: 0.99.0, 0.98.4
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      In hbase-daemon.sh autorestart option the znode used is "shutdown"

      zshutdown=`$bin/hbase org.apache.hadoop.hbase.util.HBaseConfTool zookeeper.znode.state`
              if [ "$zshutdown" == "null" ]; then zshutdown="shutdown"; fi
              zFullShutdown=$zparent/$zshutdown
      

      the node shutdown is not available now and is changed to running.

      Since this node is not available, script does not restart the node and it exists.

      So autorestart scripts needs to be changed to make use of "running" znode.

        Attachments

        1. HBASE-11493.v1.patch
          2 kB
          nijel
        2. HBASE-11493.patch
          1 kB
          nijel

          Activity

            People

            • Assignee:
              nijel nijel
              Reporter:
              nishan Nishan Shetty
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: