Uploaded image for project: 'Apache Tez'
  1. Apache Tez
  2. TEZ-3328 [Umbrella] UI does not work well when there are separate DAG and session-level ACLs
  3. TEZ-3419

Tez UI: Applications page shows error, for users with only DAG level ACL permission.

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.7.0
    • 0.9.0, 0.8.5
    • None
    • None

    Description

      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.
          • If AHS is accessible, display application data from there in the details page.
          • else if AHS is not accessible, display a message in app details tab, something like "Data is not available. Check if you are authorized to access application data!".
          • Also display the DAGs tab, for the user to see DAGs under that app.
        • If it fails, display error message as we do now.

      Attachments

        1. TEZ-3419.6.patch
          14 kB
          Sreenath Somarajapuram
        2. Screen Shot 2016-10-17 at 4.12.23 PM.png
          102 kB
          Hitesh Shah
        3. Screen Shot 2016-10-17 at 4.11.59 PM.png
          27 kB
          Hitesh Shah
        4. Screen Shot 2016-10-17 at 4.11.29 PM.png
          61 kB
          Hitesh Shah
        5. TEZ-3419.5.patch
          14 kB
          Sreenath Somarajapuram
        6. Screen Shot 2016-10-13 at 4.37.09 PM.png
          43 kB
          Hitesh Shah
        7. Screen Shot 2016-10-13 at 4.25.31 PM.png
          99 kB
          Hitesh Shah
        8. TEZ-3419.4.patch
          14 kB
          Sreenath Somarajapuram
        9. TEZ-3419.3.patch
          14 kB
          Sreenath Somarajapuram
        10. YARN & Tez data missing.png
          108 kB
          Sreenath Somarajapuram
        11. YARN data missing.png
          154 kB
          Sreenath Somarajapuram
        12. Tez data missing.png
          186 kB
          Sreenath Somarajapuram
        13. TEZ-3419.2.patch
          14 kB
          Sreenath Somarajapuram
        14. TEZ-3419.1.patch
          13 kB
          Sreenath Somarajapuram
        15. TEZ-3419.wip.1.patch
          5 kB
          Sreenath Somarajapuram

        Activity

          People

            Sreenath Sreenath Somarajapuram
            Sreenath Sreenath Somarajapuram
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: