hadoop-hdfs-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t...@apache.org
Subject svn commit: r1132777 - in /hadoop/hdfs/branches/branch-0.22: CHANGES.txt src/test/hdfs/org/apache/hadoop/hdfs/server/namenode/metrics/TestNameNodeMetrics.java
Date Mon, 06 Jun 2011 21:20:36 GMT
Author: todd
Date: Mon Jun  6 21:20:36 2011
New Revision: 1132777

URL: http://svn.apache.org/viewvc?rev=1132777&view=rev
Log:
HDFS-2039. TestNameNodeMetrics uses a bad test root path, preventing it from running inside
Eclipse. Contributed by Todd Lipcon.

Modified:
    hadoop/hdfs/branches/branch-0.22/CHANGES.txt
    hadoop/hdfs/branches/branch-0.22/src/test/hdfs/org/apache/hadoop/hdfs/server/namenode/metrics/TestNameNodeMetrics.java

Modified: hadoop/hdfs/branches/branch-0.22/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/hdfs/branches/branch-0.22/CHANGES.txt?rev=1132777&r1=1132776&r2=1132777&view=diff
==============================================================================
--- hadoop/hdfs/branches/branch-0.22/CHANGES.txt (original)
+++ hadoop/hdfs/branches/branch-0.22/CHANGES.txt Mon Jun  6 21:20:36 2011
@@ -561,6 +561,9 @@ Release 0.22.0 - Unreleased
     HDFS-1969. Running rollback on new-version namenode destroys the
     namespace. (todd)
 
+    HDFS-2039. TestNameNodeMetrics uses a bad test root path, preventing it
+    from running inside Eclipse. (todd)
+
 Release 0.21.1 - Unreleased
 
   IMPROVEMENTS

Modified: hadoop/hdfs/branches/branch-0.22/src/test/hdfs/org/apache/hadoop/hdfs/server/namenode/metrics/TestNameNodeMetrics.java
URL: http://svn.apache.org/viewvc/hadoop/hdfs/branches/branch-0.22/src/test/hdfs/org/apache/hadoop/hdfs/server/namenode/metrics/TestNameNodeMetrics.java?rev=1132777&r1=1132776&r2=1132777&view=diff
==============================================================================
--- hadoop/hdfs/branches/branch-0.22/src/test/hdfs/org/apache/hadoop/hdfs/server/namenode/metrics/TestNameNodeMetrics.java
(original)
+++ hadoop/hdfs/branches/branch-0.22/src/test/hdfs/org/apache/hadoop/hdfs/server/namenode/metrics/TestNameNodeMetrics.java
Mon Jun  6 21:20:36 2011
@@ -45,7 +45,7 @@ public class TestNameNodeMetrics extends
   private static final Configuration CONF = new HdfsConfiguration();
   private static final int DFS_REPLICATION_INTERVAL = 1;
   private static final Path TEST_ROOT_DIR_PATH = 
-    new Path(System.getProperty("test.build.data", "build/test/data"));
+    new Path("/testNameNodeMetrics");
   
   // Number of datanodes in the cluster
   private static final int DATANODE_COUNT = 3; 



Mime
View raw message