[
https://issues.apache.org/jira/browse/HADOOP-11590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14508534#comment-14508534
]
Vinayakumar B commented on HADOOP-11590:
----------------------------------------
Thanks [~aw] for the patch.
Some comments.
1. For '\--hostnames' and '\--hosts', if not provided, then 'slaves' file will
be used. This should be mentioned in doc.
2. Executing the below line 2 times in case of Non-HA. which is not necessary.
{code} SECONDARY_NAMENODES=$("${HADOOP_HDFS_HOME}/bin/hdfs" getconf
-secondarynamenodes 2>/dev/null){code}
3. I doubt whether yarn configurations would be loaded while getting this
configurations. Because {{hdfs getconf}} is a Hdfs tool and loads only Hdfs
configurations using {{HdfsConfiguration.init();}}. have you verified this?
{code}+HARM=$("${HADOOP_HDFS_HOME}/bin/hdfs" getconf -confKey
yarn.resourcemanager.ha.enabled 2>&-){code}
> Update sbin commands and documentation to use new --slaves option
> -----------------------------------------------------------------
>
> Key: HADOOP-11590
> URL: https://issues.apache.org/jira/browse/HADOOP-11590
> Project: Hadoop Common
> Issue Type: Bug
> Components: documentation, scripts
> Affects Versions: 3.0.0
> Reporter: Allen Wittenauer
> Assignee: Allen Wittenauer
> Priority: Blocker
> Attachments: HADOOP-11590-00.patch, HADOOP-11590-01.patch,
> HADOOP-11590-02.patch
>
>
> With HADOOP-11565 now committed, we need to remove usages of yarn-daemons.sh
> and hadoop-daemons.sh from the start and stop scripts, converting them to use
> the new --slaves option. Additionally, the documentation should be updated
> to reflect these new command options.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)