[
https://issues.apache.org/jira/browse/HADOOP-11668?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14350987#comment-14350987
]
Allen Wittenauer commented on HADOOP-11668:
-------------------------------------------
Oh! Good catch!
We should probably also handle the --hosts case as well. If you can update the
patch to handle that, we'll get this committed!
Thanks!
> 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
>
>
> 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)