hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cutt...@apache.org
Subject svn commit: r394988 - in /lucene/hadoop/trunk: CHANGES.txt src/webapps/mapred/jobdetails.jsp src/webapps/mapred/taskdetails.jsp
Date Tue, 18 Apr 2006 17:27:19 GMT
Author: cutting
Date: Tue Apr 18 10:27:17 2006
New Revision: 394988

URL: http://svn.apache.org/viewcvs?rev=394988&view=rev
Log:
Fix HADOOP-143.  Stop line-wrapping when displaying stack traces.  Contributed by Owen O'Malley.

Modified:
    lucene/hadoop/trunk/CHANGES.txt
    lucene/hadoop/trunk/src/webapps/mapred/jobdetails.jsp
    lucene/hadoop/trunk/src/webapps/mapred/taskdetails.jsp

Modified: lucene/hadoop/trunk/CHANGES.txt
URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/CHANGES.txt?rev=394988&r1=394987&r2=394988&view=diff
==============================================================================
--- lucene/hadoop/trunk/CHANGES.txt (original)
+++ lucene/hadoop/trunk/CHANGES.txt Tue Apr 18 10:27:17 2006
@@ -37,6 +37,9 @@
  9. Fix HADOOP-144.  Use mapred task id for dfs client id, to
     facilitate debugging.  (omalley via cutting)
 
+10. Fix HADOOP-143.  Do not line-wrap stack-traces in web ui.
+    (omalley via cutting)
+
 
 Release 0.1.1 - 2006-04-08
 

Modified: lucene/hadoop/trunk/src/webapps/mapred/jobdetails.jsp
URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/webapps/mapred/jobdetails.jsp?rev=394988&r1=394987&r2=394988&view=diff
==============================================================================
--- lucene/hadoop/trunk/src/webapps/mapred/jobdetails.jsp (original)
+++ lucene/hadoop/trunk/src/webapps/mapred/jobdetails.jsp Tue Apr 18 10:27:17 2006
@@ -57,7 +57,7 @@
       out.print("<td>"  + report.getState() + "</td>");
       String[] diagnostics = report.getDiagnostics();
       for (int j = 0; j < diagnostics.length ; j++) {
-        out.print("<td>" + diagnostics[j] + "</td>");
+        out.print("<td><pre>" + diagnostics[j] + "</pre></td>");
       }
       out.print("</tr>\n");
     }
@@ -82,7 +82,7 @@
 
       String[] diagnostics = report.getDiagnostics();
       for (int j = 0; j < diagnostics.length ; j++) {
-        out.print("<td>" + diagnostics[j] + "</td>");
+        out.print("<td><pre>" + diagnostics[j] + "</pre></td>");
       }
       out.print("</tr>\n");
     }

Modified: lucene/hadoop/trunk/src/webapps/mapred/taskdetails.jsp
URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/src/webapps/mapred/taskdetails.jsp?rev=394988&r1=394987&r2=394988&view=diff
==============================================================================
--- lucene/hadoop/trunk/src/webapps/mapred/taskdetails.jsp (original)
+++ lucene/hadoop/trunk/src/webapps/mapred/taskdetails.jsp Tue Apr 18 10:27:17 2006
@@ -57,7 +57,7 @@
       out.print("<td>");
       writeString(out, status.getRunState()); 
       out.print("</td>");
-      out.print("<td>" + status.getDiagnosticInfo() + "</td>");
+      out.print("<td><pre>" + status.getDiagnosticInfo() + "</pre></td>");
       out.print("</tr>\n");
     }
   %>



Mime
View raw message