[
https://issues.apache.org/jira/browse/HADOOP-7563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13090362#comment-13090362
]
Aaron T. Myers commented on HADOOP-7563:
----------------------------------------
bq. Will this patch restore the HADOOP_COMMON_HOME/HADOOP_HDFS_HOME etc shell
variables so I can untar the distro files I built with "mvn clean install
-DskipTests=true -Dtar -Pdist" into separate directories and everything will
work like it used to?
Yes it will. With this patch, plus something to address the Alfredo JAR issue,
I've been successfully able to run HDFS trunk just by doing `{{mvn clean
package -DskipTests -Pdist}}' and then pointing HADOOP_COMMON_HOME and
HADOOP_HDFS_HOME at the resulting directories, with no intermediate step of
merging the contents of those directories.
> hadoop-config.sh setup CLASSPATH, HADOOP_HDFS_HOME and HADOOP_MAPRED_HOME
> incorrectly
> -------------------------------------------------------------------------------------
>
> Key: HADOOP-7563
> URL: https://issues.apache.org/jira/browse/HADOOP-7563
> Project: Hadoop Common
> Issue Type: Bug
> Components: scripts
> Affects Versions: 0.23.0
> Reporter: Eric Yang
> Assignee: Eric Yang
> Fix For: 0.23.0
>
> Attachments: HADOOP-7563-1.patch, HADOOP-7563-2.patch,
> HADOOP-7563-3.patch, HADOOP-7563.patch
>
>
> HADOOP_HDFS_HOME and HADOOP_MAPRED_HOME was set to
> HADOOP_PREFIX/share/hadoop/hdfs and HADOOP_PREFIX/share/hadoop/mapreduce.
> This setup confuses the location of hdfs and mapred scripts. Instead the
> script should look for hdfs and mapred script in HADOOP_PREFIX/bin.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira