hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vinayakumar B (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-11668) start-dfs.sh and stop-dfs.sh no longer works in HA mode after --slaves shell option
Date Fri, 06 Mar 2015 07:13:38 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-11668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Vinayakumar B updated HADOOP-11668:
    Attachment: HADOOP-11668-04.patch

Thanks [~aw] for the detailed explanation.
Latest updated patch fixes the argument parsing problem.
Still didnt fix the end-to-end problem. Still starting of Nodes fails.

Similar treatment required in {{hadoop_common_slave_mode_execute}} to remove --slaves, --hostnames
and its values.

Attaching the patch for the same.

> 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,
> 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

View raw message