فهرست منبع

HADOOP-10717. HttpServer2 should load jsp DTD from local jars instead of going remote. Contributed by Dapeng Sun.

Haohui Mai 11 سال پیش
والد
کامیت
7e2bdd5255

+ 3 - 0
hadoop-common-project/hadoop-common/CHANGES.txt

@@ -538,6 +538,9 @@ Release 2.5.1 - 2014-09-05
     HADOOP-10956. Fix create-release script to include docs and necessary txt
     files. (kasha)
 
+    HADOOP-10717. HttpServer2 should load jsp DTD from local jars instead of
+    going remote. (Dapeng Sun via wheat9)
+
   OPTIMIZATIONS
 
   BUG FIXES

+ 5 - 0
hadoop-common-project/hadoop-common/pom.xml

@@ -104,6 +104,11 @@
       <scope>compile</scope>
     </dependency>
 
+    <dependency>
+      <groupId>javax.servlet.jsp</groupId>
+      <artifactId>jsp-api</artifactId>
+      <scope>runtime</scope>
+    </dependency>
     <dependency>
       <groupId>com.sun.jersey</groupId>
       <artifactId>jersey-core</artifactId>

+ 4 - 0
hadoop-hdfs-project/hadoop-hdfs-httpfs/pom.xml

@@ -110,6 +110,10 @@
           <groupId>javax.servlet</groupId>
           <artifactId>servlet-api</artifactId>
         </exclusion>
+        <exclusion>
+          <groupId>javax.servlet.jsp</groupId>
+          <artifactId>jsp-api</artifactId>
+        </exclusion>
         <exclusion>
           <groupId>org.mortbay.jetty</groupId>
           <artifactId>jetty</artifactId>