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

Remove HBase libraries from Hive distribution

    XMLWordPrintableJSON

Details

    Description

      Hive currently packages HBase libraries into its lib directory.
      It also adds the HBase libraries separately to its classpath in the hive startup script.

      Having both mechanisms is redundant, and it also causes errors, as the standard HBase libraries packaged into Hive are unshaded, while the libraries added by hbase mapredcp
      are shaded, and the two are NOT compatible when custom coprocessors are used, and in some cases the classpaths during local execution and for MR/TEZ jobs are mutually incompatible.

      I propose removing all HBase libraries from the distribution, and pulling them via the hbase mapredcp mechanism.

      This also solves the old problem of including ancient HBase alpha versions Hive.

      Attachments

        Issue Links

          Activity

            People

              stoty Istvan Toth
              stoty Istvan Toth
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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