hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-6970) hbase-deamon.sh creates/updates pid file even when that start failed.
Date Wed, 08 May 2013 16:47:16 GMT

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

stack updated HBASE-6970:
-------------------------

      Component/s: Usability
    Fix Version/s: 0.95.1

Bringing into 0.95.  Not having a fix for this makes it harder on admins.
                
> hbase-deamon.sh creates/updates pid file even when that start failed.
> ---------------------------------------------------------------------
>
>                 Key: HBASE-6970
>                 URL: https://issues.apache.org/jira/browse/HBASE-6970
>             Project: HBase
>          Issue Type: Bug
>          Components: Usability
>            Reporter: Lars Hofhansl
>             Fix For: 0.95.1
>
>
> We just ran into a strange issue where could neither start nor stop services with hbase-deamon.sh.
> The problem is this:
> {code}
>     nohup nice -n $HBASE_NICENESS "$HBASE_HOME"/bin/hbase \
>         --config "${HBASE_CONF_DIR}" \
>         $command "$@" $startStop > "$logout" 2>&1 < /dev/null &
>     echo $! > $pid
> {code}
> So the pid file is created or updated even when the start of the service failed. The
next stop command will then fail, because the pid file has the wrong pid in it.
> Edit: Spelling and more spelling errors.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message