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

Update protobuf version in pom.xml

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.1.0
    • None
    • Hive
    • ARM64 Server machines with CentOS/Debian OS.

    Description

      The following protoc version's used in hive is very old i.e. 2.5.0 https://repo.maven.apache.org/maven2/com/google/protobuf/protoc/ .  The v2.5.0 does not have aarch64 support. But the AArch64 support started from v3.5.0 on-words in google's protobuf project release.  The hive release version branch v3/3.0/3.1/master branch build fails on AArch64 because of old protoc version 2.5.0, in which there is no AArch64 support/exe available.

      After I replaced to latest available protoc version 3.6.1 the hive master branch pom.xml files, The hive compiled without any issues on ARM64 machine.  This Jira ticket is used to propose a patch on Hive mailing list https://git.linaro.org/people/naresh.bhat/apache/hive.git/  to update pom.xml files protobuf version.  I will also cherry-pick patches for other branches v3/3.0/3.1, and create a pull request.

       

      Attachments

        1. HIVE-20359.01.patch
          2 kB
          David Lavati
        2. HIVE-20359.01.patch
          2 kB
          David Lavati
        3. HIVE-20359.01.patch
          2 kB
          David Lavati
        4. HIVE-20359.01.branch-3.1.patch
          1 kB
          David Lavati
        5. HIVE-20359.01.branch-3.1.patch
          1 kB
          David Lavati

        Issue Links

          Activity

            People

              Unassigned Unassigned
              nbhat Naresh Bhat
              Votes:
              1 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 10m
                  1h 10m