hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sushanth Sowmyan (JIRA)" <>
Subject [jira] [Commented] (HIVE-9302) Beeline add commands to register local jdbc driver names and jars
Date Mon, 11 May 2015 21:48:00 GMT


Sushanth Sowmyan commented on HIVE-9302:


The 2 jars added by this jira run afoul of the source package generation as part of the 1.2
release, since a source package is not supposed to contain any binaries. If we have binaries,
they're supposed to be brought in as a download step during the compile or test-compile phase
from a well-known published location such as a maven repository. The postgres jar we can depend
on as a download, and it is an open source product that is compatible with the Apache License,
but DummyDriver is worse, because there is no source attached to it either, which makes it
not okay to include in the binary release of hive either.

Thus, for branch-1.2, I am going to do a git rm of those two jars. This, unfortunately, might
cause a few tests added here to fail for branch-1.2, but this should be acceptable for the
time being.

I've created HIVE-10674 for a follow up to this jira.

> Beeline add commands to register local jdbc driver names and jars
> -----------------------------------------------------------------
>                 Key: HIVE-9302
>                 URL:
>             Project: Hive
>          Issue Type: New Feature
>            Reporter: Brock Noland
>            Assignee: Ferdinand Xu
>              Labels: TODOC1.2
>             Fix For: 1.2.0
>         Attachments: DummyDriver-1.0-SNAPSHOT.jar, HIVE-9302.1.patch, HIVE-9302.2.patch,
HIVE-9302.3.patch, HIVE-9302.3.patch, HIVE-9302.4.patch, HIVE-9302.patch, mysql-connector-java-bin.jar,
> At present if a beeline user uses {{add jar}} the path they give is actually on the HS2
server. It'd be great to allow beeline users to add local jdbc driver jars and register custom
jdbc driver names.

This message was sent by Atlassian JIRA

View raw message