You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Sushanth Sowmyan (JIRA)" <ji...@apache.org> on 2015/05/11 23:48:00 UTC
[jira] [Commented] (HIVE-9302) Beeline add commands to register
local jdbc driver names and jars
[ https://issues.apache.org/jira/browse/HIVE-9302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14538698#comment-14538698 ]
Sushanth Sowmyan commented on HIVE-9302:
----------------------------------------
Hi,
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: https://issues.apache.org/jira/browse/HIVE-9302
> 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, postgresql-9.3.jdbc3.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
(v6.3.4#6332)