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

Varun Saxena commented on YARN-2437:
------------------------------------

[~aw], what I meant in my earlier comment was "hdfs getconf" is not supported 
for YARN. hdfs getconf essentially reads hdfs-site.xml and gets a list of 
namenodes by using below command :
{code}
hdfs getconf -namenodes
{code}

Infact, even "hdfs getconf -datanodes" is not supported.
So in start-dfs.sh, we can list all the namenodes which are being started but 
cant do the same for datanodes. So you will find only "Starting datanodes" 
message when datanodes are started.

For YARN, as there is no such command, we cant get hosts info. And hence can 
only print "Starting resourcemanager" or "Starting nodemanagers".
Even in 2.4, we only printed "starting resourcemanager, logging to xxxxx"
There is a JIRA open though for implementing "yarn getconf" command.



> start-yarn.sh/stop-yarn should give info
> ----------------------------------------
>
>                 Key: YARN-2437
>                 URL: https://issues.apache.org/jira/browse/YARN-2437
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: scripts
>            Reporter: Allen Wittenauer
>            Assignee: Varun Saxena
>              Labels: newbie
>             Fix For: 2.7.0
>
>         Attachments: YARN-2437.001.patch, YARN-2437.patch
>
>
> With the merger and cleanup of the daemon launch code, yarn-daemons.sh no 
> longer prints "Starting" information.  This should be made more of an analog 
> of start-dfs.sh/stop-dfs.sh.



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

Reply via email to