<?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: How to connect to Hive HA cluster from beeline? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-connect-to-Hive-HA-cluster-from-beeline/m-p/155707#M28862</link>
    <description>&lt;P&gt;Thanks Qi, adding quotes solved the problem.&lt;/P&gt;</description>
    <pubDate>Thu, 19 May 2016 04:31:18 GMT</pubDate>
    <dc:creator>__anonymous__</dc:creator>
    <dc:date>2016-05-19T04:31:18Z</dc:date>
    <item>
      <title>How to connect to Hive HA cluster from beeline?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-connect-to-Hive-HA-cluster-from-beeline/m-p/155705#M28860</link>
      <description>&lt;P&gt;I setup Hive HA by installing 2 HiveServer2 to the cluster. But could not connect to the cluster with beeline following the document instruction from &lt;/P&gt;&lt;P&gt;&lt;A href="http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.4.2/bk_hadoop-ha/content/ha-hs2-service-discovery.html" target="_blank"&gt;http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.4.2/bk_hadoop-ha/content/ha-hs2-service-discovery.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Command used looks like&lt;/P&gt;&lt;P&gt;beeline -u jdbc:hive2://zk01:2181,zk02:2181,zk03:2181/;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=hiveserver2 -n hive -p hadoop&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2016 04:27:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-connect-to-Hive-HA-cluster-from-beeline/m-p/155705#M28860</guid>
      <dc:creator>__anonymous__</dc:creator>
      <dc:date>2016-05-19T04:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to connect to Hive HA cluster from beeline?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-connect-to-Hive-HA-cluster-from-beeline/m-p/155706#M28861</link>
      <description>&lt;P&gt;When using beeline, you need to put the connection string in double quote. The following command should work for you &lt;/P&gt;&lt;P&gt;beeline -u "jdbc:hive2://zk01:2181,zk02:2181,zk03:2181/;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=hiveserver2" -n hive -p hadoop&lt;/P&gt;&lt;P&gt;please let me know if that solves you problem.&lt;/P&gt;&lt;P&gt;-Qi&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2016 04:29:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-connect-to-Hive-HA-cluster-from-beeline/m-p/155706#M28861</guid>
      <dc:creator>qiwang</dc:creator>
      <dc:date>2016-05-19T04:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to connect to Hive HA cluster from beeline?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-connect-to-Hive-HA-cluster-from-beeline/m-p/155707#M28862</link>
      <description>&lt;P&gt;Thanks Qi, adding quotes solved the problem.&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2016 04:31:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-connect-to-Hive-HA-cluster-from-beeline/m-p/155707#M28862</guid>
      <dc:creator>__anonymous__</dc:creator>
      <dc:date>2016-05-19T04:31:18Z</dc:date>
    </item>
  </channel>
</rss>

