[
https://issues.apache.org/jira/browse/HDFS-2014?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eric Yang updated HDFS-2014:
----------------------------
Attachment: HDFS-2014.patch
Restore HADOOP_COMMON_HOME and environment based control. This was removed per
Owen's request to make the system more secure without depending on environment
variables.
This revision will check for $HADOOP_PREFIX/libexec/hadoop-config.sh exists.
If libexec/hadoop-config.sh exists, it will be used. If
libexec/hadoop-config.sh does not exist, then it falls back to developer
environment setup.
> 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
> Priority: Critical
> Fix For: 0.23.0
>
> Attachments: 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