YARN-8601. Print ExecutionType in Container report CLI. Contributed by Bilwa S T.
(cherry picked from commit ff06bd1be8
)
This commit is contained in:
parent
bf03b25f4b
commit
b4f957e655
|
@ -821,6 +821,8 @@ public class ApplicationCLI extends YarnCLI {
|
|||
containerReportStr.println(containerReport.getFinishTime());
|
||||
containerReportStr.print("\tState : ");
|
||||
containerReportStr.println(containerReport.getContainerState());
|
||||
containerReportStr.print("\tExecution-Type : ");
|
||||
containerReportStr.println(containerReport.getExecutionType());
|
||||
containerReportStr.print("\tLOG-URL : ");
|
||||
containerReportStr.println(containerReport.getLogUrl());
|
||||
containerReportStr.print("\tHost : ");
|
||||
|
|
|
@ -292,6 +292,7 @@ public class TestYarnCLI {
|
|||
pw.println("\tStart-Time : 1234");
|
||||
pw.println("\tFinish-Time : 5678");
|
||||
pw.println("\tState : COMPLETE");
|
||||
pw.println("\tExecution-Type : GUARANTEED");
|
||||
pw.println("\tLOG-URL : logURL");
|
||||
pw.println("\tHost : host:1234");
|
||||
pw.println("\tNodeHttpAddress : http://host:2345");
|
||||
|
|
Loading…
Reference in New Issue