hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alejandro Abdelnur (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-7563) hadoop-config.sh setup HADOOP_HDFS_HOME and HADOOP_MAPRED_HOME incorrectly
Date Tue, 23 Aug 2011 17:22:29 GMT

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

Alejandro Abdelnur commented on HADOOP-7563:
--------------------------------------------

@Ravi, I believe the loops are a leftover from older version of Java (prior to 1.6) which
did not handle all JARs in a dir.

As you suggest, what could be done to simplify things is:

{code}
CLASSPATH="${HADOOP_CONF_DIR}"
CLASSPATH=${CLASSPATH}:$HADOOP_PREFIX
CLASSPATH=${CLASSPATH}:"$HADOOP_PREFIX/share/hadoop/common/lib"'/*'
CLASSPATH=${CLASSPATH}:"$HADOOP_PREFIX/share/hadoop/hdfs/lib"'/*'
CLASSPATH=${CLASSPATH}:"$HADOOP_PREFIX/share/hadoop/mapreduce/lib"'/*'
{code}


> hadoop-config.sh setup 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.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

        

Mime
View raw message