[
https://issues.apache.org/jira/browse/YARN-1976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13980487#comment-13980487
]
Jian He commented on YARN-1976:
-------------------------------
Patch looks good overall, test case: we may just change
{code}
private static final String RM_WEBAPP_ADDR =
WebAppUtils.getResolvedRMWebAppURLWithoutScheme(new Configuration());
{code}
to use getResolvedRMWebAppURLWithScheme ?
> Tracking url missing http protocol for FAILED application
> ---------------------------------------------------------
>
> Key: YARN-1976
> URL: https://issues.apache.org/jira/browse/YARN-1976
> Project: Hadoop YARN
> Issue Type: Bug
> Reporter: Yesha Vora
> Assignee: Junping Du
> Attachments: YARN-1976.patch
>
>
> Run yarn application -list -appStates FAILED, It does not print http
> protocol name like FINISHED apps.
> {noformat}
> -bash-4.1$ yarn application -list -appStates FINISHED,FAILED,KILLED
> 14/04/15 23:55:07 INFO client.RMProxy: Connecting to ResourceManager at host
> Total number of applications (application-types: [] and states: [FINISHED,
> FAILED, KILLED]):4
> Application-Id Application-Name
> Application-Type User Queue State
> Final-State Progress Tracking-URL
> application_1397598467870_0004 Sleep job
> MAPREDUCE hrt_qa default FINISHED
> SUCCEEDED 100%
> http://host:19888/jobhistory/job/job_1397598467870_0004
> application_1397598467870_0003 Sleep job
> MAPREDUCE hrt_qa default FINISHED
> SUCCEEDED 100%
> http://host:19888/jobhistory/job/job_1397598467870_0003
> application_1397598467870_0002 Sleep job
> MAPREDUCE hrt_qa default FAILED
> FAILED 100%
> host:8088/cluster/app/application_1397598467870_0002
> application_1397598467870_0001 word count
> MAPREDUCE hrt_qa default FINISHED
> SUCCEEDED 100%
> http://host:19888/jobhistory/job/job_1397598467870_0001
> {noformat}
> It only prints 'host:8088/cluster/app/application_1397598467870_0002' instead
> 'http://host:8088/cluster/app/application_1397598467870_0002'
--
This message was sent by Atlassian JIRA
(v6.2#6252)