<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Hive JDBC Connection string with KNOX and Kerberos in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Hive-JDBC-Connection-string-with-KNOX-and-Kerberos/m-p/173199#M135475</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to connect to hive server JDBC through knox that has kerberos authentication. I was able to connect through knox but after enabling kerberos im having some issues. &lt;/P&gt;&lt;P&gt;Prior to kerberos this worked:&lt;/P&gt;&lt;P&gt;jdbc:hive2://&amp;lt;knox_host&amp;gt;:8443/;ssl=true;sslTrustStore=/knox/gateway.jks;trustStorePassword=knox?hive.server2.transport.mode=http;hive.server2.thrift.http.path=gateway/default/hive&lt;/P&gt;&lt;P&gt;connecting directly without knox:&lt;/P&gt;&lt;P&gt;!connect jdbc:hive2://&amp;lt;hiveserver_hist&amp;gt;:10001/default;principal=hive/_HOST@REALM.COM;transportMode=http;httpPath=cliservice&lt;/P&gt;&lt;P&gt;I've tried many different jdbc connection string combinations with no success. Is the principal=hive/_HOST@REALM.COM required? &lt;/P&gt;&lt;P&gt;Last i tried was:&lt;/P&gt;&lt;P&gt;jdbc:hive2://&amp;lt;knox_host&amp;gt;:8443/;ssl=false;httpPath=gateway/default/hive;transportMode=http;sslTrustStore=/knox/gateway.jks;trustStorePassword=knox&lt;/P&gt;&lt;P&gt;Which gave me:&lt;/P&gt;&lt;PRE&gt;org.apache.thrift.transport.TTransportException: org.apache.http.NoHttpResponseException: ec2-54-85-108-57.compute-1.amazonaws.com:8443 failed to respond&lt;/PRE&gt;</description>
    <pubDate>Wed, 28 Sep 2016 23:26:00 GMT</pubDate>
    <dc:creator>mliem</dc:creator>
    <dc:date>2016-09-28T23:26:00Z</dc:date>
  </channel>
</rss>

