hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Varun Saxena (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-5267) RM REST API doc for app lists "Application Type" instead of "applicationType"
Date Wed, 29 Jun 2016 07:24:45 GMT

    [ https://issues.apache.org/jira/browse/YARN-5267?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15354721#comment-15354721
] 

Varun Saxena commented on YARN-5267:
------------------------------------

[~gsohn], not related to your patch but I see a lot of fields missing from the example JSON
and XML response in the documentation. Maybe we can fix that as part of this JIRA too.
Below, for instance, is the response I get when I fetch a single app.

{noformat}
<app>
<id>application_1467183836991_0001</id>
<user>root</user>
<name>Sleep job</name>
<queue>default</queue>
<state>FINISHED</state>
<finalStatus>SUCCEEDED</finalStatus>
<progress>100.0</progress>
<trackingUI>History</trackingUI>
<trackingUrl>
http://192.168.90.188:35020/proxy/application_1467183836991_0001/
</trackingUrl>
<diagnostics/>
<clusterId>1467183836991</clusterId>
<applicationType>MAPREDUCE</applicationType>
<applicationTags/>
<priority>0</priority>
<startedTime>1467184106728</startedTime>
<finishedTime>1467184336529</finishedTime>
<elapsedTime>229801</elapsedTime>
<amContainerLogs>
http://192.168.90.188:8042/node/containerlogs/container_e90_1467183836991_0001_01_000001/root
</amContainerLogs>
<amHostHttpAddress>192.168.90.188:8042</amHostHttpAddress>
<amRPCAddress>192.168.90.188:47728</amRPCAddress>
<allocatedMB>-1</allocatedMB>
<allocatedVCores>-1</allocatedVCores>
<runningContainers>-1</runningContainers>
<memorySeconds>167176</memorySeconds>
<vcoreSeconds>90</vcoreSeconds>
<queueUsagePercentage>0.0</queueUsagePercentage>
<clusterUsagePercentage>0.0</clusterUsagePercentage>
<preemptedResourceMB>0</preemptedResourceMB>
<preemptedResourceVCores>0</preemptedResourceVCores>
<numNonAMContainerPreempted>0</numNonAMContainerPreempted>
<numAMContainerPreempted>0</numAMContainerPreempted>
<logAggregationStatus>DISABLED</logAggregationStatus>
<unmanagedApplication>false</unmanagedApplication>
<amNodeLabelExpression/>
</app>
{noformat}

> RM REST API doc for app lists "Application Type" instead of "applicationType" 
> ------------------------------------------------------------------------------
>
>                 Key: YARN-5267
>                 URL: https://issues.apache.org/jira/browse/YARN-5267
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: api, documentation
>    Affects Versions: 2.6.4
>            Reporter: Grant Sohn
>            Priority: Trivial
>              Labels: documentation
>         Attachments: YARN-5267.001.patch
>
>
> From the docs:
> {noformat}
> Note that depending on security settings a user might not be able to see all the fields.
> Item	Data Type	Description
> id	string	The application id
> user	string	The user who started the application
> name	string	The application name
> Application Type	string	The application type
> ....
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org


Mime
View raw message