[jira] [Updated] (YARN-7982) Do ACLs check while retrieving entity-types per application
[ https://issues.apache.org/jira/browse/YARN-7982?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Prabhu Joseph updated YARN-7982: Attachment: YARN-7982-004.patch > Do ACLs check while retrieving entity-types per application > --- > > Key: YARN-7982 > URL: https://issues.apache.org/jira/browse/YARN-7982 > Project: Hadoop YARN > Issue Type: Sub-task >Reporter: Rohith Sharma K S >Assignee: Prabhu Joseph >Priority: Major > Attachments: YARN-7982-001.patch, YARN-7982-002.patch, > YARN-7982-003.patch, YARN-7982-004.patch > > > REST end point {{/apps/$appid/entity-types}} retrieves all the entity-types > for given application. This need to be guarded with ACL check > {code} > [yarn@yarn-ats-3 ~]$ curl > "http://yarn-ats-3:8198/ws/v2/timeline/apps/application_1552297011473_0002?user.name=ambari-qa1; > {"exception":"ForbiddenException","message":"java.lang.Exception: User > ambari-qa1 is not allowed to read TimelineService V2 > data.","javaClassName":"org.apache.hadoop.yarn.webapp.ForbiddenException"} > [yarn@yarn-ats-3 ~]$ curl > "http://yarn-ats-3:8198/ws/v2/timeline/apps/application_1552297011473_0002/entity-types?user.name=ambari-qa1; > ["YARN_APPLICATION_ATTEMPT","YARN_CONTAINER"] > {code} -- This message was sent by Atlassian Jira (v8.3.2#803003) - To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org
[jira] [Updated] (YARN-7982) Do ACLs check while retrieving entity-types per application
[ https://issues.apache.org/jira/browse/YARN-7982?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rohith Sharma K S updated YARN-7982: Parent: YARN-9802 (was: YARN-7055) > Do ACLs check while retrieving entity-types per application > --- > > Key: YARN-7982 > URL: https://issues.apache.org/jira/browse/YARN-7982 > Project: Hadoop YARN > Issue Type: Sub-task >Reporter: Rohith Sharma K S >Assignee: Prabhu Joseph >Priority: Major > Attachments: YARN-7982-001.patch, YARN-7982-002.patch, > YARN-7982-003.patch > > > REST end point {{/apps/$appid/entity-types}} retrieves all the entity-types > for given application. This need to be guarded with ACL check > {code} > [yarn@yarn-ats-3 ~]$ curl > "http://yarn-ats-3:8198/ws/v2/timeline/apps/application_1552297011473_0002?user.name=ambari-qa1; > {"exception":"ForbiddenException","message":"java.lang.Exception: User > ambari-qa1 is not allowed to read TimelineService V2 > data.","javaClassName":"org.apache.hadoop.yarn.webapp.ForbiddenException"} > [yarn@yarn-ats-3 ~]$ curl > "http://yarn-ats-3:8198/ws/v2/timeline/apps/application_1552297011473_0002/entity-types?user.name=ambari-qa1; > ["YARN_APPLICATION_ATTEMPT","YARN_CONTAINER"] > {code} -- This message was sent by Atlassian Jira (v8.3.2#803003) - To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org
[jira] [Updated] (YARN-7982) Do ACLs check while retrieving entity-types per application
[ https://issues.apache.org/jira/browse/YARN-7982?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Prabhu Joseph updated YARN-7982: Attachment: YARN-7982-003.patch > Do ACLs check while retrieving entity-types per application > --- > > Key: YARN-7982 > URL: https://issues.apache.org/jira/browse/YARN-7982 > Project: Hadoop YARN > Issue Type: Sub-task >Reporter: Rohith Sharma K S >Assignee: Prabhu Joseph >Priority: Major > Attachments: YARN-7982-001.patch, YARN-7982-002.patch, > YARN-7982-003.patch > > > REST end point {{/apps/$appid/entity-types}} retrieves all the entity-types > for given application. This need to be guarded with ACL check > {code} > [yarn@yarn-ats-3 ~]$ curl > "http://yarn-ats-3:8198/ws/v2/timeline/apps/application_1552297011473_0002?user.name=ambari-qa1; > {"exception":"ForbiddenException","message":"java.lang.Exception: User > ambari-qa1 is not allowed to read TimelineService V2 > data.","javaClassName":"org.apache.hadoop.yarn.webapp.ForbiddenException"} > [yarn@yarn-ats-3 ~]$ curl > "http://yarn-ats-3:8198/ws/v2/timeline/apps/application_1552297011473_0002/entity-types?user.name=ambari-qa1; > ["YARN_APPLICATION_ATTEMPT","YARN_CONTAINER"] > {code} -- This message was sent by Atlassian JIRA (v7.6.14#76016) - To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org
[jira] [Updated] (YARN-7982) Do ACLs check while retrieving entity-types per application
[ https://issues.apache.org/jira/browse/YARN-7982?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Prabhu Joseph updated YARN-7982: Attachment: YARN-7982-002.patch > Do ACLs check while retrieving entity-types per application > --- > > Key: YARN-7982 > URL: https://issues.apache.org/jira/browse/YARN-7982 > Project: Hadoop YARN > Issue Type: Sub-task >Reporter: Rohith Sharma K S >Assignee: Prabhu Joseph >Priority: Major > Attachments: YARN-7982-001.patch, YARN-7982-002.patch > > > REST end point {{/apps/$appid/entity-types}} retrieves all the entity-types > for given application. This need to be guarded with ACL check > {code} > [yarn@yarn-ats-3 ~]$ curl > "http://yarn-ats-3:8198/ws/v2/timeline/apps/application_1552297011473_0002?user.name=ambari-qa1; > {"exception":"ForbiddenException","message":"java.lang.Exception: User > ambari-qa1 is not allowed to read TimelineService V2 > data.","javaClassName":"org.apache.hadoop.yarn.webapp.ForbiddenException"} > [yarn@yarn-ats-3 ~]$ curl > "http://yarn-ats-3:8198/ws/v2/timeline/apps/application_1552297011473_0002/entity-types?user.name=ambari-qa1; > ["YARN_APPLICATION_ATTEMPT","YARN_CONTAINER"] > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org
[jira] [Updated] (YARN-7982) Do ACLs check while retrieving entity-types per application
[ https://issues.apache.org/jira/browse/YARN-7982?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Prabhu Joseph updated YARN-7982: Attachment: YARN-7982-001.patch > Do ACLs check while retrieving entity-types per application > --- > > Key: YARN-7982 > URL: https://issues.apache.org/jira/browse/YARN-7982 > Project: Hadoop YARN > Issue Type: Sub-task >Reporter: Rohith Sharma K S >Assignee: Prabhu Joseph >Priority: Major > Attachments: YARN-7982-001.patch > > > REST end point {{/apps/$appid/entity-types}} retrieves all the entity-types > for given application. This need to be guarded with ACL check > {code} > [yarn@yarn-ats-3 ~]$ curl > "http://yarn-ats-3:8198/ws/v2/timeline/apps/application_1552297011473_0002?user.name=ambari-qa1; > {"exception":"ForbiddenException","message":"java.lang.Exception: User > ambari-qa1 is not allowed to read TimelineService V2 > data.","javaClassName":"org.apache.hadoop.yarn.webapp.ForbiddenException"} > [yarn@yarn-ats-3 ~]$ curl > "http://yarn-ats-3:8198/ws/v2/timeline/apps/application_1552297011473_0002/entity-types?user.name=ambari-qa1; > ["YARN_APPLICATION_ATTEMPT","YARN_CONTAINER"] > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org
[jira] [Updated] (YARN-7982) Do ACLs check while retrieving entity-types per application
[ https://issues.apache.org/jira/browse/YARN-7982?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Prabhu Joseph updated YARN-7982: Description: REST end point {{/apps/$appid/entity-types}} retrieves all the entity-types for given application. This need to be guarded with ACL check {code} [yarn@yarn-ats-3 ~]$ curl "http://yarn-ats-3:8198/ws/v2/timeline/apps/application_1552297011473_0002?user.name=ambari-qa1; {"exception":"ForbiddenException","message":"java.lang.Exception: User ambari-qa1 is not allowed to read TimelineService V2 data.","javaClassName":"org.apache.hadoop.yarn.webapp.ForbiddenException"} [yarn@yarn-ats-3 ~]$ curl "http://yarn-ats-3:8198/ws/v2/timeline/apps/application_1552297011473_0002/entity-types?user.name=ambari-qa1; ["YARN_APPLICATION_ATTEMPT","YARN_CONTAINER"] {code} was:REST end point {{/apps/$appid/entity-types}} retrieves all the entity-types for given application. This need to be guarded with ACL check > Do ACLs check while retrieving entity-types per application > --- > > Key: YARN-7982 > URL: https://issues.apache.org/jira/browse/YARN-7982 > Project: Hadoop YARN > Issue Type: Sub-task >Reporter: Rohith Sharma K S >Assignee: Prabhu Joseph >Priority: Major > > REST end point {{/apps/$appid/entity-types}} retrieves all the entity-types > for given application. This need to be guarded with ACL check > {code} > [yarn@yarn-ats-3 ~]$ curl > "http://yarn-ats-3:8198/ws/v2/timeline/apps/application_1552297011473_0002?user.name=ambari-qa1; > {"exception":"ForbiddenException","message":"java.lang.Exception: User > ambari-qa1 is not allowed to read TimelineService V2 > data.","javaClassName":"org.apache.hadoop.yarn.webapp.ForbiddenException"} > [yarn@yarn-ats-3 ~]$ curl > "http://yarn-ats-3:8198/ws/v2/timeline/apps/application_1552297011473_0002/entity-types?user.name=ambari-qa1; > ["YARN_APPLICATION_ATTEMPT","YARN_CONTAINER"] > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org