Return-Path: Delivered-To: apmail-lucene-hadoop-commits-archive@locus.apache.org Received: (qmail 15888 invoked from network); 8 Dec 2006 01:29:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Dec 2006 01:29:46 -0000 Received: (qmail 93109 invoked by uid 500); 8 Dec 2006 01:29:55 -0000 Delivered-To: apmail-lucene-hadoop-commits-archive@lucene.apache.org Received: (qmail 93024 invoked by uid 500); 8 Dec 2006 01:29:54 -0000 Mailing-List: contact hadoop-commits-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hadoop-dev@lucene.apache.org Delivered-To: mailing list hadoop-commits@lucene.apache.org Received: (qmail 93015 invoked by uid 99); 8 Dec 2006 01:29:54 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Dec 2006 17:29:54 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Dec 2006 17:29:45 -0800 Received: by eris.apache.org (Postfix, from userid 65534) id 66D4F1A9846; Thu, 7 Dec 2006 17:29:03 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r483768 - in /lucene/hadoop/trunk: CHANGES.txt src/webapps/job/jobhistory.jsp Date: Fri, 08 Dec 2006 01:29:03 -0000 To: hadoop-commits@lucene.apache.org From: cutting@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20061208012903.66D4F1A9846@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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); } }