[ 
https://issues.apache.org/jira/browse/HBASE-1650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12730660#action_12730660
 ] 

stack commented on HBASE-1650:
------------------------------

So, here is offending change:
{code}
diff --git a/bin/hbase-daemons.sh b/bin/hbase-daemons.sh
index 166af33..5af9408 100755
--- a/bin/hbase-daemons.sh
+++ b/bin/hbase-daemons.sh
@@ -37,6 +37,20 @@ bin=`cd "$bin"; pwd`
 
 . $bin/hbase-config.sh
 
-exec "$bin/regionservers.sh" --config "${HBASE_CONF_DIR}" \
- cd "${HBASE_HOME}" \; \
- "$bin/hbase-daemon.sh" --config "${HBASE_CONF_DIR}" "$@"
+remote_cmd="cd ${HBASE_HOME}; $bin/hbase-daemon.sh --config ${HBASE_CONF_DIR} 
$@"
+args="--config ${HBASE_CONF_DIR} $remote_cmd"
+
+command=$2
+case $command in
+  (regionserver)
+    exec "$bin/regionservers.sh" $args
+    ;;
+  (zookeeper)
+    exec "$bin/zookeepers.sh" $args
+    ;;
+  (*)
+    echo $usage
+    exit 1
+    ;;
+esac
+
{code}

Rather than print usage, running with regionservers should be default?

> HBASE-1551 broke the ability to manage non-regionserver start-up/shut down. 
> ie: you cant start/stop thrift on a cluster anymore
> -------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-1650
>                 URL: https://issues.apache.org/jira/browse/HBASE-1650
>             Project: Hadoop HBase
>          Issue Type: Bug
>    Affects Versions: 0.20.0
>            Reporter: ryan rawson
>            Priority: Blocker
>             Fix For: 0.20.0
>
>
> I used to be able to do:
> bin/hbase-daemons.sh stop thrift
> bin/hbase-daemons.sh start thrift
> I can't anymore. We can't manage anything but regionservers and zookeeper 
> with this script now.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to