hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zheng Shao (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HIVE-812) Hive compiled with "ant package" should work with hadoop 0.17
Date Thu, 03 Sep 2009 08:50:32 GMT

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

Zheng Shao commented on HIVE-812:
---------------------------------

HIVE-812.2.patch: fixed some other places that also called Text.compareTo(Text)


> Hive compiled with "ant package" should work with hadoop 0.17
> -------------------------------------------------------------
>
>                 Key: HIVE-812
>                 URL: https://issues.apache.org/jira/browse/HIVE-812
>             Project: Hadoop Hive
>          Issue Type: Bug
>    Affects Versions: 0.4.0, 0.5.0
>            Reporter: Zheng Shao
>            Assignee: Zheng Shao
>         Attachments: HIVE-812.1.patch, HIVE-812.2.patch
>
>
> The goal of shims is to make Hive compiled with "ant package" to work with any version
of hadoop.
> However currently it is not working with hadoop 0.17 for a minor issue:
> org.apache.hadoop.io.Text.compareTo was inherited (and NOT overriden) from org.apache.hadoop.io.BinaryComparable.compareTo
in hadoop 0.18 and above. When compiling Hive by default, we will compile it against hadoop
0.19.0. Java compiler will automatically replace org.apache.hadoop.io.Text.compareTo with
org.apache.hadoop.io.BinaryComparable.compareTo in some places, and that caused the problem.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message