You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "nijel (JIRA)" <ji...@apache.org> on 2014/07/10 17:37:04 UTC

[jira] [Updated] (HBASE-11493) Autorestart option is not working because of stale znode "shutdown"

     [ https://issues.apache.org/jira/browse/HBASE-11493?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

nijel updated HBASE-11493:
--------------------------

    Attachment: HBASE-11493.patch

pls find the patch 

> Autorestart option is not working because of stale znode  "shutdown"
> --------------------------------------------------------------------
>
>                 Key: HBASE-11493
>                 URL: https://issues.apache.org/jira/browse/HBASE-11493
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.98.3
>            Reporter: Nishan Shetty
>         Attachments: HBASE-11493.patch
>
>
> In hbase-daemon.sh autorestart option the znode used is "shutdown"
> {code}
> zshutdown=`$bin/hbase org.apache.hadoop.hbase.util.HBaseConfTool zookeeper.znode.state`
>         if [ "$zshutdown" == "null" ]; then zshutdown="shutdown"; fi
>         zFullShutdown=$zparent/$zshutdown
> {code}
> 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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)