hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gkesa...@apache.org
Subject svn commit: r780977 - in /hadoop/core/branches/HADOOP-4687/core: build.xml src/test/core/org/apache/hadoop/http/TestGlobalFilter.java src/test/core/org/apache/hadoop/http/TestServletFilter.java
Date Tue, 02 Jun 2009 09:11:13 GMT
Author: gkesavan
Date: Tue Jun  2 09:11:13 2009
New Revision: 780977

URL: http://svn.apache.org/viewvc?rev=780977&view=rev
Log:
Fix core test failrues 

Modified:
    hadoop/core/branches/HADOOP-4687/core/build.xml
    hadoop/core/branches/HADOOP-4687/core/src/test/core/org/apache/hadoop/http/TestGlobalFilter.java
    hadoop/core/branches/HADOOP-4687/core/src/test/core/org/apache/hadoop/http/TestServletFilter.java

Modified: hadoop/core/branches/HADOOP-4687/core/build.xml
URL: http://svn.apache.org/viewvc/hadoop/core/branches/HADOOP-4687/core/build.xml?rev=780977&r1=780976&r2=780977&view=diff
==============================================================================
--- hadoop/core/branches/HADOOP-4687/core/build.xml (original)
+++ hadoop/core/branches/HADOOP-4687/core/build.xml Tue Jun  2 09:11:13 2009
@@ -46,6 +46,7 @@
   <property name="build.dir" value="${basedir}/build"/>
   <property name="build.classes" value="${build.dir}/classes"/>
   <property name="build.src" value="${build.dir}/src"/>
+  <property name="build.webapps" value="${build.dir}/webapps"/>
 
   <!-- convert spaces to _ so that mac os doesn't break things -->
   <exec executable="sed" inputstring="${os.name}" 
@@ -227,6 +228,7 @@
     <mkdir dir="${build.dir}"/>
     <mkdir dir="${build.classes}"/>
     <mkdir dir="${build.src}"/>
+    <mkdir dir="${build.webapps}"/>
  
     <mkdir dir="${test.build.dir}"/>
     <mkdir dir="${test.build.classes}"/>

Modified: hadoop/core/branches/HADOOP-4687/core/src/test/core/org/apache/hadoop/http/TestGlobalFilter.java
URL: http://svn.apache.org/viewvc/hadoop/core/branches/HADOOP-4687/core/src/test/core/org/apache/hadoop/http/TestGlobalFilter.java?rev=780977&r1=780976&r2=780977&view=diff
==============================================================================
--- hadoop/core/branches/HADOOP-4687/core/src/test/core/org/apache/hadoop/http/TestGlobalFilter.java
(original)
+++ hadoop/core/branches/HADOOP-4687/core/src/test/core/org/apache/hadoop/http/TestGlobalFilter.java
Tue Jun  2 09:11:13 2009
@@ -101,7 +101,7 @@
     //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";

Modified: hadoop/core/branches/HADOOP-4687/core/src/test/core/org/apache/hadoop/http/TestServletFilter.java
URL: http://svn.apache.org/viewvc/hadoop/core/branches/HADOOP-4687/core/src/test/core/org/apache/hadoop/http/TestServletFilter.java?rev=780977&r1=780976&r2=780977&view=diff
==============================================================================
--- hadoop/core/branches/HADOOP-4687/core/src/test/core/org/apache/hadoop/http/TestServletFilter.java
(original)
+++ hadoop/core/branches/HADOOP-4687/core/src/test/core/org/apache/hadoop/http/TestServletFilter.java
Tue Jun  2 09:11:13 2009
@@ -99,7 +99,7 @@
     //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";



Mime
View raw message