hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cutt...@apache.org
Subject svn commit: r483768 - in /lucene/hadoop/trunk: CHANGES.txt src/webapps/job/jobhistory.jsp
Date Fri, 08 Dec 2006 01:29:03 GMT
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); 
 		}
 	  }



Mime
View raw message