[ 
https://issues.apache.org/jira/browse/YARN-1157?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13766556#comment-13766556
 ] 

Xuan Gong commented on YARN-1157:
---------------------------------

The reason is: At RMAppAttemptImpl::generateProxyUriWithoutScheme(String)
{code}
      return 
result.toASCIIString().substring(HttpConfig.getSchemePrefix().length());
{code}
can return an empty String,

But at WebAppProxyServlet, it only check whether the urlString is null or not, 
we should also check the empty string.
                
> ResourceManager UI has invalid tracking URL link for distributed shell 
> application
> ----------------------------------------------------------------------------------
>
>                 Key: YARN-1157
>                 URL: https://issues.apache.org/jira/browse/YARN-1157
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: resourcemanager
>            Reporter: Tassapol Athiapinya
>            Assignee: Xuan Gong
>             Fix For: 2.1.1-beta
>
>         Attachments: YARN-1157.1.patch
>
>
> Submit YARN distributed shell application. Goto ResourceManager Web UI. The 
> application definitely appears. In Tracking UI column, there will be history 
> link. Click on that link. Instead of showing application master web UI, HTTP 
> error 500 would appear.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to