You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Carl Steinbach (JIRA)" <ji...@apache.org> on 2010/07/26 07:54:52 UTC

[jira] Updated: (HIVE-812) Hive compiled with "ant package" should work with hadoop 0.17

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

Carl Steinbach updated HIVE-812:
--------------------------------

        Fix Version/s: 0.4.0
    Affects Version/s:     (was: 0.4.0)
                           (was: 0.5.0)
          Component/s: Build Infrastructure

> 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
>          Components: Build Infrastructure
>            Reporter: Zheng Shao
>            Assignee: Zheng Shao
>             Fix For: 0.4.0
>
>         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.