[ 
https://issues.apache.org/jira/browse/MAPREDUCE-6250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14314929#comment-14314929
 ] 

Allen Wittenauer edited comment on MAPREDUCE-6250 at 2/10/15 9:08 PM:
----------------------------------------------------------------------

Yup, that's the pattern.

For example, after committing HADOOP-11565, my startup looks like this:

{code}
$ hadoop --slaves version | grep repo
$ hdfs namenode -format
$ hdfs --daemon start namenode
$ hdfs --slaves --daemon start datanode
$ yarn --daemon start resourcemanager
$ yarn --daemon start proxyserver
$ yarn --slaves --daemon start nodemanager
{code}

Of course, you can do fancier things now that all of the -- options are 
supported on slaves.... (i.e., yarn --slaves --hosts="proxyhost" --daemon start 
--config /my/customfig --debug proxyserver will start the proxyserver on the 
host proxyhost with the custom config in debug mode.)

I need to fix sbin/(start|stop) yet, but they'll turn into wrappers around 
these commands, eliminating about 4 levels of shell indirection vs. branch-2...


was (Author: aw):
Yup, that's the pattern.

For example, after committing HADOOP-11565, my startup looks like this:

{code}
$ hadoop --slaves version | grep repo
$ hdfs namenode -format
$ hdfs --daemon start namenode
$ hdfs --slaves --daemon start datanode
$ yarn --daemon start resourcemanager
$ yarn --daemon start proxyserver
$ yarn --slaves --daemon start nodemanager
{code}

Of course, you can do fancier things now that all of the -- options are 
supported on slaves.... (i.e., yarn --slaves --hosts="proxyhost" --daemon start 
proxyserver will start the proxyserver on the host proxyhost.)

I need to fix sbin/(start|stop) yet, but they'll turn into wrappers around 
these commands, eliminating about 4 levels of shell indirection vs. branch-2...

> deprecate sbin/mr-jobhistory-daemon.sh
> --------------------------------------
>
>                 Key: MAPREDUCE-6250
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6250
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>          Components: scripts
>            Reporter: Allen Wittenauer
>         Attachments: MAPREDUCE-6250-00.patch
>
>
> Functionality has been moved to bin/mapred.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to