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

WebAppProxyServlet will throw ApplicationNotFoundException if the app is no longer cached in RM

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      WebAppProxyServlet checks null to determine whether the application is not found or not.

       ApplicationReport applicationReport = getApplicationReport(id);
            if(applicationReport == null) {
              LOG.warn(req.getRemoteUser()+" Attempting to access "+id+
                  " that was not found");
      

      However, WebAppProxyServlet calls AppReportFetcher, which consequently calls ClientRMService. When application is not found, ClientRMService throws ApplicationNotFoundException. Therefore, in WebAppProxyServlet, the following logic to create the tracking url for a non-cached app will no longer be in use.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                zjshen Zhijie Shen
                Reporter:
                zjshen Zhijie Shen
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: