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:33:18 UTC

[jira] [Updated] (HIVE-16860) HostUtil.getTaskLogUrl change between hadoop 2.3 and 2.4 breaks at runtime.

     [ https://issues.apache.org/jira/browse/HIVE-16860?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sushanth Sowmyan updated HIVE-16860:
------------------------------------
    Affects Version/s:     (was: 0.13.0)

> HostUtil.getTaskLogUrl change between hadoop 2.3 and 2.4 breaks at runtime.
> ---------------------------------------------------------------------------
>
>                 Key: HIVE-16860
>                 URL: https://issues.apache.org/jira/browse/HIVE-16860
>             Project: Hive
>          Issue Type: Bug
>          Components: Shims
>    Affects Versions: 0.14.0
>            Reporter: Chris Drome
>            Assignee: Jason Dere
>
> Original issue in HIVE-6900 : 
> {noformat}
> 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.
> {noformat}
> The issue with HIVE-6900 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. :)



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)