You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "johnson xu (JIRA)" <ji...@apache.org> on 2014/01/15 04:49:19 UTC

[jira] [Updated] (HIVE-6202) Hive Server can not work with client without 'JDBC driver' in CLASSPATH

     [ https://issues.apache.org/jira/browse/HIVE-6202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

johnson xu updated HIVE-6202:
-----------------------------

    Labels: hiveserver  (was: )

> Hive Server can not work with client without 'JDBC driver' in CLASSPATH
> -----------------------------------------------------------------------
>
>                 Key: HIVE-6202
>                 URL: https://issues.apache.org/jira/browse/HIVE-6202
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.12.0
>         Environment: postgres
>            Reporter: johnson xu
>              Labels: hiveserver
>
> Start the hive server daemon without JDBC drive in the CLASSPATH. Then start hive client to connect to hive-server and run 'show tables' will report error 'thrift exception: java.net.SocketException: Broken pipe'.
> {code}
> # hive -h hiveserver -p 10000
> ...
> [hiveserver:10000] hive> show tables;
> [Thrift Error]: org.apache.thrift.transport.TTransportException
> [Thrift Error]: Hive server is not cleaned due to thrift exception: java.net.SocketException: Broken pipe
> {code}
> Check the hive log will find error about 'The specified datastore driver ("org.postgresql.Driver") was not found in the CLA
> SSPATH.'. Add the JDBC driver to hive lib and then the hive operation works fine.
> However, in the former verion (such as hive 0.11.0), the hive server do not need the JDBC drive and work fine with hive client.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)