You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@knox.apache.org by km...@apache.org on 2014/07/17 23:19:25 UTC

[4/6] KNOX-74: Support YARN REST API access via the Gateway

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-attempts.xml
----------------------------------------------------------------------
diff --git a/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-job-attempts.xml b/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-job-attempts.xml
new file mode 100644
index 0000000..f02354b
--- /dev/null
+++ b/gateway-test/src/test/resources/org/apache/hadoop/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-job-attempts.xml
@@ -0,0 +1,27 @@
+<!--
+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.
+-->
+<jobAttempts>
+	<jobAttempt>
+		<nodeHttpAddress>localhost:50060</nodeHttpAddress>
+		<nodeId>localhost:45454</nodeId>
+		<id>1</id>
+		<startTime>1401199817106</startTime>
+		<containerId>container_1399541193872_0035_01_000001</containerId>
+		<logsLink>http://localhost:50060/node/containerlogs/container_1399541193872_0035_01_000001/hdfs</logsLink>
+	</jobAttempt>
+</jobAttempts>
\ No newline at end of file