[
https://issues.apache.org/jira/browse/HDFS-2014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13043865#comment-13043865
]
Aaron T. Myers commented on HDFS-2014:
--------------------------------------
Eric, I totally agree. The observation I'm making is that the `bin-package'
targets don't seem to work as-is.
It used to be that you could do the following:
# Run {{`ant bin-package'}} in your hadoop-common checkout.
# Set {{HADOOP_COMMON_HOME}} to the built directory of hadoop-common.
# Run {{`ant bin-package'}} in your hadoop-hdfs checkout.
# Set {{HADOOP_HDFS_HOME}} to the built directory of hadoop-hdfs.
# Set {{PATH}} to have {{HADOOP_HDFS_HOME/bin}} and {{HADOOP_COMMON_HOME/bin}}
on it.
# Run {{`hdfs'}}.
This no longer works since {{hdfs-config.sh}} is looking in
{{HADOOP_COMMON_HOME/bin/}} for {{hadoop-config.sh}}, but it's being placed in
{{HADOOP_COMMON_HOME/libexec}}.
I realize this is somewhat different than the original observation in this
JIRA, but the two are highly related ({{hdfs-config.sh}} looking in the wrong
place for {{hadoop-config.sh}}.) Feel free to say this should be filed as a new
JIRA.
As an aside, the title of this JIRA should probably be changed to something
like "bin/hdfs no longer works from a source checkout."
> 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