hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Szehon Ho (JIRA)" <>
Subject [jira] [Commented] (HIVE-6593) Create a maven assembly for hive-jdbc
Date Sat, 08 Mar 2014 01:27:45 GMT


Szehon Ho commented on HIVE-6593:

Hi, I'm interested in working on this , as I had worked on HIVE-5611

But it would be good if somebody can help me clarify the spec-file, as I am not so familiar
with bigtop?

%files jdbc
%dir %{usr_lib_hive}
%dir %{usr_lib_hive}/lib

I am assuming that the list of /lib/*.jar is what we want in the jdbc package.  But do the
first few lines (defaultattr, dir, dir) have any significance?

Also one more thing I found, is that slf4j is no longer in the apache hive distributable,
last that I built it.

> Create a maven assembly for hive-jdbc
> -------------------------------------
>                 Key: HIVE-6593
>                 URL:
>             Project: Hive
>          Issue Type: Improvement
>          Components: Build Infrastructure
>    Affects Versions: 0.12.0
>            Reporter: Mark Grover
> 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:
> 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.

This message was sent by Atlassian JIRA

View raw message