You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tez.apache.org by ks...@apache.org on 2019/02/28 16:33:55 UTC
[tez] branch branch-0.9 updated: TEZ-4049. Fix findbugs issues in
NotRunningJob (Jonathan Eagles via kshukla)
This is an automated email from the ASF dual-hosted git repository.
kshukla pushed a commit to branch branch-0.9
in repository https://gitbox.apache.org/repos/asf/tez.git
The following commit(s) were added to refs/heads/branch-0.9 by this push:
new 119c1e8 TEZ-4049. Fix findbugs issues in NotRunningJob (Jonathan Eagles via kshukla)
119c1e8 is described below
commit 119c1e88550b8b1fd58ffe4d7527c69e42e30ab8
Author: Kuhu Shukla <ks...@apache.org>
AuthorDate: Thu Feb 28 10:32:28 2019 -0600
TEZ-4049. Fix findbugs issues in NotRunningJob (Jonathan Eagles via kshukla)
(cherry picked from commit aeb90b46bc69c183754f5cc4f8f29af4946b4559)
---
.../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");