YARN-2206. Updated document for applications REST API response examples. Contributed by Kenji Kikushima and Brahma Reddy Battula.

This commit is contained in:
Zhijie Shen 2015-05-08 16:39:49 -07:00
parent 2fb44c8aaf
commit 08f0ae403c
2 changed files with 9 additions and 0 deletions

View File

@ -379,6 +379,9 @@ Release 2.8.0 - UNRELEASED
YARN-3473. Fix RM Web UI configuration for some properties (rchiang via rkanter)
YARN-2206. Updated document for applications REST API response examples. (Kenji
Kikushima and Brahma Reddy Battula via zjshen)
Release 2.7.1 - UNRELEASED
INCOMPATIBLE CHANGES

View File

@ -1369,6 +1369,8 @@ Response Body:
"allocatedMB" : 0,
"allocatedVCores" : 0,
"runningContainers" : 0,
"applicationType" : "MAPREDUCE",
"applicationTags" : ""
"memorySeconds" : 151730,
"vcoreSeconds" : 103
},
@ -1392,6 +1394,8 @@ Response Body:
"allocatedMB" : 0,
"allocatedVCores" : 0,
"runningContainers" : 1,
"applicationType" : "YARN",
"applicationTags" : "tag1"
"memorySeconds" : 640064,
"vcoreSeconds" : 442
}
@ -1424,6 +1428,7 @@ Response Body:
<user>user1</user>
<name>word count</name>
<applicationType>MAPREDUCE</applicationType>
<applicationTags></applicationTags>
<queue>default</queue>
<state>FINISHED</state>
<finalStatus>SUCCEEDED</finalStatus>
@ -1448,6 +1453,7 @@ Response Body:
<user>user1</user>
<name>Sleep job</name>
<applicationType>YARN</applicationType>
<applicationTags>tag1</applicationTags>
<queue>default</queue>
<state>FINISHED</state>
<finalStatus>SUCCEEDED</finalStatus>