[
https://issues.apache.org/jira/browse/HADOOP-11668?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14352419#comment-14352419
]
Allen Wittenauer commented on HADOOP-11668:
-------------------------------------------
Missed an update:
{code}
${hdfsscript} --slaves --daemon "${daemonmode}" "${argv[@]}"
{code}
that argv should be HADOOP_USER_PARARMS in hadoop-daemon.sh
> start-dfs.sh and stop-dfs.sh no longer works in HA mode after --slaves shell
> option
> -----------------------------------------------------------------------------------
>
> Key: HADOOP-11668
> URL: https://issues.apache.org/jira/browse/HADOOP-11668
> Project: Hadoop Common
> Issue Type: Bug
> Components: scripts
> Affects Versions: 3.0.0
> Reporter: Vinayakumar B
> Assignee: Allen Wittenauer
> Attachments: HADOOP-11668-01.patch, HADOOP-11668-02.patch,
> HADOOP-11668-03.patch, HADOOP-11668-04.patch, HADOOP-11668-05.patch
>
>
> After introduction of "--slaves" option for the scripts, start-dfs.sh and
> stop-dfs.sh will no longer work in HA mode.
> This is due to multiple hostnames passed for '--hostnames' delimited with
> space.
> These hostnames are treated as commands and script fails.
> So, instead of delimiting with space, delimiting with comma(,) before passing
> to hadoop-daemons.sh will solve the problem.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)