Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-1369

Hive Debian rules file does not set maven.repo.local

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      The Hive Debian rules file when calling do-component-build does not set the maven.repo.local command line argument and so when Hive builds it uses the default location for the local maven repo, which breaks if HBase was built in a different m2 repo while Hive was using the default, causing Hive to be unable to find hbase-common.

      Noticied this issue because my HOME variable was not set to /root and was instead /, which caused HBase to put artifacts in /.m2 while Hive was looking for them in /root/.m2.

      You can see https://github.com/apache/bigtop/blob/master/bigtop-packages/src/deb/hbase/rules that -Dmaven.repo.local gets set, but in https://github.com/apache/bigtop/blob/master/bigtop-packages/src/deb/hive/rules it's not.

      I also saw that HCatalog's rules file does not set the variable as well, but I haven't check yet if that breaks things.

        Activity

        Hide
        oflebbe Olaf Flebbe added a comment -

        I think this issue is obsolete now. Would like to close it.

        Show
        oflebbe Olaf Flebbe added a comment - I think this issue is obsolete now. Would like to close it.
        Hide
        rvs Roman Shaposhnik added a comment -

        Good catch!

        Show
        rvs Roman Shaposhnik added a comment - Good catch!

          People

          • Assignee:
            Unassigned
            Reporter:
            jeid Julien Eid
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:

              Development