Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-812

Hive compiled with "ant package" should work with hadoop 0.17

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.4.0
    • Build Infrastructure
    • None
    • Reviewed

    Description

      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.

      Attachments

        1. HIVE-812.2.patch
          14 kB
          Zheng Shao
        2. HIVE-812.1.patch
          7 kB
          Zheng Shao

        Issue Links

          Activity

            People

              zshao Zheng Shao
              zshao Zheng Shao
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: