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

Vinod Kumar Vavilapalli commented on HIVE-6900:
-----------------------------------------------

I looked at the issue together with [~jdere]. Haven't reviewed the patch but 
overall this can let the compilation pass. The eventual link is used elsewhere 
in Hive to pull the logs and do some processing. The link used in the patch 
will still not work as the URLs changed completely.

We can do this in two halves
 - Fix compilation for now
 - And then follow up in YARN with a right API that can expose logs to users 
and change Hive to use that.

For the compilation fix, we can put back the previous API in YARN via 
MAPREDUCE-5830 or we can do the fix as done here in Hive.

Thoughts?

> HostUtil.getTaskLogUrl signature change causes compilation to fail
> ------------------------------------------------------------------
>
>                 Key: HIVE-6900
>                 URL: https://issues.apache.org/jira/browse/HIVE-6900
>             Project: Hive
>          Issue Type: Bug
>          Components: Shims
>    Affects Versions: 0.13.0, 0.14.0
>            Reporter: Chris Drome
>         Attachments: HIVE-6900.1.patch.txt
>
>
> The signature for HostUtil.getTaskLogUrl has changed between Hadoop-2.3 and 
> Hadoop-2.4.
> Code in 
> shims/0.23/src/main/java/org/apache/hadoop/hive/shims/Hadoop23Shims.java 
> works with Hadoop-2.3 method and causes compilation failure with Hadoop-2.4.



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

Reply via email to