ソースを参照

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

Zhijie Shen 10 年 前
コミット
08f0ae403c

+ 3 - 0
hadoop-yarn-project/CHANGES.txt

@@ -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

+ 6 - 0
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/ResourceManagerRest.md

@@ -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>