AnsweredAssumed Answered

JDBC connection issue

Question asked by deeps2105 on Feb 8, 2017
Latest reply on Feb 17, 2017 by maprcommunity

Hi all,

I am trying to connect to Hive2 using beeline from a remote server but getting this error.. Can someone help me in  troubleshooting... This is not a kerberos enable cluster.

 

bash-4.1$ beeline
WARNING: Use "yarn jar" to launch YARN applications.
Beeline version 1.2.1000.2.4.2.0-258 by Apache Hive


beeline> !connect jdbc:hive2://mymrcluster.com:10000/default;ssl=true;sslTrustStore=/home/trust.jks;trustStorePassword=bfd123

Connecting to jdbc:hive2://mymrcluster.com:10000/default;ssl=true;sslTrustStore=home/trust.jks;trustStorePassword=bfd123
Enter username for jdbc:hive2://mymrcluster.com:10000/default;ssl=true;sslTrustStore=home/trust.jks;trustStorePassword=bfd123: mruser
Enter password for jdbc:hive2://mymrcluster.com:10000/default;ssl=true;sslTrustStore=home/trust.jks;trustStorePassword=bfd123: ********


Error: Could not open client transport with JDBC Uri: jdbc:hive2://mymrcluster.com:10000/default;ssl=true;sslTrustStore=home/trust.jks;trustStorePassword=abv123: Error creating the transport (state=08S01,code=0)

Outcomes