knox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kmin...@apache.org
Subject [1/6] KNOX-74: Support YARN REST API access via the Gateway
Date Thu, 17 Jul 2014 21:19:22 GMT
Repository: knox
Updated Branches:
  refs/heads/master 66bc41a8e -> a970502aa


http://git-wip-us.apache.org/repos/asf/knox/blob/a970502a/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-job-counters.json
----------------------------------------------------------------------
diff --git a/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-job-counters.json b/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-job-counters.json
new file mode 100644
index 0000000..7ad29fa
--- /dev/null
+++ b/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-job-counters.json
@@ -0,0 +1,307 @@
+{
+	"jobCounters":{
+		"id":"job_1399541193872_0035",
+		"counterGroup":[
+			{
+				"counterGroupName":"org.apache.hadoop.mapreduce.FileSystemCounter",
+				"counter":[
+					{
+						"name":"FILE_BYTES_READ",
+						"totalCounterValue":477928,
+						"mapCounterValue":0,
+						"reduceCounterValue":477928
+					},
+					{
+						"name":"FILE_BYTES_WRITTEN",
+						"totalCounterValue":1162489,
+						"mapCounterValue":581270,
+						"reduceCounterValue":581219
+					},
+					{
+						"name":"FILE_READ_OPS",
+						"totalCounterValue":0,
+						"mapCounterValue":0,
+						"reduceCounterValue":0
+					},
+					{
+						"name":"FILE_LARGE_READ_OPS",
+						"totalCounterValue":0,
+						"mapCounterValue":0,
+						"reduceCounterValue":0
+					},
+					{
+						"name":"FILE_WRITE_OPS",
+						"totalCounterValue":0,
+						"mapCounterValue":0,
+						"reduceCounterValue":0
+					},
+					{
+						"name":"HDFS_BYTES_READ",
+						"totalCounterValue":48,
+						"mapCounterValue":48,
+						"reduceCounterValue":0
+					},
+					{
+						"name":"HDFS_BYTES_WRITTEN",
+						"totalCounterValue":0,
+						"mapCounterValue":0,
+						"reduceCounterValue":0
+					},
+					{
+						"name":"HDFS_READ_OPS",
+						"totalCounterValue":1,
+						"mapCounterValue":1,
+						"reduceCounterValue":0
+					},
+					{
+						"name":"HDFS_LARGE_READ_OPS",
+						"totalCounterValue":0,
+						"mapCounterValue":0,
+						"reduceCounterValue":0
+					},
+					{
+						"name":"HDFS_WRITE_OPS",
+						"totalCounterValue":0,
+						"mapCounterValue":0,
+						"reduceCounterValue":0
+					}
+				]
+			},
+			{
+				"counterGroupName":"org.apache.hadoop.mapreduce.JobCounter",
+				"counter":[
+					{
+						"name":"TOTAL_LAUNCHED_MAPS",
+						"totalCounterValue":1,
+						"mapCounterValue":0,
+						"reduceCounterValue":0
+					},
+					{
+						"name":"TOTAL_LAUNCHED_REDUCES",
+						"totalCounterValue":1,
+						"mapCounterValue":0,
+						"reduceCounterValue":0
+					},
+					{
+						"name":"OTHER_LOCAL_MAPS",
+						"totalCounterValue":1,
+						"mapCounterValue":0,
+						"reduceCounterValue":0
+					},
+					{
+						"name":"SLOTS_MILLIS_MAPS",
+						"totalCounterValue":260112,
+						"mapCounterValue":0,
+						"reduceCounterValue":0
+					},
+					{
+						"name":"MILLIS_MAPS",
+						"totalCounterValue":10838,
+						"mapCounterValue":0,
+						"reduceCounterValue":0
+					},
+					{
+						"name":"VCORES_MILLIS_MAPS",
+						"totalCounterValue":10838,
+						"mapCounterValue":0,
+						"reduceCounterValue":0
+					},
+					{
+						"name":"MB_MILLIS_MAPS",
+						"totalCounterValue":16625492,
+						"mapCounterValue":0,
+						"reduceCounterValue":0
+					}
+				]
+			},
+			{
+				"counterGroupName":"org.apache.hadoop.mapreduce.TaskCounter",
+				"counter":[
+					{
+						"name":"MAP_INPUT_RECORDS",
+						"totalCounterValue":1,
+						"mapCounterValue":1,
+						"reduceCounterValue":0
+					},
+					{
+						"name":"MAP_OUTPUT_RECORDS",
+						"totalCounterValue":120000,
+						"mapCounterValue":120000,
+						"reduceCounterValue":0
+					},
+					{
+						"name":"MAP_OUTPUT_BYTES",
+						"totalCounterValue":480000,
+						"mapCounterValue":480000,
+						"reduceCounterValue":0
+					},
+					{
+						"name":"MAP_OUTPUT_MATERIALIZED_BYTES",
+						"totalCounterValue":477924,
+						"mapCounterValue":477924,
+						"reduceCounterValue":0
+					},
+					{
+						"name":"SPLIT_RAW_BYTES",
+						"totalCounterValue":48,
+						"mapCounterValue":48,
+						"reduceCounterValue":0
+					},
+					{
+						"name":"COMBINE_INPUT_RECORDS",
+						"totalCounterValue":0,
+						"mapCounterValue":0,
+						"reduceCounterValue":0
+					},
+					{
+						"name":"COMBINE_OUTPUT_RECORDS",
+						"totalCounterValue":0,
+						"mapCounterValue":0,
+						"reduceCounterValue":0
+					},
+					{
+						"name":"REDUCE_INPUT_GROUPS",
+						"totalCounterValue":108650,
+						"mapCounterValue":0,
+						"reduceCounterValue":108650
+					},
+					{
+						"name":"REDUCE_SHUFFLE_BYTES",
+						"totalCounterValue":477924,
+						"mapCounterValue":0,
+						"reduceCounterValue":477924
+					},
+					{
+						"name":"REDUCE_INPUT_RECORDS",
+						"totalCounterValue":108650,
+						"mapCounterValue":0,
+						"reduceCounterValue":108650
+					},
+					{
+						"name":"REDUCE_OUTPUT_RECORDS",
+						"totalCounterValue":0,
+						"mapCounterValue":0,
+						"reduceCounterValue":0
+					},
+					{
+						"name":"SPILLED_RECORDS",
+						"totalCounterValue":120000,
+						"mapCounterValue":120000,
+						"reduceCounterValue":0
+					},
+					{
+						"name":"SHUFFLED_MAPS",
+						"totalCounterValue":1,
+						"mapCounterValue":0,
+						"reduceCounterValue":1
+					},
+					{
+						"name":"FAILED_SHUFFLE",
+						"totalCounterValue":0,
+						"mapCounterValue":0,
+						"reduceCounterValue":0
+					},
+					{
+						"name":"MERGED_MAP_OUTPUTS",
+						"totalCounterValue":1,
+						"mapCounterValue":0,
+						"reduceCounterValue":1
+					},
+					{
+						"name":"GC_TIME_MILLIS",
+						"totalCounterValue":7207,
+						"mapCounterValue":137,
+						"reduceCounterValue":7070
+					},
+					{
+						"name":"CPU_MILLISECONDS",
+						"totalCounterValue":106630,
+						"mapCounterValue":1480,
+						"reduceCounterValue":105150
+					},
+					{
+						"name":"PHYSICAL_MEMORY_BYTES",
+						"totalCounterValue":418787328,
+						"mapCounterValue":315940864,
+						"reduceCounterValue":102846464
+					},
+					{
+						"name":"VIRTUAL_MEMORY_BYTES",
+						"totalCounterValue":4514369536,
+						"mapCounterValue":1702195200,
+						"reduceCounterValue":2812174336
+					},
+					{
+						"name":"COMMITTED_HEAP_BYTES",
+						"totalCounterValue":270733312,
+						"mapCounterValue":240259072,
+						"reduceCounterValue":30474240
+					}
+				]
+			},
+			{
+				"counterGroupName":"Shuffle Errors",
+				"counter":[
+					{
+						"name":"BAD_ID",
+						"totalCounterValue":0,
+						"mapCounterValue":0,
+						"reduceCounterValue":0
+					},
+					{
+						"name":"CONNECTION",
+						"totalCounterValue":0,
+						"mapCounterValue":0,
+						"reduceCounterValue":0
+					},
+					{
+						"name":"IO_ERROR",
+						"totalCounterValue":0,
+						"mapCounterValue":0,
+						"reduceCounterValue":0
+					},
+					{
+						"name":"WRONG_LENGTH",
+						"totalCounterValue":0,
+						"mapCounterValue":0,
+						"reduceCounterValue":0
+					},
+					{
+						"name":"WRONG_MAP",
+						"totalCounterValue":0,
+						"mapCounterValue":0,
+						"reduceCounterValue":0
+					},
+					{
+						"name":"WRONG_REDUCE",
+						"totalCounterValue":0,
+						"mapCounterValue":0,
+						"reduceCounterValue":0
+					}
+				]
+			},
+			{
+				"counterGroupName":"org.apache.hadoop.mapreduce.lib.input.FileInputFormatCounter",
+				"counter":[
+					{
+						"name":"BYTES_READ",
+						"totalCounterValue":0,
+						"mapCounterValue":0,
+						"reduceCounterValue":0
+					}
+				]
+			},
+			{
+				"counterGroupName":"org.apache.hadoop.mapreduce.lib.output.FileOutputFormatCounter",
+				"counter":[
+					{
+						"name":"BYTES_WRITTEN",
+						"totalCounterValue":0,
+						"mapCounterValue":0,
+						"reduceCounterValue":0
+					}
+				]
+			}
+		]
+	}
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/knox/blob/a970502a/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-job-counters.xml
----------------------------------------------------------------------
diff --git a/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-job-counters.xml b/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-job-counters.xml
new file mode 100644
index 0000000..8a82a40
--- /dev/null
+++ b/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-job-counters.xml
@@ -0,0 +1,313 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+<jobCounters>
+	<id>job_1399541193872_0035</id>
+	<counterGroup>
+		<counterGroupName>org.apache.hadoop.mapreduce.FileSystemCounter
+		</counterGroupName>
+		<counter>
+			<name>FILE_BYTES_READ</name>
+			<totalCounterValue>477928</totalCounterValue>
+			<mapCounterValue>0</mapCounterValue>
+			<reduceCounterValue>477928</reduceCounterValue>
+		</counter>
+		<counter>
+			<name>FILE_BYTES_WRITTEN</name>
+			<totalCounterValue>1162489</totalCounterValue>
+			<mapCounterValue>581270</mapCounterValue>
+			<reduceCounterValue>581219</reduceCounterValue>
+		</counter>
+		<counter>
+			<name>FILE_READ_OPS</name>
+			<totalCounterValue>0</totalCounterValue>
+			<mapCounterValue>0</mapCounterValue>
+			<reduceCounterValue>0</reduceCounterValue>
+		</counter>
+		<counter>
+			<name>FILE_LARGE_READ_OPS</name>
+			<totalCounterValue>0</totalCounterValue>
+			<mapCounterValue>0</mapCounterValue>
+			<reduceCounterValue>0</reduceCounterValue>
+		</counter>
+		<counter>
+			<name>FILE_WRITE_OPS</name>
+			<totalCounterValue>0</totalCounterValue>
+			<mapCounterValue>0</mapCounterValue>
+			<reduceCounterValue>0</reduceCounterValue>
+		</counter>
+		<counter>
+			<name>HDFS_BYTES_READ</name>
+			<totalCounterValue>48</totalCounterValue>
+			<mapCounterValue>48</mapCounterValue>
+			<reduceCounterValue>0</reduceCounterValue>
+		</counter>
+		<counter>
+			<name>HDFS_BYTES_WRITTEN</name>
+			<totalCounterValue>0</totalCounterValue>
+			<mapCounterValue>0</mapCounterValue>
+			<reduceCounterValue>0</reduceCounterValue>
+		</counter>
+		<counter>
+			<name>HDFS_READ_OPS</name>
+			<totalCounterValue>1</totalCounterValue>
+			<mapCounterValue>1</mapCounterValue>
+			<reduceCounterValue>0</reduceCounterValue>
+		</counter>
+		<counter>
+			<name>HDFS_LARGE_READ_OPS</name>
+			<totalCounterValue>0</totalCounterValue>
+			<mapCounterValue>0</mapCounterValue>
+			<reduceCounterValue>0</reduceCounterValue>
+		</counter>
+		<counter>
+			<name>HDFS_WRITE_OPS</name>
+			<totalCounterValue>0</totalCounterValue>
+			<mapCounterValue>0</mapCounterValue>
+			<reduceCounterValue>0</reduceCounterValue>
+		</counter>
+	</counterGroup>
+	<counterGroup>
+		<counterGroupName>org.apache.hadoop.mapreduce.JobCounter
+		</counterGroupName>
+		<counter>
+			<name>TOTAL_LAUNCHED_MAPS</name>
+			<totalCounterValue>1</totalCounterValue>
+			<mapCounterValue>0</mapCounterValue>
+			<reduceCounterValue>0</reduceCounterValue>
+		</counter>
+		<counter>
+			<name>TOTAL_LAUNCHED_REDUCES</name>
+			<totalCounterValue>1</totalCounterValue>
+			<mapCounterValue>0</mapCounterValue>
+			<reduceCounterValue>0</reduceCounterValue>
+		</counter>
+		<counter>
+			<name>OTHER_LOCAL_MAPS</name>
+			<totalCounterValue>1</totalCounterValue>
+			<mapCounterValue>0</mapCounterValue>
+			<reduceCounterValue>0</reduceCounterValue>
+		</counter>
+		<counter>
+			<name>SLOTS_MILLIS_MAPS</name>
+			<totalCounterValue>260112</totalCounterValue>
+			<mapCounterValue>0</mapCounterValue>
+			<reduceCounterValue>0</reduceCounterValue>
+		</counter>
+		<counter>
+			<name>MILLIS_MAPS</name>
+			<totalCounterValue>10838</totalCounterValue>
+			<mapCounterValue>0</mapCounterValue>
+			<reduceCounterValue>0</reduceCounterValue>
+		</counter>
+		<counter>
+			<name>VCORES_MILLIS_MAPS</name>
+			<totalCounterValue>10838</totalCounterValue>
+			<mapCounterValue>0</mapCounterValue>
+			<reduceCounterValue>0</reduceCounterValue>
+		</counter>
+		<counter>
+			<name>MB_MILLIS_MAPS</name>
+			<totalCounterValue>16625492</totalCounterValue>
+			<mapCounterValue>0</mapCounterValue>
+			<reduceCounterValue>0</reduceCounterValue>
+		</counter>
+	</counterGroup>
+	<counterGroup>
+		<counterGroupName>org.apache.hadoop.mapreduce.TaskCounter
+		</counterGroupName>
+		<counter>
+			<name>MAP_INPUT_RECORDS</name>
+			<totalCounterValue>1</totalCounterValue>
+			<mapCounterValue>1</mapCounterValue>
+			<reduceCounterValue>0</reduceCounterValue>
+		</counter>
+		<counter>
+			<name>MAP_OUTPUT_RECORDS</name>
+			<totalCounterValue>120000</totalCounterValue>
+			<mapCounterValue>120000</mapCounterValue>
+			<reduceCounterValue>0</reduceCounterValue>
+		</counter>
+		<counter>
+			<name>MAP_OUTPUT_BYTES</name>
+			<totalCounterValue>480000</totalCounterValue>
+			<mapCounterValue>480000</mapCounterValue>
+			<reduceCounterValue>0</reduceCounterValue>
+		</counter>
+		<counter>
+			<name>MAP_OUTPUT_MATERIALIZED_BYTES</name>
+			<totalCounterValue>477924</totalCounterValue>
+			<mapCounterValue>477924</mapCounterValue>
+			<reduceCounterValue>0</reduceCounterValue>
+		</counter>
+		<counter>
+			<name>SPLIT_RAW_BYTES</name>
+			<totalCounterValue>48</totalCounterValue>
+			<mapCounterValue>48</mapCounterValue>
+			<reduceCounterValue>0</reduceCounterValue>
+		</counter>
+		<counter>
+			<name>COMBINE_INPUT_RECORDS</name>
+			<totalCounterValue>0</totalCounterValue>
+			<mapCounterValue>0</mapCounterValue>
+			<reduceCounterValue>0</reduceCounterValue>
+		</counter>
+		<counter>
+			<name>COMBINE_OUTPUT_RECORDS</name>
+			<totalCounterValue>0</totalCounterValue>
+			<mapCounterValue>0</mapCounterValue>
+			<reduceCounterValue>0</reduceCounterValue>
+		</counter>
+		<counter>
+			<name>REDUCE_INPUT_GROUPS</name>
+			<totalCounterValue>109375</totalCounterValue>
+			<mapCounterValue>0</mapCounterValue>
+			<reduceCounterValue>109375</reduceCounterValue>
+		</counter>
+		<counter>
+			<name>REDUCE_SHUFFLE_BYTES</name>
+			<totalCounterValue>477924</totalCounterValue>
+			<mapCounterValue>0</mapCounterValue>
+			<reduceCounterValue>477924</reduceCounterValue>
+		</counter>
+		<counter>
+			<name>REDUCE_INPUT_RECORDS</name>
+			<totalCounterValue>109375</totalCounterValue>
+			<mapCounterValue>0</mapCounterValue>
+			<reduceCounterValue>109375</reduceCounterValue>
+		</counter>
+		<counter>
+			<name>REDUCE_OUTPUT_RECORDS</name>
+			<totalCounterValue>0</totalCounterValue>
+			<mapCounterValue>0</mapCounterValue>
+			<reduceCounterValue>0</reduceCounterValue>
+		</counter>
+		<counter>
+			<name>SPILLED_RECORDS</name>
+			<totalCounterValue>120000</totalCounterValue>
+			<mapCounterValue>120000</mapCounterValue>
+			<reduceCounterValue>0</reduceCounterValue>
+		</counter>
+		<counter>
+			<name>SHUFFLED_MAPS</name>
+			<totalCounterValue>1</totalCounterValue>
+			<mapCounterValue>0</mapCounterValue>
+			<reduceCounterValue>1</reduceCounterValue>
+		</counter>
+		<counter>
+			<name>FAILED_SHUFFLE</name>
+			<totalCounterValue>0</totalCounterValue>
+			<mapCounterValue>0</mapCounterValue>
+			<reduceCounterValue>0</reduceCounterValue>
+		</counter>
+		<counter>
+			<name>MERGED_MAP_OUTPUTS</name>
+			<totalCounterValue>1</totalCounterValue>
+			<mapCounterValue>0</mapCounterValue>
+			<reduceCounterValue>1</reduceCounterValue>
+		</counter>
+		<counter>
+			<name>GC_TIME_MILLIS</name>
+			<totalCounterValue>7249</totalCounterValue>
+			<mapCounterValue>137</mapCounterValue>
+			<reduceCounterValue>7112</reduceCounterValue>
+		</counter>
+		<counter>
+			<name>CPU_MILLISECONDS</name>
+			<totalCounterValue>107300</totalCounterValue>
+			<mapCounterValue>1480</mapCounterValue>
+			<reduceCounterValue>105820</reduceCounterValue>
+		</counter>
+		<counter>
+			<name>PHYSICAL_MEMORY_BYTES</name>
+			<totalCounterValue>418811904</totalCounterValue>
+			<mapCounterValue>315940864</mapCounterValue>
+			<reduceCounterValue>102871040</reduceCounterValue>
+		</counter>
+		<counter>
+			<name>VIRTUAL_MEMORY_BYTES</name>
+			<totalCounterValue>4514369536</totalCounterValue>
+			<mapCounterValue>1702195200</mapCounterValue>
+			<reduceCounterValue>2812174336</reduceCounterValue>
+		</counter>
+		<counter>
+			<name>COMMITTED_HEAP_BYTES</name>
+			<totalCounterValue>270733312</totalCounterValue>
+			<mapCounterValue>240259072</mapCounterValue>
+			<reduceCounterValue>30474240</reduceCounterValue>
+		</counter>
+	</counterGroup>
+	<counterGroup>
+		<counterGroupName>Shuffle Errors</counterGroupName>
+		<counter>
+			<name>BAD_ID</name>
+			<totalCounterValue>0</totalCounterValue>
+			<mapCounterValue>0</mapCounterValue>
+			<reduceCounterValue>0</reduceCounterValue>
+		</counter>
+		<counter>
+			<name>CONNECTION</name>
+			<totalCounterValue>0</totalCounterValue>
+			<mapCounterValue>0</mapCounterValue>
+			<reduceCounterValue>0</reduceCounterValue>
+		</counter>
+		<counter>
+			<name>IO_ERROR</name>
+			<totalCounterValue>0</totalCounterValue>
+			<mapCounterValue>0</mapCounterValue>
+			<reduceCounterValue>0</reduceCounterValue>
+		</counter>
+		<counter>
+			<name>WRONG_LENGTH</name>
+			<totalCounterValue>0</totalCounterValue>
+			<mapCounterValue>0</mapCounterValue>
+			<reduceCounterValue>0</reduceCounterValue>
+		</counter>
+		<counter>
+			<name>WRONG_MAP</name>
+			<totalCounterValue>0</totalCounterValue>
+			<mapCounterValue>0</mapCounterValue>
+			<reduceCounterValue>0</reduceCounterValue>
+		</counter>
+		<counter>
+			<name>WRONG_REDUCE</name>
+			<totalCounterValue>0</totalCounterValue>
+			<mapCounterValue>0</mapCounterValue>
+			<reduceCounterValue>0</reduceCounterValue>
+		</counter>
+	</counterGroup>
+	<counterGroup>
+		<counterGroupName>org.apache.hadoop.mapreduce.lib.input.FileInputFormatCounter
+		</counterGroupName>
+		<counter>
+			<name>BYTES_READ</name>
+			<totalCounterValue>0</totalCounterValue>
+			<mapCounterValue>0</mapCounterValue>
+			<reduceCounterValue>0</reduceCounterValue>
+		</counter>
+	</counterGroup>
+	<counterGroup>
+		<counterGroupName>org.apache.hadoop.mapreduce.lib.output.FileOutputFormatCounter
+		</counterGroupName>
+		<counter>
+			<name>BYTES_WRITTEN</name>
+			<totalCounterValue>0</totalCounterValue>
+			<mapCounterValue>0</mapCounterValue>
+			<reduceCounterValue>0</reduceCounterValue>
+		</counter>
+	</counterGroup>
+</jobCounters>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/knox/blob/a970502a/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-job.json
----------------------------------------------------------------------
diff --git a/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-job.json b/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-job.json
new file mode 100644
index 0000000..42a6953
--- /dev/null
+++ b/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-job.json
@@ -0,0 +1,33 @@
+{
+	"job":{
+		"startTime":1401199825397,
+		"finishTime":0,
+		"elapsedTime":10573843,
+		"id":"job_1399541193872_0035",
+		"name":"Sleep job",
+		"user":"hdfs",
+		"state":"RUNNING",
+		"mapsTotal":1,
+		"mapsCompleted":1,
+		"reducesTotal":1,
+		"reducesCompleted":0,
+		"mapProgress":100.0,
+		"reduceProgress":86.803696,
+		"mapsPending":0,
+		"mapsRunning":0,
+		"reducesPending":0,
+		"reducesRunning":1,
+		"uberized":false,
+		"diagnostics":"",
+		"newReduceAttempts":0,
+		"runningReduceAttempts":1,
+		"failedReduceAttempts":0,
+		"killedReduceAttempts":0,
+		"successfulReduceAttempts":0,
+		"newMapAttempts":0,
+		"runningMapAttempts":0,
+		"failedMapAttempts":0,
+		"killedMapAttempts":0,
+		"successfulMapAttempts":1
+	}
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/knox/blob/a970502a/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-job.xml
----------------------------------------------------------------------
diff --git a/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-job.xml b/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-job.xml
new file mode 100644
index 0000000..c0c1bc1
--- /dev/null
+++ b/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-job.xml
@@ -0,0 +1,48 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+<job>
+	<startTime>1401199825397</startTime>
+	<finishTime>0</finishTime>
+	<elapsedTime>10493588</elapsedTime>
+	<id>job_1399541193872_0035</id>
+	<name>Sleep job</name>
+	<user>hdfs</user>
+	<state>RUNNING</state>
+	<mapsTotal>1</mapsTotal>
+	<mapsCompleted>1</mapsCompleted>
+	<reducesTotal>1</reducesTotal>
+	<reducesCompleted>0</reducesCompleted>
+	<mapProgress>100.0</mapProgress>
+	<reduceProgress>86.803696</reduceProgress>
+	<mapsPending>0</mapsPending>
+	<mapsRunning>0</mapsRunning>
+	<reducesPending>0</reducesPending>
+	<reducesRunning>1</reducesRunning>
+	<uberized>false</uberized>
+	<diagnostics></diagnostics>
+	<newReduceAttempts>0</newReduceAttempts>
+	<runningReduceAttempts>1</runningReduceAttempts>
+	<failedReduceAttempts>0</failedReduceAttempts>
+	<killedReduceAttempts>0</killedReduceAttempts>
+	<successfulReduceAttempts>0</successfulReduceAttempts>
+	<newMapAttempts>0</newMapAttempts>
+	<runningMapAttempts>0</runningMapAttempts>
+	<failedMapAttempts>0</failedMapAttempts>
+	<killedMapAttempts>0</killedMapAttempts>
+	<successfulMapAttempts>1</successfulMapAttempts>
+</job>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/knox/blob/a970502a/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-jobs.json
----------------------------------------------------------------------
diff --git a/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-jobs.json b/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-jobs.json
new file mode 100644
index 0000000..34f708b
--- /dev/null
+++ b/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-jobs.json
@@ -0,0 +1,37 @@
+{
+	"jobs":{
+		"job":[
+			{
+				"startTime":1401199825397,
+				"finishTime":0,
+				"elapsedTime":10152389,
+				"id":"job_1399541193872_0035",
+				"name":"Sleep job",
+				"user":"hdfs",
+				"state":"RUNNING",
+				"mapsTotal":1,
+				"mapsCompleted":1,
+				"reducesTotal":1,
+				"reducesCompleted":0,
+				"mapProgress":100.0,
+				"reduceProgress":86.803696,
+				"mapsPending":0,
+				"mapsRunning":0,
+				"reducesPending":0,
+				"reducesRunning":1,
+				"uberized":false,
+				"diagnostics":"",
+				"newReduceAttempts":0,
+				"runningReduceAttempts":1,
+				"failedReduceAttempts":0,
+				"killedReduceAttempts":0,
+				"successfulReduceAttempts":0,
+				"newMapAttempts":0,
+				"runningMapAttempts":0,
+				"failedMapAttempts":0,
+				"killedMapAttempts":0,
+				"successfulMapAttempts":1
+			}
+		]
+	}
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/knox/blob/a970502a/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-jobs.xml
----------------------------------------------------------------------
diff --git a/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-jobs.xml b/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-jobs.xml
new file mode 100644
index 0000000..772f6b9
--- /dev/null
+++ b/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-jobs.xml
@@ -0,0 +1,50 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+<jobs>
+	<job>
+		<startTime>1401199825397</startTime>
+		<finishTime>0</finishTime>
+		<elapsedTime>10188267</elapsedTime>
+		<id>job_1399541193872_0035</id>
+		<name>Sleep job</name>
+		<user>hdfs</user>
+		<state>RUNNING</state>
+		<mapsTotal>1</mapsTotal>
+		<mapsCompleted>1</mapsCompleted>
+		<reducesTotal>1</reducesTotal>
+		<reducesCompleted>0</reducesCompleted>
+		<mapProgress>100.0</mapProgress>
+		<reduceProgress>86.803696</reduceProgress>
+		<mapsPending>0</mapsPending>
+		<mapsRunning>0</mapsRunning>
+		<reducesPending>0</reducesPending>
+		<reducesRunning>1</reducesRunning>
+		<uberized>false</uberized>
+		<diagnostics></diagnostics>
+		<newReduceAttempts>0</newReduceAttempts>
+		<runningReduceAttempts>1</runningReduceAttempts>
+		<failedReduceAttempts>0</failedReduceAttempts>
+		<killedReduceAttempts>0</killedReduceAttempts>
+		<successfulReduceAttempts>0</successfulReduceAttempts>
+		<newMapAttempts>0</newMapAttempts>
+		<runningMapAttempts>0</runningMapAttempts>
+		<failedMapAttempts>0</failedMapAttempts>
+		<killedMapAttempts>0</killedMapAttempts>
+		<successfulMapAttempts>1</successfulMapAttempts>
+	</job>
+</jobs>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/knox/blob/a970502a/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-task-attempt-counters.json
----------------------------------------------------------------------
diff --git a/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-task-attempt-counters.json b/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-task-attempt-counters.json
new file mode 100644
index 0000000..9b806ea
--- /dev/null
+++ b/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-task-attempt-counters.json
@@ -0,0 +1,155 @@
+{
+	"jobTaskAttemptCounters":{
+		"id":"attempt_1399541193872_0036_r_000000_0",
+		"taskAttemptCounterGroup":[
+			{
+				"counterGroupName":"org.apache.hadoop.mapreduce.FileSystemCounter",
+				"counter":[
+					{
+						"name":"FILE_BYTES_READ",
+						"value":655360
+					},
+					{
+						"name":"FILE_BYTES_WRITTEN",
+						"value":4883518
+					},
+					{
+						"name":"FILE_READ_OPS",
+						"value":0
+					},
+					{
+						"name":"FILE_LARGE_READ_OPS",
+						"value":0
+					},
+					{
+						"name":"FILE_WRITE_OPS",
+						"value":0
+					},
+					{
+						"name":"HDFS_BYTES_READ",
+						"value":0
+					},
+					{
+						"name":"HDFS_BYTES_WRITTEN",
+						"value":0
+					},
+					{
+						"name":"HDFS_READ_OPS",
+						"value":0
+					},
+					{
+						"name":"HDFS_LARGE_READ_OPS",
+						"value":0
+					},
+					{
+						"name":"HDFS_WRITE_OPS",
+						"value":0
+					}
+				]
+			},
+			{
+				"counterGroupName":"org.apache.hadoop.mapreduce.TaskCounter",
+				"counter":[
+					{
+						"name":"COMBINE_INPUT_RECORDS",
+						"value":0
+					},
+					{
+						"name":"COMBINE_OUTPUT_RECORDS",
+						"value":0
+					},
+					{
+						"name":"REDUCE_INPUT_GROUPS",
+						"value":118653
+					},
+					{
+						"name":"REDUCE_SHUFFLE_BYTES",
+						"value":4780221
+					},
+					{
+						"name":"REDUCE_INPUT_RECORDS",
+						"value":118653
+					},
+					{
+						"name":"REDUCE_OUTPUT_RECORDS",
+						"value":0
+					},
+					{
+						"name":"SPILLED_RECORDS",
+						"value":0
+					},
+					{
+						"name":"SHUFFLED_MAPS",
+						"value":1
+					},
+					{
+						"name":"FAILED_SHUFFLE",
+						"value":0
+					},
+					{
+						"name":"MERGED_MAP_OUTPUTS",
+						"value":1
+					},
+					{
+						"name":"GC_TIME_MILLIS",
+						"value":7223
+					},
+					{
+						"name":"CPU_MILLISECONDS",
+						"value":106990
+					},
+					{
+						"name":"PHYSICAL_MEMORY_BYTES",
+						"value":110182400
+					},
+					{
+						"name":"VIRTUAL_MEMORY_BYTES",
+						"value":2812141568
+					},
+					{
+						"name":"COMMITTED_HEAP_BYTES",
+						"value":30474240
+					}
+				]
+			},
+			{
+				"counterGroupName":"Shuffle Errors",
+				"counter":[
+					{
+						"name":"BAD_ID",
+						"value":0
+					},
+					{
+						"name":"CONNECTION",
+						"value":0
+					},
+					{
+						"name":"IO_ERROR",
+						"value":0
+					},
+					{
+						"name":"WRONG_LENGTH",
+						"value":0
+					},
+					{
+						"name":"WRONG_MAP",
+						"value":0
+					},
+					{
+						"name":"WRONG_REDUCE",
+						"value":0
+					}
+				]
+			},
+			{
+				"counterGroupName":"org.apache.hadoop.mapreduce.lib.output.FileOutputFormatCounter",
+				"counter":[
+					{
+						"name":"BYTES_WRITTEN",
+						"value":0
+					}
+				]
+			}
+		]
+	}
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/knox/blob/a970502a/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-task-attempt-counters.xml
----------------------------------------------------------------------
diff --git a/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-task-attempt-counters.xml b/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-task-attempt-counters.xml
new file mode 100644
index 0000000..5019ecd
--- /dev/null
+++ b/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-task-attempt-counters.xml
@@ -0,0 +1,163 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+<jobTaskAttemptCounters>
+	<id>attempt_1399541193872_0036_r_000000_0</id>
+	<taskAttemptCounterGroup>
+		<counterGroupName>org.apache.hadoop.mapreduce.FileSystemCounter
+		</counterGroupName>
+		<counter>
+			<name>FILE_BYTES_READ</name>
+			<value>655360</value>
+		</counter>
+		<counter>
+			<name>FILE_BYTES_WRITTEN</name>
+			<value>4883518</value>
+		</counter>
+		<counter>
+			<name>FILE_READ_OPS</name>
+			<value>0</value>
+		</counter>
+		<counter>
+			<name>FILE_LARGE_READ_OPS</name>
+			<value>0</value>
+		</counter>
+		<counter>
+			<name>FILE_WRITE_OPS</name>
+			<value>0</value>
+		</counter>
+		<counter>
+			<name>HDFS_BYTES_READ</name>
+			<value>0</value>
+		</counter>
+		<counter>
+			<name>HDFS_BYTES_WRITTEN</name>
+			<value>0</value>
+		</counter>
+		<counter>
+			<name>HDFS_READ_OPS</name>
+			<value>0</value>
+		</counter>
+		<counter>
+			<name>HDFS_LARGE_READ_OPS</name>
+			<value>0</value>
+		</counter>
+		<counter>
+			<name>HDFS_WRITE_OPS</name>
+			<value>0</value>
+		</counter>
+	</taskAttemptCounterGroup>
+	<taskAttemptCounterGroup>
+		<counterGroupName>org.apache.hadoop.mapreduce.TaskCounter
+		</counterGroupName>
+		<counter>
+			<name>COMBINE_INPUT_RECORDS</name>
+			<value>0</value>
+		</counter>
+		<counter>
+			<name>COMBINE_OUTPUT_RECORDS</name>
+			<value>0</value>
+		</counter>
+		<counter>
+			<name>REDUCE_INPUT_GROUPS</name>
+			<value>109953</value>
+		</counter>
+		<counter>
+			<name>REDUCE_SHUFFLE_BYTES</name>
+			<value>4780221</value>
+		</counter>
+		<counter>
+			<name>REDUCE_INPUT_RECORDS</name>
+			<value>109953</value>
+		</counter>
+		<counter>
+			<name>REDUCE_OUTPUT_RECORDS</name>
+			<value>0</value>
+		</counter>
+		<counter>
+			<name>SPILLED_RECORDS</name>
+			<value>0</value>
+		</counter>
+		<counter>
+			<name>SHUFFLED_MAPS</name>
+			<value>1</value>
+		</counter>
+		<counter>
+			<name>FAILED_SHUFFLE</name>
+			<value>0</value>
+		</counter>
+		<counter>
+			<name>MERGED_MAP_OUTPUTS</name>
+			<value>1</value>
+		</counter>
+		<counter>
+			<name>GC_TIME_MILLIS</name>
+			<value>6722</value>
+		</counter>
+		<counter>
+			<name>CPU_MILLISECONDS</name>
+			<value>99330</value>
+		</counter>
+		<counter>
+			<name>PHYSICAL_MEMORY_BYTES</name>
+			<value>110190592</value>
+		</counter>
+		<counter>
+			<name>VIRTUAL_MEMORY_BYTES</name>
+			<value>2812141568</value>
+		</counter>
+		<counter>
+			<name>COMMITTED_HEAP_BYTES</name>
+			<value>30474240</value>
+		</counter>
+	</taskAttemptCounterGroup>
+	<taskAttemptCounterGroup>
+		<counterGroupName>Shuffle Errors</counterGroupName>
+		<counter>
+			<name>BAD_ID</name>
+			<value>0</value>
+		</counter>
+		<counter>
+			<name>CONNECTION</name>
+			<value>0</value>
+		</counter>
+		<counter>
+			<name>IO_ERROR</name>
+			<value>0</value>
+		</counter>
+		<counter>
+			<name>WRONG_LENGTH</name>
+			<value>0</value>
+		</counter>
+		<counter>
+			<name>WRONG_MAP</name>
+			<value>0</value>
+		</counter>
+		<counter>
+			<name>WRONG_REDUCE</name>
+			<value>0</value>
+		</counter>
+	</taskAttemptCounterGroup>
+	<taskAttemptCounterGroup>
+		<counterGroupName>org.apache.hadoop.mapreduce.lib.output.FileOutputFormatCounter
+		</counterGroupName>
+		<counter>
+			<name>BYTES_WRITTEN</name>
+			<value>0</value>
+		</counter>
+	</taskAttemptCounterGroup>
+</jobTaskAttemptCounters>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/knox/blob/a970502a/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-task-attempt.json
----------------------------------------------------------------------
diff --git a/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-task-attempt.json b/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-task-attempt.json
new file mode 100644
index 0000000..69bc6a5
--- /dev/null
+++ b/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-task-attempt.json
@@ -0,0 +1,21 @@
+{
+	"taskAttempt":{
+		"startTime":1401273289105,
+		"finishTime":0,
+		"elapsedTime":0,
+		"progress":68.680374,
+		"id":"attempt_1399541193872_0036_r_000000_0",
+		"rack":"/default-rack",
+		"state":"RUNNING",
+		"status":"Sleeping... (109692800) ms left > reduce",
+		"nodeHttpAddress":"host.yarn.com:50060",
+		"diagnostics":"",
+		"type":"REDUCE",
+		"assignedContainerId":"container_1399541193872_0036_01_000003",
+		"shuffleFinishTime":1401273296009,
+		"mergeFinishTime":1401273296736,
+		"elapsedShuffleTime":6904,
+		"elapsedMergeTime":727,
+		"elapsedReduceTime":0
+	}
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/knox/blob/a970502a/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-task-attempt.xml
----------------------------------------------------------------------
diff --git a/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-task-attempt.xml b/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-task-attempt.xml
new file mode 100644
index 0000000..4f99117
--- /dev/null
+++ b/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-task-attempt.xml
@@ -0,0 +1,37 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+<taskAttempt>
+	<startTime>1401273289105</startTime>
+	<finishTime>0</finishTime>
+	<elapsedTime>0</elapsedTime>
+	<progress>68.680374</progress>
+	<id>attempt_1399541193872_0036_r_000000_0</id>
+	<rack>/default-rack</rack>
+	<state>RUNNING</state>
+	<status>Sleeping... (109200400) ms left &gt; reduce</status>
+	<nodeHttpAddress>hdp.example.com:50060</nodeHttpAddress>
+	<diagnostics></diagnostics>
+	<type>REDUCE</type>
+	<assignedContainerId>container_1399541193872_0036_01_000003
+	</assignedContainerId>
+	<shuffleFinishTime>1401273296009</shuffleFinishTime>
+	<mergeFinishTime>1401273296736</mergeFinishTime>
+	<elapsedShuffleTime>6904</elapsedShuffleTime>
+	<elapsedMergeTime>727</elapsedMergeTime>
+	<elapsedReduceTime>0</elapsedReduceTime>
+</taskAttempt>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/knox/blob/a970502a/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-task-attempts.json
----------------------------------------------------------------------
diff --git a/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-task-attempts.json b/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-task-attempts.json
new file mode 100644
index 0000000..31ffeb8
--- /dev/null
+++ b/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-task-attempts.json
@@ -0,0 +1,26 @@
+{
+	"taskAttempts":{
+		"taskAttempt":[
+			{
+				"type":"reduceTaskAttemptInfo",
+				"startTime":1401273289105,
+				"finishTime":0,
+				"elapsedTime":0,
+				"progress":68.680374,
+				"id":"attempt_1399541193872_0036_r_000000_0",
+				"rack":"/default-rack",
+				"state":"RUNNING",
+				"status":"Sleeping... (110404400) ms left > reduce",
+				"nodeHttpAddress":"host.yarn.com:50060",
+				"diagnostics":"",
+				"type":"REDUCE",
+				"assignedContainerId":"container_1399541193872_0036_01_000003",
+				"shuffleFinishTime":1401273296009,
+				"mergeFinishTime":1401273296736,
+				"elapsedShuffleTime":6904,
+				"elapsedMergeTime":727,
+				"elapsedReduceTime":0
+			}
+		]
+	}
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/knox/blob/a970502a/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-task-attempts.xml
----------------------------------------------------------------------
diff --git a/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-task-attempts.xml b/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-task-attempts.xml
new file mode 100644
index 0000000..3de9457
--- /dev/null
+++ b/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-task-attempts.xml
@@ -0,0 +1,40 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+<taskAttempts>
+	<taskAttempt xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+		xsi:type="reduceTaskAttemptInfo">
+		<startTime>1401273289105</startTime>
+		<finishTime>0</finishTime>
+		<elapsedTime>0</elapsedTime>
+		<progress>68.680374</progress>
+		<id>attempt_1399541193872_0036_r_000000_0</id>
+		<rack>/default-rack</rack>
+		<state>RUNNING</state>
+		<status>Sleeping... (110792700) ms left &gt; reduce</status>
+		<nodeHttpAddress>host.yarn.com:50060</nodeHttpAddress>
+		<diagnostics></diagnostics>
+		<type>REDUCE</type>
+		<assignedContainerId>container_1399541193872_0036_01_000003
+		</assignedContainerId>
+		<shuffleFinishTime>1401273296009</shuffleFinishTime>
+		<mergeFinishTime>1401273296736</mergeFinishTime>
+		<elapsedShuffleTime>6904</elapsedShuffleTime>
+		<elapsedMergeTime>727</elapsedMergeTime>
+		<elapsedReduceTime>0</elapsedReduceTime>
+	</taskAttempt>
+</taskAttempts>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/knox/blob/a970502a/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-task-counters.json
----------------------------------------------------------------------
diff --git a/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-task-counters.json b/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-task-counters.json
new file mode 100644
index 0000000..fa13d8a
--- /dev/null
+++ b/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-task-counters.json
@@ -0,0 +1,155 @@
+{
+	"jobTaskCounters":{
+		"id":"task_1399541193872_0036_r_000000",
+		"taskCounterGroup":[
+			{
+				"counterGroupName":"org.apache.hadoop.mapreduce.FileSystemCounter",
+				"counter":[
+					{
+						"name":"FILE_BYTES_READ",
+						"value":393216
+					},
+					{
+						"name":"FILE_BYTES_WRITTEN",
+						"value":4883518
+					},
+					{
+						"name":"FILE_READ_OPS",
+						"value":0
+					},
+					{
+						"name":"FILE_LARGE_READ_OPS",
+						"value":0
+					},
+					{
+						"name":"FILE_WRITE_OPS",
+						"value":0
+					},
+					{
+						"name":"HDFS_BYTES_READ",
+						"value":0
+					},
+					{
+						"name":"HDFS_BYTES_WRITTEN",
+						"value":0
+					},
+					{
+						"name":"HDFS_READ_OPS",
+						"value":0
+					},
+					{
+						"name":"HDFS_LARGE_READ_OPS",
+						"value":0
+					},
+					{
+						"name":"HDFS_WRITE_OPS",
+						"value":0
+					}
+				]
+			},
+			{
+				"counterGroupName":"org.apache.hadoop.mapreduce.TaskCounter",
+				"counter":[
+					{
+						"name":"COMBINE_INPUT_RECORDS",
+						"value":0
+					},
+					{
+						"name":"COMBINE_OUTPUT_RECORDS",
+						"value":0
+					},
+					{
+						"name":"REDUCE_INPUT_GROUPS",
+						"value":68609
+					},
+					{
+						"name":"REDUCE_SHUFFLE_BYTES",
+						"value":4780221
+					},
+					{
+						"name":"REDUCE_INPUT_RECORDS",
+						"value":68609
+					},
+					{
+						"name":"REDUCE_OUTPUT_RECORDS",
+						"value":0
+					},
+					{
+						"name":"SPILLED_RECORDS",
+						"value":0
+					},
+					{
+						"name":"SHUFFLED_MAPS",
+						"value":1
+					},
+					{
+						"name":"FAILED_SHUFFLE",
+						"value":0
+					},
+					{
+						"name":"MERGED_MAP_OUTPUTS",
+						"value":1
+					},
+					{
+						"name":"GC_TIME_MILLIS",
+						"value":4356
+					},
+					{
+						"name":"CPU_MILLISECONDS",
+						"value":67070
+					},
+					{
+						"name":"PHYSICAL_MEMORY_BYTES",
+						"value":110243840
+					},
+					{
+						"name":"VIRTUAL_MEMORY_BYTES",
+						"value":2812141568
+					},
+					{
+						"name":"COMMITTED_HEAP_BYTES",
+						"value":30474240
+					}
+				]
+			},
+			{
+				"counterGroupName":"Shuffle Errors",
+				"counter":[
+					{
+						"name":"BAD_ID",
+						"value":0
+					},
+					{
+						"name":"CONNECTION",
+						"value":0
+					},
+					{
+						"name":"IO_ERROR",
+						"value":0
+					},
+					{
+						"name":"WRONG_LENGTH",
+						"value":0
+					},
+					{
+						"name":"WRONG_MAP",
+						"value":0
+					},
+					{
+						"name":"WRONG_REDUCE",
+						"value":0
+					}
+				]
+			},
+			{
+				"counterGroupName":"org.apache.hadoop.mapreduce.lib.output.FileOutputFormatCounter",
+				"counter":[
+					{
+						"name":"BYTES_WRITTEN",
+						"value":0
+					}
+				]
+			}
+		]
+	}
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/knox/blob/a970502a/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-task-counters.xml
----------------------------------------------------------------------
diff --git a/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-task-counters.xml b/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-task-counters.xml
new file mode 100644
index 0000000..2d11078
--- /dev/null
+++ b/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-task-counters.xml
@@ -0,0 +1,160 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+<jobTaskCounters>
+	<id>task_1399541193872_0036_r_000000</id>
+	<taskCounterGroup>
+		<counterGroupName>org.apache.hadoop.mapreduce.FileSystemCounter</counterGroupName>
+		<counter>
+			<name>FILE_BYTES_READ</name>
+			<value>393216</value>
+		</counter>
+		<counter>
+			<name>FILE_BYTES_WRITTEN</name>
+			<value>4883518</value>
+		</counter>
+		<counter>
+			<name>FILE_READ_OPS</name>
+			<value>0</value>
+		</counter>
+		<counter>
+			<name>FILE_LARGE_READ_OPS</name>
+			<value>0</value>
+		</counter>
+		<counter>
+			<name>FILE_WRITE_OPS</name>
+			<value>0</value>
+		</counter>
+		<counter>
+			<name>HDFS_BYTES_READ</name>
+			<value>0</value>
+		</counter>
+		<counter>
+			<name>HDFS_BYTES_WRITTEN</name>
+			<value>0</value>
+		</counter>
+		<counter>
+			<name>HDFS_READ_OPS</name>
+			<value>0</value>
+		</counter>
+		<counter>
+			<name>HDFS_LARGE_READ_OPS</name>
+			<value>0</value>
+		</counter>
+		<counter>
+			<name>HDFS_WRITE_OPS</name>
+			<value>0</value>
+		</counter>
+	</taskCounterGroup>
+	<taskCounterGroup>
+		<counterGroupName>org.apache.hadoop.mapreduce.TaskCounter</counterGroupName>
+		<counter>
+			<name>COMBINE_INPUT_RECORDS</name>
+			<value>0</value>
+		</counter>
+		<counter>
+			<name>COMBINE_OUTPUT_RECORDS</name>
+			<value>0</value>
+		</counter>
+		<counter>
+			<name>REDUCE_INPUT_GROUPS</name>
+			<value>70961</value>
+		</counter>
+		<counter>
+			<name>REDUCE_SHUFFLE_BYTES</name>
+			<value>4780221</value>
+		</counter>
+		<counter>
+			<name>REDUCE_INPUT_RECORDS</name>
+			<value>70961</value>
+		</counter>
+		<counter>
+			<name>REDUCE_OUTPUT_RECORDS</name>
+			<value>0</value>
+		</counter>
+		<counter>
+			<name>SPILLED_RECORDS</name>
+			<value>0</value>
+		</counter>
+		<counter>
+			<name>SHUFFLED_MAPS</name>
+			<value>1</value>
+		</counter>
+		<counter>
+			<name>FAILED_SHUFFLE</name>
+			<value>0</value>
+		</counter>
+		<counter>
+			<name>MERGED_MAP_OUTPUTS</name>
+			<value>1</value>
+		</counter>
+		<counter>
+			<name>GC_TIME_MILLIS</name>
+			<value>4459</value>
+		</counter>
+		<counter>
+			<name>CPU_MILLISECONDS</name>
+			<value>68810</value>
+		</counter>
+		<counter>
+			<name>PHYSICAL_MEMORY_BYTES</name>
+			<value>110243840</value>
+		</counter>
+		<counter>
+			<name>VIRTUAL_MEMORY_BYTES</name>
+			<value>2812141568</value>
+		</counter>
+		<counter>
+			<name>COMMITTED_HEAP_BYTES</name>
+			<value>30474240</value>
+		</counter>
+	</taskCounterGroup>
+	<taskCounterGroup>
+		<counterGroupName>Shuffle Errors</counterGroupName>
+		<counter>
+			<name>BAD_ID</name>
+			<value>0</value>
+		</counter>
+		<counter>
+			<name>CONNECTION</name>
+			<value>0</value>
+		</counter>
+		<counter>
+			<name>IO_ERROR</name>
+			<value>0</value>
+		</counter>
+		<counter>
+			<name>WRONG_LENGTH</name>
+			<value>0</value>
+		</counter>
+		<counter>
+			<name>WRONG_MAP</name>
+			<value>0</value>
+		</counter>
+		<counter>
+			<name>WRONG_REDUCE</name>
+			<value>0</value>
+		</counter>
+	</taskCounterGroup>
+	<taskCounterGroup>
+		<counterGroupName>org.apache.hadoop.mapreduce.lib.output.FileOutputFormatCounter</counterGroupName>
+		<counter>
+			<name>BYTES_WRITTEN</name>
+			<value>0</value>
+		</counter>
+	</taskCounterGroup>
+</jobTaskCounters>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/knox/blob/a970502a/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-task.json
----------------------------------------------------------------------
diff --git a/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-task.json b/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-task.json
new file mode 100644
index 0000000..ce53291
--- /dev/null
+++ b/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-task.json
@@ -0,0 +1,13 @@
+{
+	"task":{
+		"startTime":1401273289105,
+		"finishTime":0,
+		"elapsedTime":3343308,
+		"progress":67.33751,
+		"id":"task_1399541193872_0036_r_000000",
+		"state":"RUNNING",
+		"type":"REDUCE",
+		"successfulAttempt":"",
+		"status":"Sleeping... (116684700) ms left > reduce"
+	}
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/knox/blob/a970502a/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-task.xml
----------------------------------------------------------------------
diff --git a/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-task.xml b/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-task.xml
new file mode 100644
index 0000000..a00e5c6
--- /dev/null
+++ b/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-task.xml
@@ -0,0 +1,28 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+<task>
+	<startTime>1401273289105</startTime>
+	<finishTime>0</finishTime>
+	<elapsedTime>2531116</elapsedTime>
+	<progress>67.33751</progress>
+	<id>task_1399541193872_0036_r_000000</id>
+	<state>RUNNING</state>
+	<type>REDUCE</type>
+	<successfulAttempt></successfulAttempt>
+	<status>Sleeping... (117493500) ms left &gt; reduce</status>
+</task>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/knox/blob/a970502a/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-tasks.json
----------------------------------------------------------------------
diff --git a/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-tasks.json b/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-tasks.json
new file mode 100644
index 0000000..ce1fa51
--- /dev/null
+++ b/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-tasks.json
@@ -0,0 +1,28 @@
+{
+	"tasks":{
+		"task":[
+			{
+				"startTime":1401273271711,
+				"finishTime":1401273284990,
+				"elapsedTime":13279,
+				"progress":100.0,
+				"id":"task_1399541193872_0036_m_000000",
+				"state":"SUCCEEDED",
+				"type":"MAP",
+				"successfulAttempt":"attempt_1399541193872_0036_m_000000_0",
+				"status":"Sleeping... (20) ms left"
+			},
+			{
+				"startTime":1401273289105,
+				"finishTime":0,
+				"elapsedTime":31069,
+				"progress":67.33751,
+				"id":"task_1399541193872_0036_r_000000",
+				"state":"RUNNING",
+				"type":"REDUCE",
+				"successfulAttempt":"",
+				"status":"Sleeping... (119977500) ms left > reduce"
+			}
+		]
+	}
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/knox/blob/a970502a/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-tasks.xml
----------------------------------------------------------------------
diff --git a/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-tasks.xml b/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-tasks.xml
new file mode 100644
index 0000000..66e5177
--- /dev/null
+++ b/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-tasks.xml
@@ -0,0 +1,42 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+<tasks>
+	<task>
+		<startTime>1401273271711</startTime>
+		<finishTime>1401273284990</finishTime>
+		<elapsedTime>13279</elapsedTime>
+		<progress>100.0</progress>
+		<id>task_1399541193872_0036_m_000000</id>
+		<state>SUCCEEDED</state>
+		<type>MAP</type>
+		<successfulAttempt>attempt_1399541193872_0036_m_000000_0
+		</successfulAttempt>
+		<status>Sleeping... (20) ms left</status>
+	</task>
+	<task>
+		<startTime>1401273289105</startTime>
+		<finishTime>0</finishTime>
+		<elapsedTime>269880</elapsedTime>
+		<progress>67.33751</progress>
+		<id>task_1399541193872_0036_r_000000</id>
+		<state>RUNNING</state>
+		<type>REDUCE</type>
+		<successfulAttempt></successfulAttempt>
+		<status>Sleeping... (119742300) ms left &gt; reduce</status>
+	</task>
+</tasks>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/knox/blob/a970502a/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/scheduler.json
----------------------------------------------------------------------
diff --git a/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/scheduler.json b/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/scheduler.json
new file mode 100644
index 0000000..d348d92
--- /dev/null
+++ b/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/scheduler.json
@@ -0,0 +1,41 @@
+{
+	"scheduler":{
+		"schedulerInfo":{
+			"type":"capacityScheduler",
+			"capacity":100.0,
+			"usedCapacity":0.0,
+			"maxCapacity":100.0,
+			"queueName":"root",
+			"queues":{
+				"queue":[
+					{
+						"type":"capacitySchedulerLeafQueueInfo",
+						"capacity":100.0,
+						"usedCapacity":0.0,
+						"maxCapacity":100.0,
+						"absoluteCapacity":100.0,
+						"absoluteMaxCapacity":100.0,
+						"absoluteUsedCapacity":0.0,
+						"numApplications":0,
+						"queueName":"default",
+						"state":"RUNNING",
+						"resourcesUsed":{
+							"memory":0,
+							"vCores":0
+						},
+						"numActiveApplications":0,
+						"numPendingApplications":0,
+						"numContainers":0,
+						"maxApplications":10000,
+						"maxApplicationsPerUser":10000,
+						"maxActiveApplications":26,
+						"maxActiveApplicationsPerUser":26,
+						"userLimit":100,
+						"users":null,
+						"userLimitFactor":1.0
+					}
+				]
+			}
+		}
+	}
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/knox/blob/a970502a/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/scheduler.xml
----------------------------------------------------------------------
diff --git a/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/scheduler.xml b/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/scheduler.xml
new file mode 100644
index 0000000..7e4b0f1
--- /dev/null
+++ b/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/scheduler.xml
@@ -0,0 +1,53 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+<scheduler>
+	<schedulerInfo xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+		xsi:type="capacityScheduler">
+		<capacity>100.0</capacity>
+		<usedCapacity>0.0</usedCapacity>
+		<maxCapacity>100.0</maxCapacity>
+		<queueName>root</queueName>
+		<queues>
+			<queue xsi:type="capacitySchedulerLeafQueueInfo">
+				<capacity>100.0</capacity>
+				<usedCapacity>0.0</usedCapacity>
+				<maxCapacity>100.0</maxCapacity>
+				<absoluteCapacity>100.0</absoluteCapacity>
+				<absoluteMaxCapacity>100.0</absoluteMaxCapacity>
+				<absoluteUsedCapacity>0.0</absoluteUsedCapacity>
+				<numApplications>0</numApplications>
+				<queueName>default</queueName>
+				<state>RUNNING</state>
+				<resourcesUsed>
+					<memory>0</memory>
+					<vCores>0</vCores>
+				</resourcesUsed>
+				<numActiveApplications>0</numActiveApplications>
+				<numPendingApplications>0</numPendingApplications>
+				<numContainers>0</numContainers>
+				<maxApplications>10000</maxApplications>
+				<maxApplicationsPerUser>10000</maxApplicationsPerUser>
+				<maxActiveApplications>26</maxActiveApplications>
+				<maxActiveApplicationsPerUser>26</maxActiveApplicationsPerUser>
+				<userLimit>100</userLimit>
+				<users></users>
+				<userLimitFactor>1.0</userLimitFactor>
+			</queue>
+		</queues>
+	</schedulerInfo>
+</scheduler>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/knox/blob/a970502a/hsso-release/pom.xml
----------------------------------------------------------------------
diff --git a/hsso-release/pom.xml b/hsso-release/pom.xml
index 482b0e7..6bb86db 100644
--- a/hsso-release/pom.xml
+++ b/hsso-release/pom.xml
@@ -130,6 +130,10 @@
             <artifactId>gateway-service-tgs</artifactId>
         </dependency>
         <dependency>
+        	<groupId>${gateway-group}</groupId>
+        	<artifactId>gateway-service-yarn-rm</artifactId>
+        </dependency>
+        <dependency>
             <groupId>${gateway-group}</groupId>
             <artifactId>gateway-provider-rewrite</artifactId>
         </dependency>
@@ -139,6 +143,10 @@
         </dependency>
         <dependency>
             <groupId>${gateway-group}</groupId>
+            <artifactId>gateway-provider-rewrite-step-encrypt-uri</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>${gateway-group}</groupId>
             <artifactId>gateway-provider-rewrite-func-hostmap-static</artifactId>
         </dependency>
         <dependency>

http://git-wip-us.apache.org/repos/asf/knox/blob/a970502a/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 6cfd104..f5ec03d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -45,6 +45,7 @@
         <module>gateway-provider-rewrite-func-hostmap-static</module>
         <module>gateway-provider-rewrite-func-service-registry</module>
         <module>gateway-provider-rewrite-step-secure-query</module>
+        <module>gateway-provider-rewrite-step-encrypt-uri</module>
         <module>gateway-provider-security-jwt</module>
         <module>gateway-provider-security-webappsec</module>
         <module>gateway-provider-security-preauth</module>
@@ -60,6 +61,7 @@
         <module>gateway-service-oozie</module>
         <module>gateway-service-webhcat</module>
         <module>gateway-service-tgs</module>
+        <module>gateway-service-yarn-rm</module>
         <module>gateway-shell</module>
         <module>gateway-shell-launcher</module>
         <module>knox-cli-launcher</module>
@@ -417,6 +419,11 @@
             </dependency>
             <dependency>
                 <groupId>${gateway-group}</groupId>
+                <artifactId>gateway-provider-rewrite-step-encrypt-uri</artifactId>
+                <version>${gateway-version}</version>
+            </dependency>
+            <dependency>
+                <groupId>${gateway-group}</groupId>
                 <artifactId>gateway-provider-jersey</artifactId>
                 <version>${gateway-version}</version>
             </dependency>
@@ -462,6 +469,11 @@
             </dependency>
             <dependency>
                 <groupId>${gateway-group}</groupId>
+                <artifactId>gateway-service-yarn-rm</artifactId>
+                <version>${gateway-version}</version>
+            </dependency>
+            <dependency>
+                <groupId>${gateway-group}</groupId>
                 <artifactId>gateway-service-oozie</artifactId>
                 <version>${gateway-version}</version>
             </dependency>


Mime
View raw message