hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vino...@apache.org
Subject svn commit: r1242897 - /hadoop/common/branches/branch-0.23.1/hadoop-tools/hadoop-rumen/src/main/java/org/apache/hadoop/tools/rumen/ZombieJob.java
Date Fri, 10 Feb 2012 19:37:07 GMT
Author: vinodkv
Date: Fri Feb 10 19:37:07 2012
New Revision: 1242897

URL: http://svn.apache.org/viewvc?rev=1242897&view=rev
Log:
MAPREDUCE-3770. [Rumen] Zombie.getJobConf() results into NPE. Contributed by Amar Kamat.
svn merge --ignore-ancestry -c 1241845 ../../trunk/
Also cleand up CHANGES.txt a bit.

Modified:
    hadoop/common/branches/branch-0.23.1/hadoop-tools/hadoop-rumen/src/main/java/org/apache/hadoop/tools/rumen/ZombieJob.java

Modified: hadoop/common/branches/branch-0.23.1/hadoop-tools/hadoop-rumen/src/main/java/org/apache/hadoop/tools/rumen/ZombieJob.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.23.1/hadoop-tools/hadoop-rumen/src/main/java/org/apache/hadoop/tools/rumen/ZombieJob.java?rev=1242897&r1=1242896&r2=1242897&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.23.1/hadoop-tools/hadoop-rumen/src/main/java/org/apache/hadoop/tools/rumen/ZombieJob.java
(original)
+++ hadoop/common/branches/branch-0.23.1/hadoop-tools/hadoop-rumen/src/main/java/org/apache/hadoop/tools/rumen/ZombieJob.java
Fri Feb 10 19:37:07 2012
@@ -229,7 +229,7 @@ public class ZombieJob implements JobSto
   @Override
   public String getName() {
     JobName jobName = job.getJobName();
-    if (jobName == null) {
+    if (jobName == null || jobName.getValue() == null) {
       return "(name unknown)";
     } else {
       return jobName.getValue();



Mime
View raw message