You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by en...@apache.org on 2007/11/23 14:39:57 UTC
svn commit: r597663 - in /lucene/hadoop/trunk: CHANGES.txt
src/java/org/apache/hadoop/mapred/StatusHttpServer.java
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");