hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jo...@apache.org
Subject svn commit: r706177 - in /hadoop/core/trunk: CHANGES.txt src/mapred/org/apache/hadoop/mapred/JSPUtil.java src/mapred/org/apache/hadoop/mapred/JobStatus.java
Date Mon, 20 Oct 2008 09:55:42 GMT
Author: johan
Date: Mon Oct 20 02:55:42 2008
New Revision: 706177

URL: http://svn.apache.org/viewvc?rev=706177&view=rev
Log:
HADOOP-4238. If scheduling information isn't available print NA instead of empty output. (Sreekanth
Ramakrishnan via johan)

Modified:
    hadoop/core/trunk/CHANGES.txt
    hadoop/core/trunk/src/mapred/org/apache/hadoop/mapred/JSPUtil.java
    hadoop/core/trunk/src/mapred/org/apache/hadoop/mapred/JobStatus.java

Modified: hadoop/core/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/CHANGES.txt?rev=706177&r1=706176&r2=706177&view=diff
==============================================================================
--- hadoop/core/trunk/CHANGES.txt (original)
+++ hadoop/core/trunk/CHANGES.txt Mon Oct 20 02:55:42 2008
@@ -39,6 +39,9 @@
 
     HADOOP-4226. Refactor and document LineReader to make it more readily
     understandable. (Yuri Pradkin via cdouglas)
+    
+    HADOOP-4238. When listing jobs, if scheduling information isn't available 
+    print NA instead of empty output. (Sreekanth Ramakrishnan via johan)
 
   OPTIMIZATIONS
 

Modified: hadoop/core/trunk/src/mapred/org/apache/hadoop/mapred/JSPUtil.java
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/src/mapred/org/apache/hadoop/mapred/JSPUtil.java?rev=706177&r1=706176&r2=706177&view=diff
==============================================================================
--- hadoop/core/trunk/src/mapred/org/apache/hadoop/mapred/JSPUtil.java (original)
+++ hadoop/core/trunk/src/mapred/org/apache/hadoop/mapred/JSPUtil.java Mon Oct 20 02:55:42
2008
@@ -143,9 +143,6 @@
         String name = profile.getJobName();
         String jobpri = job.getPriority().toString();
         String schedulingInfo = job.getStatus().getSchedulingInfo();
-        if(schedulingInfo.trim().equals("")){
-          schedulingInfo = "   ";
-        }
 
         if (isModifiable) {
           sb.append("<tr><td><input TYPE=\"checkbox\" " +

Modified: hadoop/core/trunk/src/mapred/org/apache/hadoop/mapred/JobStatus.java
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/src/mapred/org/apache/hadoop/mapred/JobStatus.java?rev=706177&r1=706176&r2=706177&view=diff
==============================================================================
--- hadoop/core/trunk/src/mapred/org/apache/hadoop/mapred/JobStatus.java (original)
+++ hadoop/core/trunk/src/mapred/org/apache/hadoop/mapred/JobStatus.java Mon Oct 20 02:55:42
2008
@@ -57,7 +57,7 @@
   private long startTime;
   private String user;
   private JobPriority priority;
-  private String schedulingInfo="";
+  private String schedulingInfo="NA";
     
   /**
    */



Mime
View raw message