You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Sushanth Sowmyan (JIRA)" <ji...@apache.org> on 2017/06/08 18:29:19 UTC
[jira] [Commented] (HIVE-6900) HostUtil.getTaskLogUrl signature
change causes compilation to fail
[ https://issues.apache.org/jira/browse/HIVE-6900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16043196#comment-16043196 ]
Sushanth Sowmyan commented on HIVE-6900:
----------------------------------------
Btw, I think this issue is still not completely fixed, in that compilation succeeds, but this fails now at runtime because https://issues.apache.org/jira/secure/attachment/12651497/MAPREDUCE-5830.patch was committed in hadoop - The result is that our reflection check to see if the 23_METHOD exists succeeds, which means 23_METHOD will not be null, and 24_METHOD will be null, and thus, at runtime, we will wind up calling 23_METHOD. If hadoop had not "fixed" this bug, with this fix, our shim works, but with their fix, it looks like we still have a runtime problem. :)
I'm going to open a new jira for this and link them, but wanted to mention the rationale here, so that watchers of this jira are notified.
> 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
> Assignee: Jason Dere
> Fix For: 0.14.0
>
> Attachments: HIVE-6900.1.patch.txt, HIVE-6900.2.patch
>
>
> 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.3.15#6346)