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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.98.3
    • 0.99.0, 0.98.4
    • None
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: