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 cu...@apache.org on 2006/12/08 02:29:03 UTC

svn commit: r483768 - in /lucene/hadoop/trunk: CHANGES.txt src/webapps/job/jobhistory.jsp

Author: cutting
Date: Thu Dec  7 17:29:02 2006
New Revision: 483768

URL: http://svn.apache.org/viewvc?view=rev&rev=483768
Log:
HADOOP-770.  Fix jobtracker web interface to display, on restart, jobs that were running when it was last stopped.  Contributed by Sanjay.

Modified:
    lucene/hadoop/trunk/CHANGES.txt
    lucene/hadoop/trunk/src/webapps/job/jobhistory.jsp

Modified: lucene/hadoop/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/CHANGES.txt?view=diff&rev=483768&r1=483767&r2=483768
==============================================================================
--- lucene/hadoop/trunk/CHANGES.txt (original)
+++ lucene/hadoop/trunk/CHANGES.txt Thu Dec  7 17:29:02 2006
@@ -36,6 +36,10 @@
 10. HADOOP-756. Add new dfsadmin option to wait for filesystem to be
     operational.  (Dhruba Borthakur via cutting)
 
+11. HADOOP-770. Fix jobtracker web interface to display, on restart,
+    jobs that were running when it was last stopped.
+    (Sanjay Dahiya via cutting)
+
 
 Release 0.9.1 - 2006-12-06
 

Modified: lucene/hadoop/trunk/src/webapps/job/jobhistory.jsp
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/src/webapps/job/jobhistory.jsp?view=diff&rev=483768&r1=483767&r2=483768
==============================================================================
--- lucene/hadoop/trunk/src/webapps/job/jobhistory.jsp (original)
+++ lucene/hadoop/trunk/src/webapps/job/jobhistory.jsp Thu Dec  7 17:29:02 2006
@@ -70,7 +70,7 @@
 	  for( JobInfo job : jobs.values() ) {
 		if( null != status && status.equals(job.get(Keys.JOB_STATUS)) ) {
 		  printJob(trackerid, job, out); 
-		}else if( status == null && job.get(Keys.JOB_STATUS) == null ) {
+		}else if( status == null && job.get(Keys.JOB_STATUS).length() == 0 ) {
 		  printJob(trackerid, job, out); 
 		}
 	  }