You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tez.apache.org by "Sreenath Somarajapuram (JIRA)" <ji...@apache.org> on 2016/09/07 19:57:21 UTC
[jira] [Updated] (TEZ-3419) Tez UI: Applications page shows error,
for users with only DAG level ACL permission.
[ https://issues.apache.org/jira/browse/TEZ-3419?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sreenath Somarajapuram updated TEZ-3419:
----------------------------------------
Attachment: TEZ-3419.wip.1.patch
Need more testing before Submit, hence uploading a WIP patch.
> Tez UI: Applications page shows error, for users with only DAG level ACL permission.
> ------------------------------------------------------------------------------------
>
> Key: TEZ-3419
> URL: https://issues.apache.org/jira/browse/TEZ-3419
> Project: Apache Tez
> Issue Type: Sub-task
> Reporter: Sreenath Somarajapuram
> Assignee: Sreenath Somarajapuram
> Attachments: TEZ-3419.wip.1.patch
>
>
> Follow this logic and display better message:
> On loading app details page, send a request to <ats-address>/ws/v1/timeline/TEZ_APPLICATION/tez_<app-id>
> - If it succeed, display the details page as we do now.
> - If it fails, send a request to <ats-address>/ws/v1/timeline/TEZ_DAG_ID?primaryFilter=applicationId%3A<app-id>
> -- If it succeed, then we know that DAGs under the app are available and assume that the user doesn't have permission to access app level data.
> --- So display a message in app details tab, something like "Data is not available. Check if you are authorized to access application data!".
> --- If AHS is accessible, display application data from there in the details page.
> --- Also display the DAGs tab, for the user to see DAGs under that app.
> -- If it fails, display error message as we do now.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)