[
https://issues.apache.org/jira/browse/HADOOP-10531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13979707#comment-13979707
]
Hudson commented on HADOOP-10531:
---------------------------------
FAILURE: Integrated in Hadoop-Mapreduce-trunk #1767 (See
[https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1767/])
HADOOP-10531. hadoop-config.sh - bug in --hosts argument. Contributed by
Sebastien Barrier. (wang:
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1589530)
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
*
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/bin/hadoop-config.sh
> hadoop-config.sh - bug in --hosts argument
> ------------------------------------------
>
> Key: HADOOP-10531
> URL: https://issues.apache.org/jira/browse/HADOOP-10531
> Project: Hadoop Common
> Issue Type: Bug
> Affects Versions: 2.4.0
> Environment: Linux
> Reporter: Sebastien Barrier
> Assignee: Sebastien Barrier
> Labels: patch
> Fix For: 2.5.0
>
> Attachments: hadoop-10531-1.patch, hadoop-10531-2.patch
>
>
> I think there's a typo in the hadoop-config.sh which broke slave start in
> cluster mode.
> To reproduce it :
> /usr/local/hadoop/sbin/hadoop-daemons.sh --config /etc/hadoop/conf --hosts
> slaves start datanode
> here's the patch :
> --- hadoop-dist/target/hadoop-2.4.0/libexec/hadoop-config.sh 2014-04-22
> 12:20:45.000000000 -0400
> +++ hadoop-dist/target/hadoop-2.4.0/libexec/hadoop-config.sh 2014-04-22
> 12:21:00.000000000 -0400
> @@ -93,7 +93,7 @@
> if [ "--hosts" = "$1" ]
> then
> shift
> - export HADOOP_SLAVES="${HADOOP_CONF_DIR}/$$1"
> + export HADOOP_SLAVES="${HADOOP_CONF_DIR}/$1"
> shift
> elif [ "--hostnames" = "$1" ]
> then
--
This message was sent by Atlassian JIRA
(v6.2#6252)