Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
None
-
None
-
None
Description
We just ran into a strange issue where could neither start nor stop services with hbase-deamon.sh.
The problem is this:
nohup nice -n $HBASE_NICENESS "$HBASE_HOME"/bin/hbase \ --config "${HBASE_CONF_DIR}" \ $command "$@" $startStop > "$logout" 2>&1 < /dev/null & echo $! > $pid
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.
Attachments
Issue Links
- is required by
-
HBASE-5843 Improve HBase MTTR - Mean Time To Recover
- Closed