You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Sumit Gupta (JIRA)" <ji...@apache.org> on 2015/05/28 02:17:17 UTC

[jira] [Created] (KNOX-550) Error connecting to Hive through Knox in a secure cluster

Sumit Gupta created KNOX-550:
--------------------------------

             Summary: Error connecting to Hive through Knox in a secure cluster
                 Key: KNOX-550
                 URL: https://issues.apache.org/jira/browse/KNOX-550
             Project: Apache Knox
          Issue Type: Bug
          Components: Server
    Affects Versions: 0.6.0, 0.7.0
            Reporter: Sumit Gupta
            Assignee: Sumit Gupta
             Fix For: 0.6.0, 0.7.0


When connecting to Hive either using beeline or the jdbc driver a HTTP 500 error is returned. This only occurs in a kerberized cluster and works fine otherwise. 

Example log snippet:

java.sql.SQLException: Could not open client transport with JDBC Uri: jdbc:hive2://ip-172-31-33-238.ec2.internal:8443/;ssl=true;sslTrustStore=%2Fgrid%2F0%2Fhadoopqe%2Fartifacts%2Fknox%2Fgateway.jks;trustStorePassword=knoxsecret?hive.server2.transport.mode=http;hive.server2.thrift.http.path=/gateway/sandbox/hive: Could not create http connection to jdbc:hive2://ip-172-31-33-238.ec2.internal:8443/;ssl=true;sslTrustStore=%2Fgrid%2F0%2Fhadoopqe%2Fartifacts%2Fknox%2Fgateway.jks;trustStorePassword=knoxsecret?hive.server2.transport.mode=http;hive.server2.thrift.http.path=/gateway/sandbox/hive. HTTP Response code: 500




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)