浏览代码

HADOOP-2769. TestNNThroughputBnechmark should not use a fixed port for
the namenode http port.


git-svn-id: https://svn.apache.org/repos/asf/hadoop/core/trunk@629560 13f79535-47bb-0310-9956-ffa450edef68

Owen O'Malley 17 年之前
父节点
当前提交
b8e9fe6b4e
共有 2 个文件被更改,包括 5 次插入1 次删除
  1. 4 1
      CHANGES.txt
  2. 1 0
      src/test/org/apache/hadoop/dfs/TestNNThroughputBenchmark.java

+ 4 - 1
CHANGES.txt

@@ -61,7 +61,7 @@ Trunk (unreleased changes)
     HADOOP-2727. Fix links in Web UI of the hadoop daemons and some docs
     (Amareshwari Sri Ramadasu via ddas)
 
-Release 0.16.1 - Unrelease
+Release 0.16.1 - Unreleased
 
   IMPROVEMENTS
 
@@ -131,6 +131,9 @@ Release 0.16.1 - Unrelease
     HADOOP-2766. Enables setting of HADOOP_OPTS env variable for the hadoop
     daemons through HOD. (Vinod Kumar Vavilapalli via ddas)
 
+    HADOOP-2769.  TestNNThroughputBnechmark should not use a fixed port for
+    the namenode http port. (omalley)
+
 Release 0.16.0 - 2008-02-07
 
   INCOMPATIBLE CHANGES

+ 1 - 0
src/test/org/apache/hadoop/dfs/TestNNThroughputBenchmark.java

@@ -28,6 +28,7 @@ public class TestNNThroughputBenchmark extends TestCase {
   public void testNNThroughput() throws Exception {
     Configuration conf = new Configuration();
     conf.set("fs.default.name", "localhost:" + 0);
+    conf.set("dfs.http.address", "0.0.0.0:0");
     NameNode.format(conf);
     NNThroughputBenchmark.runBenchmark(conf, new String[] {"-op", "all"});
   }