diff --git a/build.xml b/build.xml index bc2d3a65111..5d272236dea 100644 --- a/build.xml +++ b/build.xml @@ -46,6 +46,7 @@ + + diff --git a/src/test/core/org/apache/hadoop/http/TestGlobalFilter.java b/src/test/core/org/apache/hadoop/http/TestGlobalFilter.java index 51ab60697f2..51b43120b19 100644 --- a/src/test/core/org/apache/hadoop/http/TestGlobalFilter.java +++ b/src/test/core/org/apache/hadoop/http/TestGlobalFilter.java @@ -101,7 +101,7 @@ public class TestGlobalFilter extends junit.framework.TestCase { //start a http server with CountingFilter conf.set(HttpServer.FILTER_INITIALIZER_PROPERTY, RecordingFilter.Initializer.class.getName()); - HttpServer http = new HttpServer("datanode", "localhost", 0, true, conf); + HttpServer http = new HttpServer("..", "localhost", 0, true, conf); http.start(); final String fsckURL = "/fsck"; diff --git a/src/test/core/org/apache/hadoop/http/TestServletFilter.java b/src/test/core/org/apache/hadoop/http/TestServletFilter.java index 8052f9ad492..7d4198d2a3e 100644 --- a/src/test/core/org/apache/hadoop/http/TestServletFilter.java +++ b/src/test/core/org/apache/hadoop/http/TestServletFilter.java @@ -99,7 +99,7 @@ public class TestServletFilter extends junit.framework.TestCase { //start a http server with CountingFilter conf.set(HttpServer.FILTER_INITIALIZER_PROPERTY, SimpleFilter.Initializer.class.getName()); - HttpServer http = new HttpServer("datanode", "localhost", 0, true, conf); + HttpServer http = new HttpServer("..", "localhost", 0, true, conf); http.start(); final String fsckURL = "/fsck";