Uploaded image for project: 'Apache Knox'
  1. Apache Knox
  2. KNOX-550

Error connecting to Hive through Knox in a secure cluster

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.6.0, 0.7.0
    • 0.6.0, 0.7.0
    • Server
    • None

    Description

      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

      Attachments

        Activity

          People

            sumit.gupta Sumit Gupta
            sumit.gupta Sumit Gupta
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: