hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dhr...@apache.org
Subject svn commit: r748024 - in /hadoop/core/trunk: CHANGES.txt src/c++/libhdfs/tests/test-libhdfs.sh
Date Thu, 26 Feb 2009 05:39:35 GMT
Author: dhruba
Date: Thu Feb 26 05:39:33 2009
New Revision: 748024

URL: http://svn.apache.org/viewvc?rev=748024&view=rev
Log:
HADOOP-5218.  libhdfs unit test failed because it was unable to 
start namenode/datanode. Fixed. (dhruba)


Modified:
    hadoop/core/trunk/CHANGES.txt
    hadoop/core/trunk/src/c++/libhdfs/tests/test-libhdfs.sh

Modified: hadoop/core/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/CHANGES.txt?rev=748024&r1=748023&r2=748024&view=diff
==============================================================================
--- hadoop/core/trunk/CHANGES.txt (original)
+++ hadoop/core/trunk/CHANGES.txt Thu Feb 26 05:39:33 2009
@@ -241,6 +241,9 @@
     HADOOP-5320. Add a close() in TestMapReduceLocal.  (Jothi Padmanabhan
     via szetszwo)
 
+    HADOOP-5218.  libhdfs unit test failed because it was unable to 
+    start namenode/datanode. Fixed. (dhruba)
+
 Release 0.20.0 - Unreleased
 
   INCOMPATIBLE CHANGES

Modified: hadoop/core/trunk/src/c++/libhdfs/tests/test-libhdfs.sh
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/src/c%2B%2B/libhdfs/tests/test-libhdfs.sh?rev=748024&r1=748023&r2=748024&view=diff
==============================================================================
--- hadoop/core/trunk/src/c++/libhdfs/tests/test-libhdfs.sh (original)
+++ hadoop/core/trunk/src/c++/libhdfs/tests/test-libhdfs.sh Thu Feb 26 05:39:33 2009
@@ -116,14 +116,14 @@
 # after the tests are complete
 cd $HADOOP_HOME
 echo Y | $HADOOP_BIN_DIR/hadoop namenode -format &&
-$HADOOP_BIN_DIR/hadoop-daemon.sh start namenode && sleep 2 && 
-$HADOOP_BIN_DIR/hadoop-daemon.sh start datanode && sleep 2 && 
+$HADOOP_BIN_DIR/hadoop-daemon.sh $HADOOP_BIN_DIR/hdfs start namenode && sleep 2 &&

+$HADOOP_BIN_DIR/hadoop-daemon.sh $HADOOP_BIN_DIR/hdfs start datanode && sleep 2 &&

 echo CLASSPATH=$HADOOP_CONF_DIR:$CLASSPATH LD_PRELOAD="$LIBHDFS_INSTALL_DIR/libhdfs.so:$LIB_JVM_DIR/libjvm.so"
$LIBHDFS_BUILD_DIR/$HDFS_TEST && 
 CLASSPATH=$HADOOP_CONF_DIR:$CLASSPATH LD_PRELOAD="$LIB_JVM_DIR/libjvm.so:$LIBHDFS_INSTALL_DIR/libhdfs.so:"
$LIBHDFS_BUILD_DIR/$HDFS_TEST
 BUILD_STATUS=$?
 sleep 3
-$HADOOP_BIN_DIR/hadoop-daemon.sh stop datanode && sleep 2 && 
-$HADOOP_BIN_DIR/hadoop-daemon.sh stop namenode && sleep 2 
+$HADOOP_BIN_DIR/hadoop-daemon.sh $HADOOP_BIN_DIR/hdfs stop datanode && sleep 2 &&

+$HADOOP_BIN_DIR/hadoop-daemon.sh $HADOOP_BIN_DIR/hdfs stop namenode && sleep 2 
 
 echo exiting with $BUILD_STATUS
 exit $BUILD_STATUS



Mime
View raw message