[jira] [Commented] (YARN-4224) Change the REST interface to conform to current REST APIs' in YARN
[ https://issues.apache.org/jira/browse/YARN-4224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14944644#comment-14944644 ] Varun Saxena commented on YARN-4224: All these are new APIs' added as part of ATSv2. And ATSv2 is marked to go in 2.8 Moreover, v2 here indicates version 2 of ATS. > Change the REST interface to conform to current REST APIs' in YARN > -- > > Key: YARN-4224 > URL: https://issues.apache.org/jira/browse/YARN-4224 > Project: Hadoop YARN > Issue Type: Sub-task > Components: timelineserver >Affects Versions: YARN-2928 >Reporter: Varun Saxena >Assignee: Varun Saxena > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (YARN-4224) Change the REST interface to conform to current REST APIs' in YARN
[ https://issues.apache.org/jira/browse/YARN-4224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14943751#comment-14943751 ] Allen Wittenauer commented on YARN-4224: If this is an incompatible change, then this needs to be ws/v3. > Change the REST interface to conform to current REST APIs' in YARN > -- > > Key: YARN-4224 > URL: https://issues.apache.org/jira/browse/YARN-4224 > Project: Hadoop YARN > Issue Type: Sub-task > Components: timelineserver >Affects Versions: YARN-2928 >Reporter: Varun Saxena >Assignee: Varun Saxena > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (YARN-4224) Change the REST interface to conform to current REST APIs' in YARN
[ https://issues.apache.org/jira/browse/YARN-4224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14943298#comment-14943298 ] Varun Saxena commented on YARN-4224: [~sjlee0] raised this point on YARN-3864. Current REST API format does not conform to REST APIs' elsewhere in hadoop. As this is a user facing API, everyone can share their thoughts on this. > Change the REST interface to conform to current REST APIs' in YARN > -- > > Key: YARN-4224 > URL: https://issues.apache.org/jira/browse/YARN-4224 > Project: Hadoop YARN > Issue Type: Sub-task > Components: timelineserver >Affects Versions: YARN-2928 >Reporter: Varun Saxena >Assignee: Varun Saxena > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (YARN-4224) Change the REST interface to conform to current REST APIs' in YARN
[ https://issues.apache.org/jira/browse/YARN-4224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14943320#comment-14943320 ] Varun Saxena commented on YARN-4224: My proposal would be as under * *Query flows* Current REST API for querying flows is {{/ws/v2/timeline/flows/\{clusterid}/}} . This can be changed to : {panel} */ws/v2/timeline/\{clusterid}/flows* _Eg :_ /ws/v2/timeline/yarn_cluster/flows {panel} * *Query flowrun* Current REST API is {{/ws/v2/timeline/flowrun/\{clusterid}/\{flowid}/\{flowrunid}/}} . This can be changed to : {panel} */ws/v2/timeline/\{clusterid}/\{flowid}/run/\{flowrunid}* _Eg :_ /ws/v2/timeline/yarn_cluster/hive_flow/run/123 {panel} * *Query app* Current REST API in YARN-3864 is {{/ws/v2/timeline/app/\{clusterid}/\{appid}/}} . This can be changed to : {panel} */ws/v2/timeline/\{clusterid}/app/\{appid}* _Eg :_ /ws/v2/timeline/yarn_cluster/app/application_11_1345 {panel} * *Query apps for a flow* Current REST API in YARN-3864 is {{/ws/v2/timeline/flowapps/\{clusterid}/\{flowid}/}} . This can be changed to : {panel} */ws/v2/timeline/\{clusterid}/\{flowid}/apps* _Eg :_ /ws/v2/timeline/yarn_cluster/hive_flow/apps {panel} * *Query apps for a flowrun* Current REST API in YARN-3864 is {{/ws/v2/timeline/flowrunapps/\{clusterid}/\{flowid}/\{flowrunid}/}} . This can be changed to : {panel} */ws/v2/timeline/\{clusterid}/\{flowid}/\{flowrunid}/apps* _Eg :_ /ws/v2/timeline/yarn_cluster/hive_flow/123/apps {panel} * *Query entity* Current REST API is {{/ws/v2/timeline/entity/\{clusterid}/\{appid}/\{entitytype}/\{entityid}/}} . This can be changed to : {panel} */ws/v2/timeline/\{clusterid}/\{appid}/\{entitytype}/entity/\{entityid}* _Eg :_ /ws/v2/timeline/yarn_cluster/application_1444034548255_0001/YARN_CONTAINER/entity/container_1444034548255_0001_01_01 {panel} * *Query entities* Current REST API is {{/ws/v2/timeline/entities/\{clusterid}/\{appid}/\{entitytype}/}} . This can be changed to : {panel} */ws/v2/timeline/\{clusterid}/\{appid}/\{entitytype}/entities* _Eg :_ /ws/v2/timeline/yarn_cluster/application_1444034548255_0001/YARN_CONTAINER/entities {panel} > Change the REST interface to conform to current REST APIs' in YARN > -- > > Key: YARN-4224 > URL: https://issues.apache.org/jira/browse/YARN-4224 > Project: Hadoop YARN > Issue Type: Sub-task > Components: timelineserver >Affects Versions: YARN-2928 >Reporter: Varun Saxena >Assignee: Varun Saxena > -- This message was sent by Atlassian JIRA (v6.3.4#6332)