http://git-wip-us.apache.org/repos/asf/knox/blob/6736393d/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/yarn/nodes.json ---------------------------------------------------------------------- diff --git a/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/yarn/nodes.json b/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/yarn/nodes.json index 0740757..ab33854 100644 --- a/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/yarn/nodes.json +++ b/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/yarn/nodes.json @@ -1,19 +1,19 @@ { - "nodes":{ - "node":[ - { - "rack":"/default-rack", - "state":"RUNNING", - "id":"localhost:45454", - "nodeHostName":"localhost", - "nodeHTTPAddress":"localhost:50060", - "lastHealthUpdate":1401194681758, - "version":"2.4.0.2.1.1.0-390", - "healthReport":"", - "numContainers":0, - "usedMemoryMB":0, - "availMemoryMB":8192 - } - ] - } + "nodes":{ + "node":[ + { + "rack":"/default-rack", + "state":"RUNNING", + "id":"localhost:45454", + "nodeHostName":"localhost", + "nodeHTTPAddress":"localhost:50060", + "lastHealthUpdate":1401194681758, + "version":"2.4.0.2.1.1.0-390", + "healthReport":"", + "numContainers":0, + "usedMemoryMB":0, + "availMemoryMB":8192 + } + ] + } } \ No newline at end of file
http://git-wip-us.apache.org/repos/asf/knox/blob/6736393d/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/yarn/nodes.xml ---------------------------------------------------------------------- diff --git a/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/yarn/nodes.xml b/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/yarn/nodes.xml index 619d995..4bf7c44 100644 --- a/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/yarn/nodes.xml +++ b/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/yarn/nodes.xml @@ -16,17 +16,17 @@ See the License for the specific language governing permissions and limitations under the License. --> <nodes> - <node> - <rack>/default-rack</rack> - <state>RUNNING</state> - <id>localhost:45454</id> - <nodeHostName>hdp.example.com</nodeHostName> - <nodeHTTPAddress>localhost:50060</nodeHTTPAddress> - <lastHealthUpdate>1401194561733</lastHealthUpdate> - <version>2.4.0.2.1.1.0-390</version> - <healthReport></healthReport> - <numContainers>0</numContainers> - <usedMemoryMB>0</usedMemoryMB> - <availMemoryMB>8192</availMemoryMB> - </node> + <node> + <rack>/default-rack</rack> + <state>RUNNING</state> + <id>localhost:45454</id> + <nodeHostName>hdp.example.com</nodeHostName> + <nodeHTTPAddress>localhost:50060</nodeHTTPAddress> + <lastHealthUpdate>1401194561733</lastHealthUpdate> + <version>2.4.0.2.1.1.0-390</version> + <healthReport></healthReport> + <numContainers>0</numContainers> + <usedMemoryMB>0</usedMemoryMB> + <availMemoryMB>8192</availMemoryMB> + </node> </nodes> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/knox/blob/6736393d/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-info.json ---------------------------------------------------------------------- diff --git a/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-info.json b/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-info.json index b44a01b..49811ec 100644 --- a/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-info.json +++ b/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-info.json @@ -1,9 +1,9 @@ { - "info":{ - "appId":"application_1399541193872_0035", - "name":"Sleep job", - "user":"hdfs", - "startedOn":1401199817106, - "elapsedTime":852931 - } + "info":{ + "appId":"application_1399541193872_0035", + "name":"Sleep job", + "user":"hdfs", + "startedOn":1401199817106, + "elapsedTime":852931 + } } \ No newline at end of file http://git-wip-us.apache.org/repos/asf/knox/blob/6736393d/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-info.xml ---------------------------------------------------------------------- diff --git a/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-info.xml b/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-info.xml index 7ed4a49..02cf7fe 100644 --- a/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-info.xml +++ b/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-info.xml @@ -16,9 +16,9 @@ See the License for the specific language governing permissions and limitations under the License. --> <info> - <appId>application_1399541193872_0035</appId> - <name>Sleep job</name> - <user>hdfs</user> - <startedOn>1401199817106</startedOn> - <elapsedTime>113773</elapsedTime> + <appId>application_1399541193872_0035</appId> + <name>Sleep job</name> + <user>hdfs</user> + <startedOn>1401199817106</startedOn> + <elapsedTime>113773</elapsedTime> </info> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/knox/blob/6736393d/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-job-attempts.json ---------------------------------------------------------------------- diff --git a/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-job-attempts.json b/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-job-attempts.json index af46d3e..1539f04 100644 --- a/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-job-attempts.json +++ b/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-job-attempts.json @@ -1,14 +1,14 @@ { - "jobAttempts":{ - "jobAttempt":[ - { - "nodeHttpAddress":"host.yarn.com:50060", - "nodeId":"host.yarn.com:45454", - "id":1, - "startTime":1401199817106, - "containerId":"container_1399541193872_0035_01_000001", - "logsLink":"http://host.yarn.com:50060/node/containerlogs/container_1399541193872_0035_01_000001/hdfs" - } - ] - } + "jobAttempts":{ + "jobAttempt":[ + { + "nodeHttpAddress":"host.yarn.com:50060", + "nodeId":"host.yarn.com:45454", + "id":1, + "startTime":1401199817106, + "containerId":"container_1399541193872_0035_01_000001", + "logsLink":"http://host.yarn.com:50060/node/containerlogs/container_1399541193872_0035_01_000001/hdfs" + } + ] + } } \ No newline at end of file http://git-wip-us.apache.org/repos/asf/knox/blob/6736393d/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-job-attempts.xml ---------------------------------------------------------------------- diff --git a/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-job-attempts.xml b/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-job-attempts.xml index f02354b..d0b306d 100644 --- a/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-job-attempts.xml +++ b/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-job-attempts.xml @@ -16,12 +16,12 @@ 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> + <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
