[
https://issues.apache.org/jira/browse/YARN-3814?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14628582#comment-14628582
]
Varun Saxena commented on YARN-3814:
------------------------------------
+*For Get Entity API,*+
appId, entityType and entityId are mandatory parameters for querying a single
entity hence they are kept as part of path in REST URL.
Optional query Parameters for get entity API have been kept as *clusterId,
userId, flowId, flowRunId and fields.*
*clusterId* and appId are mandatory for getting an entity. But clusterId can be
kept as an optional query parameter because if clusterId is not specified, we
can take it from configuration.
*userId, flowId and flowRunId* as params are to ensure that we need not query
app to flow mapping table.
*fields* are a comma separated list of possible fields which have to be
returned in addition to default view of entity. Default view of an entity
contains entity ID, entity type, created time and modified time. Possible
fields are *EVENTS, INFO, METRICS, CONFIGS, RELATESTO and ISRELATEDTO* (case
insensitive).
If fields is *ALL*, all the above fields are returned.
> REST API implementation for getting raw entities in TimelineReader
> ------------------------------------------------------------------
>
> Key: YARN-3814
> URL: https://issues.apache.org/jira/browse/YARN-3814
> Project: Hadoop YARN
> Issue Type: Sub-task
> Components: timelineserver
> Affects Versions: YARN-2928
> Reporter: Varun Saxena
> Assignee: Varun Saxena
> Attachments: YARN-3814-YARN-2928.01.patch
>
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)