[
https://issues.apache.org/jira/browse/MAPREDUCE-5857?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Kanter updated MAPREDUCE-5857:
-------------------------------------
Assignee: (was: Robert Kanter)
I looked into this a bit and it has a number of problems.
{{HostUtil.getTaskLogUrl()}} is only called in YARN/MR by the 'mapred job
-history' CLI command if you pass an undocumented "all" option to it.
Even then, it doesn't work properly:
1. My job ran on {{rkanter-5.ent.cloudera.com}} and it printed out
{{http://5.ent.cloudera.com:8042/tasklog?attemptid=attempt_1398191410609_0020_m_000001_0}},
which mangled the hostname
2. Even with the correct hostname, that URL returns a 404 error because it's
not the correct
I think the equivalent proper URL is actually something in the JHS...
> Need task log URL API for external users
> ----------------------------------------
>
> Key: MAPREDUCE-5857
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-5857
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Reporter: Jason Dere
>
> From HIVE-6900, Hive was using HostUtil.getTaskLogUrl() to try to get task
> logs for error reporting, but this is a private/unstable API. Make a public
> API for this purpose.
--
This message was sent by Atlassian JIRA
(v6.2#6252)