[
https://issues.apache.org/jira/browse/HIVE-9302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thejas M Nair updated HIVE-9302:
--------------------------------
Release Note:
Add one new command for beeline: addlocaljar. With this command, users are able
to add local jdbc driver jar file in the beeline side.
There are two kinds of use cases. One is to add an existing known driver like
mysql driver or postgres driver. Current supported driver are postgres and
mysql.
{noformat}
# beeline
beeline> !addlocaldriverjar /path/to/mysql-connector-java-5.1.27-bin.jar
beeline> !connect mysql://host:3306/testdb
{noformat}
And another is to add a customized driver.
{noformat}
# beeline
beeline>!addlocaldriverjar /path/to/DummyDriver-1.0-SNAPSHOT.jar
beeline>!addlocaldrivername org.apache.dummy.DummyDrive
beeline> !connect mysql://host:3306/testdb
{noformat}
was:Add one new command for beeline: addlocaljar. With this command, users
are able to add local driver jar file in the beeline side.
> Beeline add jar local to client
> -------------------------------
>
> Key: HIVE-9302
> URL: https://issues.apache.org/jira/browse/HIVE-9302
> Project: Hive
> Issue Type: New Feature
> Reporter: Brock Noland
> Assignee: Ferdinand Xu
> Attachments: DummyDriver-1.0-SNAPSHOT.jar, HIVE-9302.1.patch,
> HIVE-9302.2.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 jars as
> well.
> It might be useful to do this in the jdbc driver itself.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)