[ https://issues.apache.org/jira/browse/YARN-5571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rohith Sharma K S resolved YARN-5571. ------------------------------------- Resolution: Won't Fix As per the discussion, these params are for faster look up of entities. So, resolving as wont fix. Thanks Varun for clearing doubts!! > [Atsv2] Query App REST endpoing need not to expose queryParams such > userId/flowname/flowrunid > --------------------------------------------------------------------------------------------- > > Key: YARN-5571 > URL: https://issues.apache.org/jira/browse/YARN-5571 > Project: Hadoop YARN > Issue Type: Bug > Components: timelinereader > Reporter: Rohith Sharma K S > Assignee: Rohith Sharma K S > > Timeline reader provides REST end point for querying app with an URL {{GET > /ws/v2/timeline/apps/\{app id\}}} along with queryParam as an filter. But > queryParam such as {{userId/flowname/flowrunid}} not at useful for querying > an app with app-id. In YARN cluster, only one app-id will be exist though out > life time. So userId/flowname/flowrunid not at all useful for the app-id REST > empoint > {noformat} > @GET > @Path("/apps/{appid}/") > @Produces(MediaType.APPLICATION_JSON) > public TimelineEntity getApp( > @Context HttpServletRequest req, > @Context HttpServletResponse res, > @PathParam("appid") String appId, > @QueryParam("flowname") String flowName, > @QueryParam("flowrunid") String flowRunId, > @QueryParam("userid") String userId, > @QueryParam("confstoretrieve") String confsToRetrieve, > @QueryParam("metricstoretrieve") String metricsToRetrieve, > @QueryParam("fields") String fields, > @QueryParam("metricslimit") String metricsLimit) { > return getApp(req, res, null, appId, flowName, flowRunId, userId, > confsToRetrieve, metricsToRetrieve, fields, metricsLimit); > } > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org