knox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kmin...@apache.org
Subject [4/6] KNOX-74: Support YARN REST API access via the Gateway
Date Thu, 17 Jul 2014 21:19:25 GMT
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


Mime
View raw message