You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Zhijie Shen (JIRA)" <ji...@apache.org> on 2014/03/20 22:23:48 UTC

[jira] [Created] (YARN-1859) WebAppProxyServlet will throw ApplicationNotFoundException if the app is no longer cached in RM

Zhijie Shen created YARN-1859:
---------------------------------

             Summary: WebAppProxyServlet will throw ApplicationNotFoundException if the app is no longer cached in RM
                 Key: YARN-1859
                 URL: https://issues.apache.org/jira/browse/YARN-1859
             Project: Hadoop YARN
          Issue Type: Bug
            Reporter: Zhijie Shen
            Assignee: Zhijie Shen


WebAppProxyServlet checks null to determine whether the application is not found or not.
{code}
 ApplicationReport applicationReport = getApplicationReport(id);
      if(applicationReport == null) {
        LOG.warn(req.getRemoteUser()+" Attempting to access "+id+
            " that was not found");
{code}
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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)