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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.4.0
    • None
    • None
    • 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

        1. YARN-1859.1.patch
          4 kB
          Zhijie Shen

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: