hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e...@apache.org
Subject svn commit: r597663 - in /lucene/hadoop/trunk: CHANGES.txt src/java/org/apache/hadoop/mapred/StatusHttpServer.java
Date Fri, 23 Nov 2007 13:39:57 GMT
Author: enis
Date: Fri Nov 23 05:39:56 2007
New Revision: 597663

URL: http://svn.apache.org/viewvc?rev=597663&view=rev
Log:
HADOOP-2238.  Fix TaskGraphServlet so that it sets the content type of the response appropriately.
 Contibuted by Paul Saab.

Modified:
    lucene/hadoop/trunk/CHANGES.txt
    lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/StatusHttpServer.java

Modified: lucene/hadoop/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/CHANGES.txt?rev=597663&r1=597662&r2=597663&view=diff
==============================================================================
--- lucene/hadoop/trunk/CHANGES.txt (original)
+++ lucene/hadoop/trunk/CHANGES.txt Fri Nov 23 05:39:56 2007
@@ -183,6 +183,8 @@
     HADOOP-2246.  Moved the changelog for HADOOP-1851 from the NEW FEATURES 
     section to the INCOMPATIBLE CHANGES section. (acmurthy)
 
+    HADOOP-2238.  Fix TaskGraphServlet so that it sets the content type of 
+    the response appropriately.  (Paul Saab via enis)
 
 Release 0.15.0 - 2007-11-2
 

Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/StatusHttpServer.java
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/StatusHttpServer.java?rev=597663&r1=597662&r2=597663&view=diff
==============================================================================
--- lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/StatusHttpServer.java (original)
+++ lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/StatusHttpServer.java Fri Nov 23
05:39:56 2007
@@ -263,6 +263,8 @@
     public void doGet(HttpServletRequest request, HttpServletResponse response)
       throws ServletException, IOException {
 
+      response.setContentType("image/svg+xml");
+
       JobTracker tracker = 
         (JobTracker) getServletContext().getAttribute("job.tracker");
       



Mime
View raw message