[
https://issues.apache.org/jira/browse/HADOOP-8767?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13450882#comment-13450882
]
Andy Isaacson commented on HADOOP-8767:
---------------------------------------
bq. could you generate the patch using git --no-prefix, otherwiese i have to
provide which file to patch.
You can apply this patch with {{patch -p1}}.
{code}
diff --git a/bin/hadoop-config.sh b/bin/hadoop-config.sh
index c23cbcf..073a5fe 100644
--- a/bin/hadoop-config.sh
+++ b/bin/hadoop-config.sh
% cd branch-1
% patch -p1 < /tmp/patch_hadoop-config.sh_slaves.sh_branch1.patch
patching file bin/hadoop-config.sh
patching file bin/slaves.sh
%
{code}
Using {{--no-prefix}} makes the patch less useful to others. :)
> secondary namenode on slave machines
> ------------------------------------
>
> Key: HADOOP-8767
> URL: https://issues.apache.org/jira/browse/HADOOP-8767
> Project: Hadoop Common
> Issue Type: Bug
> Components: bin
> Affects Versions: 1.0.3
> Reporter: giovanni delussu
> Priority: Minor
> Fix For: site, 1.0.3
>
> Attachments: patch_hadoop-config.sh_hadoop-1.0.3_fromtar.patch,
> patch_hadoop-config.sh_slaves.sh_branch1.patch,
> patch_hadoop-config.sh_slaves.sh_trunk.patch,
> patch_slaves.sh_hadoop-1.0.3_fromtar.patch
>
>
> when the default value for HADOOP_SLAVES is changed in hadoop-env.sh the hdfs
> starting (with start-dfs.sh) creates secondary namenodes on all the machines
> in the file conf/slaves instead of conf/masters.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira