<?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: Cannot connect to beeline in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-connect-to-beeline/m-p/71775#M1055</link>
    <description>&lt;P&gt;hi manikumar&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;are you solved the problem&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have the same problem , i cant write password , they told me error&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;please help me if ur code work send it to me&lt;/P&gt;</description>
    <pubDate>Thu, 12 Jul 2018 19:36:57 GMT</pubDate>
    <dc:creator>ghizlanehrk</dc:creator>
    <dc:date>2018-07-12T19:36:57Z</dc:date>
    <item>
      <title>Cannot connect to beeline</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-connect-to-beeline/m-p/5723#M1020</link>
      <description>&lt;P&gt;I am trying to connect beeline from client system but I am not able to...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Beeline version 0.10.0-cdh4.5.0 by Apache Hive&lt;BR /&gt;beeline&amp;gt;&lt;STRONG&gt; !connect jdbc:hive2://hostname.com:10000 org.apache.hadoop.hive.jdbc.HiveDriver&lt;/STRONG&gt;&lt;BR /&gt;scan complete in 6ms&lt;BR /&gt;Connecting to jdbc:hive2://hostname.com:10000&lt;BR /&gt;Enter password for jdbc:hive2://hostname.com:10000: ********&lt;BR /&gt;Error: Invalid URL: jdbc:hive2://hostname.com:10000 (state=08S01,code=0)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Am I missing anything here...Please advice..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 08:53:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-connect-to-beeline/m-p/5723#M1020</guid>
      <dc:creator>Manikumar Juttukonda</dc:creator>
      <dc:date>2022-09-16T08:53:38Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot connect to beeline</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-connect-to-beeline/m-p/5731#M1021</link>
      <description>&lt;P&gt;It seems you're using the wrong JDBC driver. For HiveServer2, the JDBC driver class is &lt;STRONG&gt;org.apache.hive.jdbc.HiveDriver.&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2014 18:28:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-connect-to-beeline/m-p/5731#M1021</guid>
      <dc:creator>xzhang</dc:creator>
      <dc:date>2014-02-06T18:28:26Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot connect to beeline</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-connect-to-beeline/m-p/5735#M1022</link>
      <description>I also tried using org.apache.hive.jdbc.HiveDriver but no luck&lt;BR /&gt;&lt;BR /&gt;!connect jdbc:hive2://hostname:10000 org.apache.hive.jdbc.HiveDriver&lt;BR /&gt;scan complete in 6ms&lt;BR /&gt;Connecting to jdbc:hive2://hostname:10000&lt;BR /&gt;Enter password for jdbc:hive2://hostname:10000: ********&lt;BR /&gt;Error: Invalid URL: jdbc:hive2://hostname:10000 (state=08S01,code=0)</description>
      <pubDate>Thu, 06 Feb 2014 18:41:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-connect-to-beeline/m-p/5735#M1022</guid>
      <dc:creator>Manikumar Juttukonda</dc:creator>
      <dc:date>2014-02-06T18:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot connect to beeline</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-connect-to-beeline/m-p/5737#M1023</link>
      <description>We are using thrift service to connect to our hive metastore...&lt;BR /&gt;For thrift, need to use a different URL ?</description>
      <pubDate>Thu, 06 Feb 2014 18:54:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-connect-to-beeline/m-p/5737#M1023</guid>
      <dc:creator>Manikumar Juttukonda</dc:creator>
      <dc:date>2014-02-06T18:54:38Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot connect to beeline</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-connect-to-beeline/m-p/5739#M1024</link>
      <description>I must be misunderstanding the issue. If you need to connect HiveServer2&lt;BR /&gt;via JDBC, then the URL given for beeline should be one that has&lt;BR /&gt;HiveServer2's hostname/port.&lt;BR /&gt;&lt;BR /&gt;If you need to connect to MetaStore via thrift, then you need to give&lt;BR /&gt;MetaStore server's hostname and port number to your thrift client.&lt;BR /&gt;&lt;BR /&gt;HiveServer2 server and MetaStore server are two different servers running&lt;BR /&gt;on different host/port.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 06 Feb 2014 19:03:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-connect-to-beeline/m-p/5739#M1024</guid>
      <dc:creator>xzhang</dc:creator>
      <dc:date>2014-02-06T19:03:04Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot connect to beeline</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-connect-to-beeline/m-p/5743#M1025</link>
      <description>Sorry for confusing you...&lt;BR /&gt;I need to connect to the hiveserver2 using beeline and create a database.&lt;BR /&gt;the URL would be jdbc:hive2://hiveserver2_hostname:10000 org.apache.hive.jdbc.HiveDriver ?&lt;BR /&gt;I tried this too, got the same error.</description>
      <pubDate>Thu, 06 Feb 2014 19:49:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-connect-to-beeline/m-p/5743#M1025</guid>
      <dc:creator>Manikumar Juttukonda</dc:creator>
      <dc:date>2014-02-06T19:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot connect to beeline</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-connect-to-beeline/m-p/5745#M1026</link>
      <description>What would be the username and password that I need to supply while executing this command ?</description>
      <pubDate>Thu, 06 Feb 2014 20:09:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-connect-to-beeline/m-p/5745#M1026</guid>
      <dc:creator>Manikumar Juttukonda</dc:creator>
      <dc:date>2014-02-06T20:09:31Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot connect to beeline</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-connect-to-beeline/m-p/5747#M1027</link>
      <description>Those would be what you're given by the HiverServer2 admin. If your&lt;BR /&gt;HiverServer2 instance is running with the default, then just leave them&lt;BR /&gt;blank.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 06 Feb 2014 20:18:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-connect-to-beeline/m-p/5747#M1027</guid>
      <dc:creator>xzhang</dc:creator>
      <dc:date>2014-02-06T20:18:04Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot connect to beeline</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-connect-to-beeline/m-p/5749#M1028</link>
      <description>When I leave it blank it is asking me for the password. I am not sure which password to supply...</description>
      <pubDate>Thu, 06 Feb 2014 20:19:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-connect-to-beeline/m-p/5749#M1028</guid>
      <dc:creator>Manikumar Juttukonda</dc:creator>
      <dc:date>2014-02-06T20:19:26Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot connect to beeline</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-connect-to-beeline/m-p/5751#M1029</link>
      <description>I tried with all the hiveserver2 running hosts...still the same problem.&lt;BR /&gt;when I do !list i see below output&lt;BR /&gt;scan complete in 1211ms&lt;BR /&gt;9 driver classes found&lt;BR /&gt;Compliant Version Driver Class&lt;BR /&gt;yes 1.0 org.apache.commons.dbcp.PoolingDriver&lt;BR /&gt;yes 10.4 org.apache.derby.jdbc.AutoloadedDriver&lt;BR /&gt;yes 10.4 org.apache.derby.jdbc.EmbeddedDriver&lt;BR /&gt;no 0.10 org.apache.hadoop.hive.jdbc.HiveDriver&lt;BR /&gt;no 0.10 org.apache.hive.jdbc.HiveDriver&lt;BR /&gt;yes 1.0 org.datanucleus.store.rdbms.datasource.dbcp.PoolingDriver&lt;BR /&gt;no 1.8 org.hsqldb.jdbcDriver&lt;BR /&gt;no 9.0 org.postgresql.Driver&lt;BR /&gt;yes 2.1 sun.jdbc.odbc.JdbcOdbcDriver&lt;BR /&gt;&lt;BR /&gt;For the driver you recommended me to use says Compliant "no". Do I need to worry about this ?</description>
      <pubDate>Thu, 06 Feb 2014 20:22:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-connect-to-beeline/m-p/5751#M1029</guid>
      <dc:creator>Manikumar Juttukonda</dc:creator>
      <dc:date>2014-02-06T20:22:58Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot connect to beeline</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-connect-to-beeline/m-p/5753#M1030</link>
      <description>Also leave it blank.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 06 Feb 2014 20:26:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-connect-to-beeline/m-p/5753#M1030</guid>
      <dc:creator>xzhang</dc:creator>
      <dc:date>2014-02-06T20:26:04Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot connect to beeline</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-connect-to-beeline/m-p/5755#M1031</link>
      <description>no luck same error...&lt;BR /&gt;&lt;BR /&gt;!connect jdbc:hive2://hostname:10000 org.apache.hive.jdbc.HiveDriver&lt;BR /&gt;Connecting to jdbc:hive2://hostname:10000&lt;BR /&gt;Enter password for jdbc:hive2://hostname:10000:&lt;BR /&gt;Error: Invalid URL: jdbc:hive2://hostname:10000 (state=08S01,code=0)</description>
      <pubDate>Thu, 06 Feb 2014 20:27:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-connect-to-beeline/m-p/5755#M1031</guid>
      <dc:creator>Manikumar Juttukonda</dc:creator>
      <dc:date>2014-02-06T20:27:50Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot connect to beeline</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-connect-to-beeline/m-p/5757#M1032</link>
      <description>Could you try not specifying the driver class and let the system take the&lt;BR /&gt;default?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 06 Feb 2014 20:29:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-connect-to-beeline/m-p/5757#M1032</guid>
      <dc:creator>xzhang</dc:creator>
      <dc:date>2014-02-06T20:29:04Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot connect to beeline</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-connect-to-beeline/m-p/5759#M1033</link>
      <description>Still same error...&lt;BR /&gt;&lt;BR /&gt;Connecting to jdbc:hive2://hostname:10000&lt;BR /&gt;Enter username for jdbc:hive2://hostname:10000:&lt;BR /&gt;Enter password for jdbc:hive2://hostname:10000:&lt;BR /&gt;Error: Invalid URL: jdbc:hive2://hostname:10000 (state=08S01,code=0)&lt;BR /&gt;</description>
      <pubDate>Thu, 06 Feb 2014 20:31:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-connect-to-beeline/m-p/5759#M1033</guid>
      <dc:creator>Manikumar Juttukonda</dc:creator>
      <dc:date>2014-02-06T20:31:23Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot connect to beeline</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-connect-to-beeline/m-p/5763#M1034</link>
      <description>Could you try "beeline -u jdbc:hive2://" to see if this work for you?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 06 Feb 2014 20:40:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-connect-to-beeline/m-p/5763#M1034</guid>
      <dc:creator>xzhang</dc:creator>
      <dc:date>2014-02-06T20:40:04Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot connect to beeline</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-connect-to-beeline/m-p/5765#M1035</link>
      <description>&lt;P&gt;Still the same...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;$ beeline -u jdbc:hive2://hostname:10000&lt;BR /&gt;scan complete in 10ms&lt;BR /&gt;Connecting to jdbc:hive2://hostname:10000&lt;BR /&gt;Error: Invalid URL: jdbc:hive2://hostname:10000 (state=08S01,code=0)&lt;BR /&gt;Beeline version 0.10.0-cdh4.5.0 by Apache Hive&lt;BR /&gt;0: jdbc:hive2://hostname.c&amp;gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2014 20:43:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-connect-to-beeline/m-p/5765#M1035</guid>
      <dc:creator>Manikumar Juttukonda</dc:creator>
      <dc:date>2014-02-06T20:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot connect to beeline</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-connect-to-beeline/m-p/5767#M1036</link>
      <description>I meant you literally try "beeline -u jdbc:hive2://"...</description>
      <pubDate>Thu, 06 Feb 2014 20:47:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-connect-to-beeline/m-p/5767#M1036</guid>
      <dc:creator>xzhang</dc:creator>
      <dc:date>2014-02-06T20:47:07Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot connect to beeline</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-connect-to-beeline/m-p/5769#M1037</link>
      <description>&lt;P&gt;I see a different message now...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;beeline -u jdbc:hive2://&lt;BR /&gt;scan complete in 10ms&lt;BR /&gt;Connecting to jdbc:hive2://&lt;BR /&gt;14/02/06 15:48:18 WARN conf.HiveConf: DEPRECATED: Configuration property hive.metastore.local no longer has any effect. Make sure to provide a valid value for hive.metastore.uris if you are connecting to a remote metastore.&lt;BR /&gt;Unable to login to kerberos with given principal/keytab&lt;BR /&gt;Beeline version 0.10.0-cdh4.5.0 by Apache Hive&lt;BR /&gt;0: jdbc:hive2://&amp;gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2014 20:49:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-connect-to-beeline/m-p/5769#M1037</guid>
      <dc:creator>Manikumar Juttukonda</dc:creator>
      <dc:date>2014-02-06T20:49:11Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot connect to beeline</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-connect-to-beeline/m-p/5775#M1038</link>
      <description>can you show the result of the following:&lt;BR /&gt;&lt;BR /&gt;env | grep HIVE&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 06 Feb 2014 21:06:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-connect-to-beeline/m-p/5775#M1038</guid>
      <dc:creator>xzhang</dc:creator>
      <dc:date>2014-02-06T21:06:04Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot connect to beeline</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-connect-to-beeline/m-p/5777#M1039</link>
      <description>Command returned nothing...&lt;BR /&gt;&lt;BR /&gt;I don't have anything in env that match pattern "HIVE"</description>
      <pubDate>Thu, 06 Feb 2014 21:08:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-connect-to-beeline/m-p/5777#M1039</guid>
      <dc:creator>Manikumar Juttukonda</dc:creator>
      <dc:date>2014-02-06T21:08:07Z</dc:date>
    </item>
  </channel>
</rss>

