HBASE-2936 Differentiate between daemon & restart sleep periods

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1043162 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2010-12-07 18:54:32 +00:00
parent 21a5df7b4f
commit 5964303163
2 changed files with 2 additions and 1 deletions

View File

@ -18,6 +18,7 @@ Release 0.91.0 - Unreleased
HBASE-3290 Max Compaction Size (Nicolas Spiegelberg via Stack)
HBASE-3292 Expose block cache hit/miss/evict counts into region server
metrics
HBASE-2936 Differentiate between daemon & restart sleep periods
NEW FEATURES
HBASE-3287 Add option to cache blocks on hfile write and evict blocks on

View File

@ -181,7 +181,7 @@ case $startStop in
$thiscmd --config "${HBASE_CONF_DIR}" stop $command $args &
wait_until_done $!
# wait a user-specified sleep period
sp=${HBASE_SLAVE_SLEEP:-3}
sp=${HBASE_RESTART_SLEEP:-3}
if [ $sp -gt 0 ]; then
sleep $sp
fi