<?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 Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Cannot-connect-to-beeline/m-p/5785#M4896</link>
    <description>&lt;P&gt;No luck...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$ beeline -u jdbc:hive2://hostname:10000;principal=PRINCIPAL.COMPANY.COM&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;/P&gt;</description>
    <pubDate>Thu, 06 Feb 2014 21:36:27 GMT</pubDate>
    <dc:creator>Manikumar Juttukonda</dc:creator>
    <dc:date>2014-02-06T21:36:27Z</dc:date>
    <item>
      <title>Cannot connect to beeline</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cannot-connect-to-beeline/m-p/5723#M4875</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/Support-Questions/Cannot-connect-to-beeline/m-p/5723#M4875</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/Support-Questions/Cannot-connect-to-beeline/m-p/5731#M4876</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/Support-Questions/Cannot-connect-to-beeline/m-p/5731#M4876</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/Support-Questions/Cannot-connect-to-beeline/m-p/5735#M4877</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/Support-Questions/Cannot-connect-to-beeline/m-p/5735#M4877</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/Support-Questions/Cannot-connect-to-beeline/m-p/5737#M4878</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/Support-Questions/Cannot-connect-to-beeline/m-p/5737#M4878</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/Support-Questions/Cannot-connect-to-beeline/m-p/5739#M4879</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/Support-Questions/Cannot-connect-to-beeline/m-p/5739#M4879</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/Support-Questions/Cannot-connect-to-beeline/m-p/5743#M4880</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/Support-Questions/Cannot-connect-to-beeline/m-p/5743#M4880</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/Support-Questions/Cannot-connect-to-beeline/m-p/5745#M4881</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/Support-Questions/Cannot-connect-to-beeline/m-p/5745#M4881</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/Support-Questions/Cannot-connect-to-beeline/m-p/5747#M4882</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/Support-Questions/Cannot-connect-to-beeline/m-p/5747#M4882</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/Support-Questions/Cannot-connect-to-beeline/m-p/5749#M4883</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/Support-Questions/Cannot-connect-to-beeline/m-p/5749#M4883</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/Support-Questions/Cannot-connect-to-beeline/m-p/5751#M4884</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/Support-Questions/Cannot-connect-to-beeline/m-p/5751#M4884</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/Support-Questions/Cannot-connect-to-beeline/m-p/5753#M4885</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/Support-Questions/Cannot-connect-to-beeline/m-p/5753#M4885</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/Support-Questions/Cannot-connect-to-beeline/m-p/5755#M4886</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/Support-Questions/Cannot-connect-to-beeline/m-p/5755#M4886</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/Support-Questions/Cannot-connect-to-beeline/m-p/5757#M4887</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/Support-Questions/Cannot-connect-to-beeline/m-p/5757#M4887</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/Support-Questions/Cannot-connect-to-beeline/m-p/5759#M4888</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/Support-Questions/Cannot-connect-to-beeline/m-p/5759#M4888</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/Support-Questions/Cannot-connect-to-beeline/m-p/5763#M4889</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/Support-Questions/Cannot-connect-to-beeline/m-p/5763#M4889</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/Support-Questions/Cannot-connect-to-beeline/m-p/5765#M4890</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/Support-Questions/Cannot-connect-to-beeline/m-p/5765#M4890</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/Support-Questions/Cannot-connect-to-beeline/m-p/5767#M4891</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/Support-Questions/Cannot-connect-to-beeline/m-p/5767#M4891</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/Support-Questions/Cannot-connect-to-beeline/m-p/5769#M4892</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/Support-Questions/Cannot-connect-to-beeline/m-p/5769#M4892</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/Support-Questions/Cannot-connect-to-beeline/m-p/5775#M4893</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/Support-Questions/Cannot-connect-to-beeline/m-p/5775#M4893</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/Support-Questions/Cannot-connect-to-beeline/m-p/5777#M4894</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/Support-Questions/Cannot-connect-to-beeline/m-p/5777#M4894</guid>
      <dc:creator>Manikumar Juttukonda</dc:creator>
      <dc:date>2014-02-06T21:08:07Z</dc:date>
    </item>
  </channel>
</rss>

