[ 
https://issues.apache.org/jira/browse/HADOOP-7563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13089926#comment-13089926
 ] 

Eric Yang commented on HADOOP-7563:
-----------------------------------

bq. For the second CLASSPATH=, I don't that will be correctly resolved. There 
are multiple JARs at common/ level, and some of the them are test classes and 
sources. You don't want them in the classpath.

bq. IMO, the correct fix is to change the assembly as I've pointed out before 
(to have the hadoop-* artifact JAR under lib) and then do:

{noformat}
CLASSPATH=${CLASSPATH}:$HADOOP_PREFIX/share/hadoop/common/lib'/*';
{noformat}

It makes no difference because all Hadoop jars would be in common/lib'/*' 
instead of having hadoop-common-[version].jar in common/lib'/*'.  It may make 
sense to move test jar to common/test, and javadoc to common/javadoc instead.  
However, that should be a separated JIRA to fix that issue.

> 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

        

Reply via email to