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

Create a maven assembly for hive-jdbc

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 0.12.0
    • Fix Version/s: 0.14.0
    • Component/s: Build Infrastructure
    • Labels:
      None

      Description

      Currently in Apache Bigtop we bundle and distribute Hive. In particular, for users to not have to install the entirety of Hive on machines that are just jdbc clients, we have a special package which is a subset of hive, called hive-jdbc that bundles only the jdbc driver jar and it's dependencies.

      However, because Hive doesn't have an assembly for the jdbc jar, we have to hack and hardcode the list of jdbc jars and it's dependencies:
      https://github.com/apache/bigtop/blob/master/bigtop-packages/src/rpm/hive/SPECS/hive.spec#L361

      As Hive moves to Maven, it would be pretty fantastic if Hive could leverage the maven-assembly-plugin and generate a .tar.gz assembly for what's required for jdbc gateway machines. That we can simply take that distribution and build a jdbc package from it without having to hard code jar names and dependencies. That would make the process much less error prone.

      NO PRECOMMIT TESTS

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                szehon Szehon Ho
                Reporter:
                mgrover Mark Grover
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: