[
https://issues.apache.org/jira/browse/HDFS-2014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13043912#comment-13043912
]
Eric Yang commented on HDFS-2014:
---------------------------------
Aaron, HADOOP_COMMON_HOME and HADOOP_HDFS_HOME are the parameters that Owen
proposed to remove for production deployment to prevent admin/user errors in
setting those environment variables. Hence, this is the reason that build
directory artifact is not suppose to interact with HADOOP_COMMON_HOME
environment variable. This change requires admin to use ant bin-package and
untar the artifacts to a common directory to run.
I will change the JIRA to your recommendation.
> RPM packages broke bin/hdfs script
> ----------------------------------
>
> Key: HDFS-2014
> URL: https://issues.apache.org/jira/browse/HDFS-2014
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: scripts
> Affects Versions: 0.23.0
> Reporter: Todd Lipcon
> Assignee: Eric Yang
> Priority: Critical
> Fix For: 0.23.0
>
> Attachments: HDFS-2014-1.patch, HDFS-2014-2.patch, HDFS-2014.patch
>
>
> bin/hdfs now appears to depend on ../libexec, which doesn't exist inside of a
> source checkout:
> todd@todd-w510:~/git/hadoop-hdfs$ ./bin/hdfs namenode
> ./bin/hdfs: line 22:
> /home/todd/git/hadoop-hdfs/bin/../libexec/hdfs-config.sh: No such file or
> directory
> ./bin/hdfs: line 138: cygpath: command not found
> ./bin/hdfs: line 161: exec: : not found
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira