[
https://issues.apache.org/jira/browse/HDFS-2014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13043454#comment-13043454
]
Eric Yang commented on HDFS-2014:
---------------------------------
Aaron, the developer setup is set HADOOP_COMMON_HOME to source code directory
rather than the built artifacts directory, hence hdfs-config.sh will pick up
HADOOP_COMMON_HOME/bin/hadoop-config.sh instead of
build/hadoop-common-x.y.z/libexec/hadoop-config.sh. Hope this helps.
> 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