[
https://issues.apache.org/jira/browse/HBASE-2871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12894817#action_12894817
]
Nicolas Spiegelberg commented on HBASE-2871:
--------------------------------------------
The 'new' evironment variables brought into stop-hbase.sh were brought in from
hbase-daemon.sh. They are to handle logging + pid watching, which was
previously unique to hbase-daemon.sh. I think if we get another file that
needs the same pattern, we should abstract it out into a common bash file for
handling process creation. However, hbase-env.sh is not necessarily the proper
place for that. (?)
> Make "start|stop" commands symmetric for Master & Cluster
> ---------------------------------------------------------
>
> Key: HBASE-2871
> URL: https://issues.apache.org/jira/browse/HBASE-2871
> Project: HBase
> Issue Type: Improvement
> Components: scripts
> Reporter: Nicolas Spiegelberg
> Assignee: Nicolas Spiegelberg
> Priority: Trivial
> Fix For: 0.90.0
>
> Attachments: HBASE-2871.patch
>
>
> Currently, our master & server start/stop commands aren't asymmetric.
> Calling "hbase-daemon.sh start master" will create a single Master process,
> but calling "hbase-daemon.sh stop master" will stop the master +
> regionservers. Additionally, running bin/stop-hbase.sh will not work
> properly if a backup master is currently the primary. We should modify these
> commands so they are intuitive/asymmetric and let the HBase contributors
> (instead of users) live with the fact that it might be a little ugly
> underneath.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.