YARN-481. Add AM Host and RPC Port to ApplicationCLI Status Output (Chris Riccomini via bikas)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1458065 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d2775d6795
commit
37eed0a3e1
@ -72,6 +72,9 @@ Release 2.0.5-beta - UNRELEASED
|
||||
YARN-237. Refreshing the RM page forgets how many rows I had in my
|
||||
Datatables (jian he via bobby)
|
||||
|
||||
YARN-481. Add AM Host and RPC Port to ApplicationCLI Status Output
|
||||
(Chris Riccomini via bikas)
|
||||
|
||||
OPTIMIZATIONS
|
||||
|
||||
BUG FIXES
|
||||
|
@ -153,6 +153,10 @@ private void printApplicationReport(String applicationId)
|
||||
appReportStr.println(appReport.getFinalApplicationStatus());
|
||||
appReportStr.print("\tTracking-URL : ");
|
||||
appReportStr.println(appReport.getOriginalTrackingUrl());
|
||||
appReportStr.print("\tRPC Port : ");
|
||||
appReportStr.println(appReport.getRpcPort());
|
||||
appReportStr.print("\tAM Host : ");
|
||||
appReportStr.println(appReport.getHost());
|
||||
appReportStr.print("\tDiagnostics : ");
|
||||
appReportStr.print(appReport.getDiagnostics());
|
||||
} else {
|
||||
|
@ -94,6 +94,8 @@ public void testGetApplicationReport() throws Exception {
|
||||
pw.println("\tState : FINISHED");
|
||||
pw.println("\tFinal-State : SUCCEEDED");
|
||||
pw.println("\tTracking-URL : N/A");
|
||||
pw.println("\tRPC Port : 124");
|
||||
pw.println("\tAM Host : host");
|
||||
pw.println("\tDiagnostics : diagnostics");
|
||||
pw.close();
|
||||
String appReportStr = baos.toString("UTF-8");
|
||||
|
Loading…
Reference in New Issue
Block a user