hadoop-common-issues mailing list archives

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

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

Eric Yang commented on HADOOP-7563:

Instruction for running in independent layout as well as merged layout.

For independent layout:

mv clean package -Pdist -Dmaven.test.skip.exec=true
export HADOOP_COMMON_HOME=`trunk/hadoop-common/target/hadoop-common-0.23.0-SNAPSHOT`
export HADOOP_HDFS_HOME=`trunk/hadoop-hdfs/target/hadoop-hdfs-0.23.0-SNAPSHOT`
# edit $HADOOP_COMMON_HOME/etc/hadoop/core-site.xml
# edit $HADOOP_HDFS_HOME/etc/hadoop/hdfs-site.xml
$HADOOP_HDFS_HOME/bin/hdfs namenode -format
$HADOOP_COMMON_HOME/sbin/hadoop-daemon.sh start namenode
$HADOOP_COMMON_HOME/sbin/hadoop-daemon.sh start datanode

For merged layout:

mv clean package -Pdist -Dtar -Dmaven.test.skip.exec=true
mkdir hadoop
cd hadoop
tar xv -skip-compoents=1 -f trunk/hadoop-common/target/hadoop-common*.tar.gz trunk/hadoop-hdfs/target/hadoop-hdfs*.tar.gz
# edit etc/hadoop/core-site.xml and hdfs-site.xml
./bin/hdfs namenode -format
./sbin/hadoop-daemon.sh start namenode
./sbin/hadoop-daemon.sh start datanode

> 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-4.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


View raw message