Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-4428

Redirect RM page to AHS page when AHS turned on and RM page is not available

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0, 2.7.3, 3.0.0-alpha1
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      When AHS is turned on, if we can't view application in RM page, RM page should redirect us to AHS page. For example, when you go to cluster/app/application_1, if RM no longer remember the application, we will simply get "Failed to read the application application_1", but it will be good for RM ui to smartly try to redirect to AHS ui /applicationhistory/app/application_1 to see if it's there. The redirect usage already exist for logs in nodemanager UI.
      Also, when AHS is enabled, WebAppProxyServlet should redirect to AHS page on fall back of RM not remembering the app. YARN-3975 tried to do this only when original tracking url is not set. But there are many cases, such as when app failed at launch, original tracking url will be set to point to RM page, so redirect to AHS page won't work.

        Attachments

        1. YARN-4428.branch-2.7.patch
          15 kB
          Chang Li
        2. YARN-4428.10.patch
          15 kB
          Chang Li
        3. YARN-4428.9.test.patch
          15 kB
          Chang Li
        4. YARN-4428.8.patch
          15 kB
          Chang Li
        5. YARN-4428.7.patch
          15 kB
          Chang Li
        6. YARN-4428.6.patch
          15 kB
          Chang Li
        7. YARN-4428.5.patch
          15 kB
          Chang Li
        8. YARN-4428.4.patch
          14 kB
          Chang Li
        9. YARN-4428.3.patch
          13 kB
          Chang Li
        10. YARN-4428.3.patch
          13 kB
          Chang Li
        11. YARN-4428.2.2.patch
          9 kB
          Chang Li
        12. YARN-4428.2.patch
          9 kB
          Chang Li
        13. YARN-4428.1.2.patch
          4 kB
          Chang Li
        14. YARN-4428.1.patch
          4 kB
          Chang Li

          Issue Links

            Activity

              People

              • Assignee:
                lichangleo Chang Li
                Reporter:
                lichangleo Chang Li
              • Votes:
                0 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: