[ https://issues.apache.org/jira/browse/HDFS-2045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13045648#comment-13045648 ]
Eric Yang commented on HDFS-2045: --------------------------------- The state of current code in trunk. Developers: # Direct source tree execution, specify HADOOP_COMMON_HOME, HADOOP_HDFS_HOME, HADOOP_MAPRED_HOME works. # Source tarball, same as 1. Ops: # Binary tarball, decompress all binary tarball to the same destination without prefix. There is no need to use environment variable. # RPM/DEB works as described in Owen's comment, no need to specify environment variables. > HADOOP_*_HOME environment variables no longer work for tar ball distributions > ----------------------------------------------------------------------------- > > Key: HDFS-2045 > URL: https://issues.apache.org/jira/browse/HDFS-2045 > Project: Hadoop HDFS > Issue Type: Bug > Reporter: Aaron T. Myers > > 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'. > \\ > \\ > As of HDFS-1963, 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. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira