<?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 Re: hive connection via zookeeper in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/hive-connection-via-zookeeper/m-p/287858#M213285</link>
    <description>&lt;P&gt;Thanks Rohit, I tried both options but it did not helped me.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Apparently cloudera engineer is saying that this option(i.e, connecting to hive via zookeeper) will not be supported in CDH 5.16.2 version.&lt;FONT color="#FF0000"&gt; Is it true?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;beeline -u "jdbc:hive2://ZK1:2181,ZK2:2181,ZK3:2181/;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=hive_zookeeper_namespace_hive;transportMode=http;httpPath=cliservice;"&lt;BR /&gt;Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release&lt;BR /&gt;scan complete in 1ms&lt;BR /&gt;Connecting to jdbc:hive2://ZK1:2181,ZK2:2181,ZK3:2181/;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=hive_zookeeper_namespace_hive;transportMode=http;httpPath=cliservice;&lt;BR /&gt;20/01/17 09:27:26 [main]: INFO jdbc.HiveConnection: Failed to connect to null:0&lt;BR /&gt;20/01/17 09:27:27 [main]: INFO jdbc.HiveConnection: Failed to connect to null:0&lt;BR /&gt;20/01/17 09:27:27 [main]: INFO jdbc.HiveConnection: Failed to connect to null:0&lt;BR /&gt;20/01/17 09:27:27 [main]: INFO jdbc.HiveConnection: Failed to connect to null:0&lt;BR /&gt;20/01/17 09:27:27 [main]: INFO jdbc.HiveConnection: Failed to connect to null:0&lt;BR /&gt;20/01/17 09:27:27 [main]: INFO jdbc.HiveConnection: Failed to connect to null:0&lt;BR /&gt;20/01/17 09:27:27 [main]: INFO jdbc.HiveConnection: Failed to connect to null:0&lt;BR /&gt;20/01/17 09:27:27 [main]: INFO jdbc.HiveConnection: Failed to connect to null:0&lt;BR /&gt;20/01/17 09:27:27 [main]: INFO jdbc.HiveConnection: Failed to connect to null:0&lt;BR /&gt;20/01/17 09:27:27 [main]: INFO jdbc.HiveConnection: Failed to connect to null:0&lt;BR /&gt;20/01/17 09:27:27 [main]: INFO jdbc.HiveConnection: Failed to connect to null:0&lt;BR /&gt;20/01/17 09:27:27 [main]: INFO jdbc.HiveConnection: Failed to connect to null:0&lt;BR /&gt;20/01/17 09:27:27 [main]: INFO jdbc.HiveConnection: Failed to connect to null:0&lt;BR /&gt;20/01/17 09:27:27 [main]: INFO jdbc.HiveConnection: Failed to connect to null:0&lt;BR /&gt;20/01/17 09:27:27 [main]: INFO jdbc.HiveConnection: Failed to connect to null:0&lt;BR /&gt;Error: Could not open client transport for any of the Server URI's in ZooKeeper: Unable to read HiveServer2 configs from ZooKeeper (state=08S01,code=0)&lt;BR /&gt;Beeline version 1.1.0-cdh5.16.2 by Apache Hive&lt;BR /&gt;beeline&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;beeline -u "jdbc:hive2://ZK1:2181,ZK2:2181,ZK3:2181/;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=hive_zookeeper_namespace_hive;"&lt;BR /&gt;Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release&lt;BR /&gt;scan complete in 1ms&lt;BR /&gt;Connecting to jdbc:hive2://ZK1:2181,ZK2:2181,ZK3:2181/;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=hive_zookeeper_namespace_hive;&lt;BR /&gt;java.lang.NullPointerException&lt;BR /&gt;Beeline version 1.1.0-cdh5.16.2 by Apache Hive&lt;BR /&gt;0: jdbc:hive2://ZK1:2181, (closed)&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Raghu.&lt;/P&gt;</description>
    <pubDate>Fri, 17 Jan 2020 14:32:40 GMT</pubDate>
    <dc:creator>raghu9raghavend</dc:creator>
    <dc:date>2020-01-17T14:32:40Z</dc:date>
  </channel>
</rss>

