<?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>topic Re: try connect to hive DB in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/try-connect-to-hive-DB/m-p/456047#M56126</link>
    <description>&lt;P&gt;I don't know if this will help, but I had trouble with cert mismatching causing the issue. Here are the values I'm using for the custom JDBC URL.&lt;/P&gt;

&lt;P&gt;AuthMech=3 (default is 0) &lt;BR /&gt;
transportMode=http&lt;BR /&gt;
SSL=1&lt;BR /&gt;
httpPath=gateway/default/hive2&lt;BR /&gt;
CAIssuedCertsMismatch=1&lt;BR /&gt;
AllowSelfSignedCerts=1&lt;/P&gt;

&lt;P&gt;This document should help and has all available attributes: &lt;A href="https://www.cloudera.com/documentation/other/connectors/hive-jdbc/latest/Cloudera-JDBC-Driver-for-Apache-Hive-Install-Guide.pdf"&gt;https://www.cloudera.com/documentation/other/connectors/hive-jdbc/latest/Cloudera-JDBC-Driver-for-Apache-Hive-Install-Guide.pdf&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 22 Aug 2019 16:52:08 GMT</pubDate>
    <dc:creator>lroynsky</dc:creator>
    <dc:date>2019-08-22T16:52:08Z</dc:date>
    <item>
      <title>try connect to hive DB</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/try-connect-to-hive-DB/m-p/456046#M56125</link>
      <description>&lt;P&gt;We use DB-Connect v 3.1.3 and we try to connec to the HiveDB and get following Error:&lt;BR /&gt;
  &lt;CODE&gt;Could not open client transport with JDBC Uri: jdbc:hive2://hostname:port/;useSSL=true;sslTrustStore=/opt/splunk/etc/apps/splunk_app_db_connect/certs/store.jks;trustStorePassword=***PW***;transportMode=http;httpPath=gateway/default/hive: Could not create http connection to jdbc:hive2://hostname:port/;useSSL=true;sslTrustStore=/opt/splunk/etc/apps/splunk_app_db_connect/certs/store.jks;trustStorePassword=***PW***;transportMode=http;httpPath=gateway/default/hive. org.apache.http.NoHttpResponseException: The target server failed to respond&lt;/CODE&gt; &lt;/P&gt;

&lt;P&gt;(&lt;CODE&gt;hostname, port and ***PW***&lt;/CODE&gt; are only placeholder!)&lt;/P&gt;

&lt;P&gt;The Server is via IP and Port accessible via ping and netcat.&lt;/P&gt;

&lt;P&gt;Any Idea?&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2019 20:12:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/try-connect-to-hive-DB/m-p/456046#M56125</guid>
      <dc:creator>amielke</dc:creator>
      <dc:date>2019-03-25T20:12:51Z</dc:date>
    </item>
    <item>
      <title>Re: try connect to hive DB</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/try-connect-to-hive-DB/m-p/456047#M56126</link>
      <description>&lt;P&gt;I don't know if this will help, but I had trouble with cert mismatching causing the issue. Here are the values I'm using for the custom JDBC URL.&lt;/P&gt;

&lt;P&gt;AuthMech=3 (default is 0) &lt;BR /&gt;
transportMode=http&lt;BR /&gt;
SSL=1&lt;BR /&gt;
httpPath=gateway/default/hive2&lt;BR /&gt;
CAIssuedCertsMismatch=1&lt;BR /&gt;
AllowSelfSignedCerts=1&lt;/P&gt;

&lt;P&gt;This document should help and has all available attributes: &lt;A href="https://www.cloudera.com/documentation/other/connectors/hive-jdbc/latest/Cloudera-JDBC-Driver-for-Apache-Hive-Install-Guide.pdf"&gt;https://www.cloudera.com/documentation/other/connectors/hive-jdbc/latest/Cloudera-JDBC-Driver-for-Apache-Hive-Install-Guide.pdf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2019 16:52:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/try-connect-to-hive-DB/m-p/456047#M56126</guid>
      <dc:creator>lroynsky</dc:creator>
      <dc:date>2019-08-22T16:52:08Z</dc:date>
    </item>
  </channel>
</rss>

