tez-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kshu...@apache.org
Subject [tez] branch master updated: TEZ-4049. Fix findbugs issues in NotRunningJob (Jonathan Eagles via kshukla)
Date Thu, 28 Feb 2019 16:31:58 GMT
This is an automated email from the ASF dual-hosted git repository.

kshukla pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tez.git


The following commit(s) were added to refs/heads/master by this push:
     new aeb90b4  TEZ-4049. Fix findbugs issues in NotRunningJob (Jonathan Eagles via kshukla)
aeb90b4 is described below

commit aeb90b46bc69c183754f5cc4f8f29af4946b4559
Author: Kuhu Shukla <kshukla@apache.org>
AuthorDate: Thu Feb 28 10:25:42 2019 -0600

    TEZ-4049. Fix findbugs issues in NotRunningJob (Jonathan Eagles via kshukla)
---
 .../src/main/java/org/apache/tez/mapreduce/client/NotRunningJob.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tez-mapreduce/src/main/java/org/apache/tez/mapreduce/client/NotRunningJob.java
b/tez-mapreduce/src/main/java/org/apache/tez/mapreduce/client/NotRunningJob.java
index 6cd9236..8837df6 100644
--- a/tez-mapreduce/src/main/java/org/apache/tez/mapreduce/client/NotRunningJob.java
+++ b/tez-mapreduce/src/main/java/org/apache/tez/mapreduce/client/NotRunningJob.java
@@ -64,8 +64,6 @@ import org.apache.hadoop.mapreduce.v2.api.records.TaskState;
 import org.apache.hadoop.yarn.api.records.ApplicationAttemptId;
 import org.apache.hadoop.yarn.api.records.ApplicationId;
 import org.apache.hadoop.yarn.api.records.ApplicationReport;
-import org.apache.hadoop.yarn.api.records.FinalApplicationStatus;
-import org.apache.hadoop.yarn.api.records.YarnApplicationState;
 import org.apache.hadoop.yarn.factories.RecordFactory;
 import org.apache.hadoop.yarn.factory.providers.RecordFactoryProvider;
 
@@ -85,6 +83,8 @@ public class NotRunningJob implements MRClientProtocol {
         .newRecordInstance(ApplicationAttemptId.class);
 
     ApplicationReport report = recordFactory.newRecordInstance(ApplicationReport.class);
+    report.setApplicationId(unknownAppId);
+    report.setCurrentApplicationAttemptId(unknownAttemptId);
     report.setUser("N/A");
     report.setName("N/A");
     report.setDiagnostics("N/A");


Mime
View raw message