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