hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cdoug...@apache.org
Subject svn commit: r670785 - in /hadoop/core/trunk: CHANGES.txt src/c++/libhdfs/tests/conf/hadoop-site.xml src/c++/libhdfs/tests/test-libhdfs.sh
Date Mon, 23 Jun 2008 23:07:24 GMT
Author: cdouglas
Date: Mon Jun 23 16:07:23 2008
New Revision: 670785

URL: http://svn.apache.org/viewvc?rev=670785&view=rev
Log:
HADOOP-3559. Fix the libhdfs test script and config to work with the current
semantics. Contributed by lohit vijayarenu.

Modified:
    hadoop/core/trunk/CHANGES.txt
    hadoop/core/trunk/src/c++/libhdfs/tests/conf/hadoop-site.xml
    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=670785&r1=670784&r2=670785&view=diff
==============================================================================
--- hadoop/core/trunk/CHANGES.txt (original)
+++ hadoop/core/trunk/CHANGES.txt Mon Jun 23 16:07:23 2008
@@ -655,6 +655,9 @@
     HADOOP-3615. Set DatanodeProtocol.versionID to the correct value.
     (Tsz Wo (Nicholas), SZE via cdouglas)
 
+    HADOOP-3559. Fix the libhdfs test script and config to work with the
+    current semantics. (lohit vijayarenu via cdouglas)
+
 Release 0.17.1 - Unreleased
 
   INCOMPATIBLE CHANGES

Modified: hadoop/core/trunk/src/c++/libhdfs/tests/conf/hadoop-site.xml
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/src/c%2B%2B/libhdfs/tests/conf/hadoop-site.xml?rev=670785&r1=670784&r2=670785&view=diff
==============================================================================
--- hadoop/core/trunk/src/c++/libhdfs/tests/conf/hadoop-site.xml (original)
+++ hadoop/core/trunk/src/c++/libhdfs/tests/conf/hadoop-site.xml Mon Jun 23 16:07:23 2008
@@ -9,7 +9,7 @@
 
 <property>
   <name>hadoop.tmp.dir</name>
-  <value>../../../build/test/libhdfs</value>
+  <value>build/test/libhdfs</value>
   <description>A base for other temporary directories.</description>
 </property>
 

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=670785&r1=670784&r2=670785&view=diff
==============================================================================
--- hadoop/core/trunk/src/c++/libhdfs/tests/test-libhdfs.sh (original)
+++ hadoop/core/trunk/src/c++/libhdfs/tests/test-libhdfs.sh Mon Jun 23 16:07:23 2008
@@ -68,6 +68,7 @@
 
 # Put delays to ensure hdfs is up and running and also shuts down 
 # 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 && 



Mime
View raw message