[
https://issues.apache.org/jira/browse/HIVE-17136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Carter Shanklin updated HIVE-17136:
-----------------------------------
Component/s: Beeline
> Unhelpful beeline error message when you attempt to connect to HTTP HS2 using
> binary with SSL enabled
> -----------------------------------------------------------------------------------------------------
>
> Key: HIVE-17136
> URL: https://issues.apache.org/jira/browse/HIVE-17136
> Project: Hive
> Issue Type: Bug
> Components: Beeline
> Reporter: Carter Shanklin
>
> In this case the error message is "Invalid status 72".
> Full error:
> Error: Could not open client transport with JDBC Uri:
> jdbc:hive2://hdp261.example.com:10001/default;ssl=true;sslTrustStore=/etc/truststore.jks;trustStorePassword=abcdef;httpPath=cliservice:
> Invalid status 72 (state=08S01,code=0)
> In my environment the connection works if I add transportMode=http.
> Compare this error to the error you get if you try to connect to something
> that is not HiveServer2 like SSH:
> Error: Could not open client transport with JDBC Uri:
> jdbc:hive2://hdp261.example.com:22/default;ssl=true;sslTrustStore=/etc/truststore.jks;trustStorePassword=abcdef;httpPath=cliservice:
> javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
> (state=08S01,code=0)
> If you got this error when you connect to HS2 it would be a lot easier to
> diagnose.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)