<?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 Unable to connect to beeline in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-connect-to-beeline/m-p/19920#M3229</link>
    <description>&lt;P&gt;I am trying to connect to beeline.&lt;/P&gt;&lt;P&gt;Getting the below error messege:-&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# /usr/lib/hive/bin/beeline&lt;BR /&gt;-hiveconf (No such file or directory)&lt;BR /&gt;hive.aux.jars.path=file:/usr/lib/hive/lib/hive-hbase-handler-0.12.0-cdh5.1.2.jar,file:/usr/lib/hbase/hbase-server.jar,file:/usr/lib/hbase/hbase-hadoop-compat.jar,file:/usr/lib/hbase/hbase-protocol.jar,file:/usr/lib/hbase/hbase-hadoop2-compat.jar,file:/usr/lib/hbase/lib/htrace-core.jar,file:/usr/lib/hbase/lib/htrace-core-2.04.jar,file:/usr/lib/hbase/hbase-client.jar,file:/usr/lib/hbase/hbase-common.jar,file:/usr/share/java/mysql-connector-java.jar,file:/usr/share/cmf/lib/postgresql-9.0-801.jdbc4.jar,file:/usr/share/java/oracle-connector-java.jar (No such file or directory)&lt;BR /&gt;Beeline version 0.12.0-cdh5.1.2 by Apache Hive&lt;BR /&gt;beeline&amp;gt;&lt;/P&gt;&lt;P&gt;beeline&amp;gt; !connect jdbc:hive2://localhost:10000 hive hive123 org.apache.hive.jdbc.HiveDriver&lt;BR /&gt;Connecting to jdbc:hive2://localhost:10000&lt;BR /&gt;Error: Could not open connection to jdbc:hive2://localhost:10000: java.net.ConnectException: Connection refused (state=08S01,code=0)&lt;BR /&gt;0: jdbc:hive2://localhost:10000&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not able trace what I am missing here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help is appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rudra&lt;/P&gt;</description>
    <pubDate>Fri, 16 Sep 2022 09:09:31 GMT</pubDate>
    <dc:creator>Rudra</dc:creator>
    <dc:date>2022-09-16T09:09:31Z</dc:date>
    <item>
      <title>Unable to connect to beeline</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-connect-to-beeline/m-p/19920#M3229</link>
      <description>&lt;P&gt;I am trying to connect to beeline.&lt;/P&gt;&lt;P&gt;Getting the below error messege:-&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# /usr/lib/hive/bin/beeline&lt;BR /&gt;-hiveconf (No such file or directory)&lt;BR /&gt;hive.aux.jars.path=file:/usr/lib/hive/lib/hive-hbase-handler-0.12.0-cdh5.1.2.jar,file:/usr/lib/hbase/hbase-server.jar,file:/usr/lib/hbase/hbase-hadoop-compat.jar,file:/usr/lib/hbase/hbase-protocol.jar,file:/usr/lib/hbase/hbase-hadoop2-compat.jar,file:/usr/lib/hbase/lib/htrace-core.jar,file:/usr/lib/hbase/lib/htrace-core-2.04.jar,file:/usr/lib/hbase/hbase-client.jar,file:/usr/lib/hbase/hbase-common.jar,file:/usr/share/java/mysql-connector-java.jar,file:/usr/share/cmf/lib/postgresql-9.0-801.jdbc4.jar,file:/usr/share/java/oracle-connector-java.jar (No such file or directory)&lt;BR /&gt;Beeline version 0.12.0-cdh5.1.2 by Apache Hive&lt;BR /&gt;beeline&amp;gt;&lt;/P&gt;&lt;P&gt;beeline&amp;gt; !connect jdbc:hive2://localhost:10000 hive hive123 org.apache.hive.jdbc.HiveDriver&lt;BR /&gt;Connecting to jdbc:hive2://localhost:10000&lt;BR /&gt;Error: Could not open connection to jdbc:hive2://localhost:10000: java.net.ConnectException: Connection refused (state=08S01,code=0)&lt;BR /&gt;0: jdbc:hive2://localhost:10000&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not able trace what I am missing here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help is appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rudra&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 09:09:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-connect-to-beeline/m-p/19920#M3229</guid>
      <dc:creator>Rudra</dc:creator>
      <dc:date>2022-09-16T09:09:31Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to connect to beeline</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-connect-to-beeline/m-p/19940#M3230</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had the same issue on HUE connecting to&amp;nbsp;&lt;SPAN&gt; jdbc:hive2://localhost:10000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have you installed hive-server2 ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;ps -aux | grep hive-server2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If not, try this&amp;nbsp;&lt;A target="_blank" href="http://www.cloudera.com/content/cloudera/en/documentation/cdh4/v4-2-0/CDH4-Installation-Guide/cdh4ig_topic_18_5.html" title="hive-server2"&gt;http://www.cloudera.com/content/cloudera/en/documentation/cdh4/v4-2-0/CDH4-Installation-Guide/cdh4ig_topic_18_5.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Fabricio&lt;/P&gt;</description>
      <pubDate>Thu, 09 Oct 2014 18:21:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-connect-to-beeline/m-p/19940#M3230</guid>
      <dc:creator>stabbler</dc:creator>
      <dc:date>2014-10-09T18:21:10Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to connect to beeline</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-connect-to-beeline/m-p/20010#M3231</link>
      <description>&lt;P&gt;The issue got resolved after I configured the Hive gateway server in the edge node.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Oct 2014 10:52:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-connect-to-beeline/m-p/20010#M3231</guid>
      <dc:creator>Rudra</dc:creator>
      <dc:date>2014-10-10T10:52:57Z</dc:date>
    </item>
  </channel>
</rss>

