<?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 Hive on CDH4.5 EC2 installation using Cloudera ODBC 2.5.5 Windows x64 drivers in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Cannot-connect-to-Hive-on-CDH4-5-EC2-installation-using/m-p/4557#M35186</link>
    <description>This might be helpful&lt;BR /&gt;&lt;A target="_blank" href="http://www.cloudera.com/content/cloudera-content/cloudera-docs/Connectors/PDF/Cloudera-ODBC-Driver-for-Apache-Hive-Install-Guide.pdf"&gt;http://www.cloudera.com/content/cloudera-content/cloudera-docs/Connectors/PDF/Cloudera-ODBC-Driver-for-Apache-Hive-Install-Guide.pdf&lt;/A&gt;</description>
    <pubDate>Fri, 03 Jan 2014 20:06:16 GMT</pubDate>
    <dc:creator>Manikumar Juttukonda</dc:creator>
    <dc:date>2014-01-03T20:06:16Z</dc:date>
    <item>
      <title>Cannot connect to Hive on CDH4.5 EC2 installation using Cloudera ODBC 2.5.5 Windows x64 drivers</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cannot-connect-to-Hive-on-CDH4-5-EC2-installation-using/m-p/4539#M35179</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've installed a CDH4.5 Hadoop cluster on Amazon EC2 using the instructions here:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://blog.cloudera.com/blog/2013/03/how-to-create-a-cdh-cluster-on-amazon-ec2-via-cloudera-manager/" target="_blank"&gt;http://blog.cloudera.com/blog/2013/03/how-to-create-a-cdh-cluster-on-amazon-ec2-via-cloudera-manager/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All seems to be working OK, however I can't connect to it from a Windows VM on my laptop using either the Hive or Impala ODBC drivers. I've connected this VM to the Quickstart VM in the past, and connected via the Impala ODBC drivers, but I can't seem to connect to CDH4 running on EC2 at all. Checking one of the EC2 instances, it doesn't even seem if port 10000 (the Hive port) is being used, but Hive is running and in the configuration properties for Hiveserver2 within CM, it says it's using port 10000.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Ports are open within the EC2 security group. Is there something obvious I'm missing here?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 08:51:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cannot-connect-to-Hive-on-CDH4-5-EC2-installation-using/m-p/4539#M35179</guid>
      <dc:creator>markrittman</dc:creator>
      <dc:date>2022-09-16T08:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot connect to Hive on CDH4.5 EC2 installation using Cloudera ODBC 2.5.5 Windows x64 drivers</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cannot-connect-to-Hive-on-CDH4-5-EC2-installation-using/m-p/4545#M35180</link>
      <description>from you Windows VM, do you able to ping EC2 host ?</description>
      <pubDate>Fri, 03 Jan 2014 19:06:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cannot-connect-to-Hive-on-CDH4-5-EC2-installation-using/m-p/4545#M35180</guid>
      <dc:creator>Manikumar Juttukonda</dc:creator>
      <dc:date>2014-01-03T19:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot connect to Hive on CDH4.5 EC2 installation using Cloudera ODBC 2.5.5 Windows x64 drivers</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cannot-connect-to-Hive-on-CDH4-5-EC2-installation-using/m-p/4547#M35181</link>
      <description>&lt;P&gt;No, I can't ping it either from the Windows VM running locally, nor the Mac host that it's running on.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;According to the&amp;nbsp;&lt;SPAN&gt;jclouds#cloudera-cdh security group that the install wizard sets up, only the original (CDH) instance can ping the hadoop instances; but a whole range of ports (including 10000) are then also open to 0.0.0.0/0. So this (correct?) would explain why I can't ping the instance, but this shouldn't be an issue?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Mark&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jan 2014 19:36:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cannot-connect-to-Hive-on-CDH4-5-EC2-installation-using/m-p/4547#M35181</guid>
      <dc:creator>markrittman</dc:creator>
      <dc:date>2014-01-03T19:36:57Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot connect to Hive on CDH4.5 EC2 installation using Cloudera ODBC 2.5.5 Windows x64 drivers</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cannot-connect-to-Hive-on-CDH4-5-EC2-installation-using/m-p/4549#M35182</link>
      <description>I'm little confused on your issue. Correct me if I am wrong...&lt;BR /&gt;You are running Cloudera Quickstart VM on Windows machine and you have a hadoop cluster set up on EC2. You are trying to access hive from Windows VM to connect EC2 Cluster ?&lt;BR /&gt;</description>
      <pubDate>Fri, 03 Jan 2014 19:45:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cannot-connect-to-Hive-on-CDH4-5-EC2-installation-using/m-p/4549#M35182</guid>
      <dc:creator>Manikumar Juttukonda</dc:creator>
      <dc:date>2014-01-03T19:45:41Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot connect to Hive on CDH4.5 EC2 installation using Cloudera ODBC 2.5.5 Windows x64 drivers</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cannot-connect-to-Hive-on-CDH4-5-EC2-installation-using/m-p/4551#M35183</link>
      <description>&lt;P&gt;Sorry, ignore the bit about the Quickstart VM.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm running the Cloudera Hadoop cluster on EC2, using the Cloudera Manager 4.5 installer and the standard (free) option. I'm then trying to connect to it from a Windows VM, running on my laptop, using the Cloudera ODBC 2.5.5 Hive drivers; whilst I can connect to CDH on the EC2 setup from a web browser from that VM, I can't get a succesful connection using the ODBC drivers. I'm wondering therefore if there's something else I need to enable, either in the CDH/Hive setup, or in the EC2 setup, to make this work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jan 2014 19:49:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cannot-connect-to-Hive-on-CDH4-5-EC2-installation-using/m-p/4551#M35183</guid>
      <dc:creator>markrittman</dc:creator>
      <dc:date>2014-01-03T19:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot connect to Hive on CDH4.5 EC2 installation using Cloudera ODBC 2.5.5 Windows x64 drivers</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cannot-connect-to-Hive-on-CDH4-5-EC2-installation-using/m-p/4553#M35184</link>
      <description>&lt;P&gt;Just noticed this other post on the forum - although it's the Quickstart VM, he's had the same problem as me. I also had the sample experience with the Quickstart VM (separately) - could connect to Impala via ODBC, but couldn't connect to Hive.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://community.cloudera.com/t5/Apache-Hadoop-Concepts-and/QuickStart-VM-Several-Questions/m-p/4033#M124"&gt;http://community.cloudera.com/t5/Apache-Hadoop-Concepts-and/QuickStart-VM-Several-Questions/m-p/4033#M124&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately that post didn't have a solution either...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jan 2014 19:53:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cannot-connect-to-Hive-on-CDH4-5-EC2-installation-using/m-p/4553#M35184</guid>
      <dc:creator>markrittman</dc:creator>
      <dc:date>2014-01-03T19:53:12Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot connect to Hive on CDH4.5 EC2 installation using Cloudera ODBC 2.5.5 Windows x64 drivers</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cannot-connect-to-Hive-on-CDH4-5-EC2-installation-using/m-p/4555#M35185</link>
      <description>Did you configure DSN, host &amp;amp; port on windows host ?</description>
      <pubDate>Fri, 03 Jan 2014 20:03:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cannot-connect-to-Hive-on-CDH4-5-EC2-installation-using/m-p/4555#M35185</guid>
      <dc:creator>Manikumar Juttukonda</dc:creator>
      <dc:date>2014-01-03T20:03:33Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot connect to Hive on CDH4.5 EC2 installation using Cloudera ODBC 2.5.5 Windows x64 drivers</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cannot-connect-to-Hive-on-CDH4-5-EC2-installation-using/m-p/4557#M35186</link>
      <description>This might be helpful&lt;BR /&gt;&lt;A target="_blank" href="http://www.cloudera.com/content/cloudera-content/cloudera-docs/Connectors/PDF/Cloudera-ODBC-Driver-for-Apache-Hive-Install-Guide.pdf"&gt;http://www.cloudera.com/content/cloudera-content/cloudera-docs/Connectors/PDF/Cloudera-ODBC-Driver-for-Apache-Hive-Install-Guide.pdf&lt;/A&gt;</description>
      <pubDate>Fri, 03 Jan 2014 20:06:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cannot-connect-to-Hive-on-CDH4-5-EC2-installation-using/m-p/4557#M35186</guid>
      <dc:creator>Manikumar Juttukonda</dc:creator>
      <dc:date>2014-01-03T20:06:16Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot connect to Hive on CDH4.5 EC2 installation using Cloudera ODBC 2.5.5 Windows x64 drivers</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cannot-connect-to-Hive-on-CDH4-5-EC2-installation-using/m-p/4559#M35187</link>
      <description>&lt;P&gt;Yes I configured the DSN etc on Windows. I've also seen the ODBC guide as well (thanks though).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've been able to connect to Hive before, on a different VM (the Oracle "bigdatalite" one), so I know how Hive ODBC connectivity works. It's just that I can't seem to connect to Hive running on a Hadoop cluster built using CDH4 - the other forum post I referenced had the same issue, so I don't think it's just me. But I expect there's some setting I'm not aware of that's making it happen.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jan 2014 20:35:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cannot-connect-to-Hive-on-CDH4-5-EC2-installation-using/m-p/4559#M35187</guid>
      <dc:creator>markrittman</dc:creator>
      <dc:date>2014-01-03T20:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot connect to Hive on CDH4.5 EC2 installation using Cloudera ODBC 2.5.5 Windows x64 drivers</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cannot-connect-to-Hive-on-CDH4-5-EC2-installation-using/m-p/4563#M35188</link>
      <description>&lt;P&gt;Can you describe what your network configuration is within the cluster? &amp;nbsp;More specifically consider these following questions you should be verifying within your deploy (dont post hostnames or IP's plz).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I believe EC2 nodes are multi-homed. Validate for yourself what the host-naming is resolving to across those interfaces. &amp;nbsp;Look at what forward and reverse lookups are returning as well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 14px;"&gt;Some of the network configuraitons for components have a "wildcard" name that can be found when you search within a service's configuration settings. &amp;nbsp;This is so the service is listening on "all" interfaces.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For yourself, from both the EC2 cluster nodes you are trying to connect to, and your VM, please evaluate what comes back for this command line in comparison to the naming you are using between your VM and the EC2 environment:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;# python -c "import socket; print socket.getfqdn(); print socket.gethostbyname(socket.getfqdn())"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jan 2014 21:28:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cannot-connect-to-Hive-on-CDH4-5-EC2-installation-using/m-p/4563#M35188</guid>
      <dc:creator>Grizzly</dc:creator>
      <dc:date>2014-01-03T21:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot connect to Hive on CDH4.5 EC2 installation using Cloudera ODBC 2.5.5 Windows x64 drivers</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cannot-connect-to-Hive-on-CDH4-5-EC2-installation-using/m-p/4567#M35189</link>
      <description>&lt;P&gt;The networking would have been whatever the cloudera installer set up within EC2 - I didn't specifically set anything up, the wizard that run from the initial cloud instance then sets up the hadoop instances, their keypairs, their security groups etc. So - in theory - presumably it should just work.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;When I run&amp;nbsp;&lt;SPAN&gt;python -c "import socket; print socket.getfqdn(); print socket.gethostbyname(socket.getfqdn())" SSH'd into one of the instances, it returns the hostname, and the internal IP address (internal to EC2). I wonder - do I have to create an SSH tunnel to get access to the EC2 machines from within the AWS network, like this -&amp;nbsp;&lt;A target="_blank" href="http://www.toadworld.com/products/toad-for-cloud-databases/f/102/t/5773.aspx"&gt;http://www.toadworld.com/products/toad-for-cloud-databases/f/102/t/5773.aspx&lt;/A&gt; - I'm thinking not though as port 10000 is open in those instances security groups.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Another thing - the other thread I linked to had the same problem, and he was using the Quickstart VM. I've also had the same problem (with Hive, not Impala) on Quickstart too, so is it a generic issue with machines set up using this installer/CDH4?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Mark&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jan 2014 21:53:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cannot-connect-to-Hive-on-CDH4-5-EC2-installation-using/m-p/4567#M35189</guid>
      <dc:creator>markrittman</dc:creator>
      <dc:date>2014-01-03T21:53:59Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot connect to Hive on CDH4.5 EC2 installation using Cloudera ODBC 2.5.5 Windows x64 drivers</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cannot-connect-to-Hive-on-CDH4-5-EC2-installation-using/m-p/4587#M35190</link>
      <description>&lt;P&gt;I'm getting the impression from lack of responses, and from lack of content on this on the forums etc, that Hive is effectively deprecated in favour of Impala for SQL-like access against CDH; however - it's the only way that I can access Hadoop from ETL tools such as Oracle Data Integrator, which then rules out this platform as a source for "hadoop ETL".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I come up with a solution I'll post it here, but it's disappointing that I can't get it to work.&lt;/P&gt;</description>
      <pubDate>Sat, 04 Jan 2014 11:52:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cannot-connect-to-Hive-on-CDH4-5-EC2-installation-using/m-p/4587#M35190</guid>
      <dc:creator>markrittman</dc:creator>
      <dc:date>2014-01-04T11:52:54Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot connect to Hive on CDH4.5 EC2 installation using Cloudera ODBC 2.5.5 Windows x64 drivers</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cannot-connect-to-Hive-on-CDH4-5-EC2-installation-using/m-p/4605#M35191</link>
      <description>&lt;P&gt;Mark,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; I've raised this thread with some of our subject matter experts internally in hopes somebody has some insight for you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2014 17:07:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cannot-connect-to-Hive-on-CDH4-5-EC2-installation-using/m-p/4605#M35191</guid>
      <dc:creator>Clint</dc:creator>
      <dc:date>2014-01-06T17:07:07Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot connect to Hive on CDH4.5 EC2 installation using Cloudera ODBC 2.5.5 Windows x64 drivers</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cannot-connect-to-Hive-on-CDH4-5-EC2-installation-using/m-p/4609#M35192</link>
      <description>&lt;P&gt;Mark,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is the error you are seeing when trying to connect to HS2? &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have security configured on your cluster or is this unsecured? &amp;nbsp;If it is unsecured, I have seen a problem when using the "No Authenticaiton" mechanism in the DSN setup. &amp;nbsp;There is a workaround for this. &amp;nbsp;First, choose the "User name" mechanism. &amp;nbsp;Then type something in the User name option. &amp;nbsp;It doesn't matter what it is.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you connect through beeline locally?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2014 18:53:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cannot-connect-to-Hive-on-CDH4-5-EC2-installation-using/m-p/4609#M35192</guid>
      <dc:creator>dave.bouchillion</dc:creator>
      <dc:date>2014-01-06T18:53:02Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot connect to Hive on CDH4.5 EC2 installation using Cloudera ODBC 2.5.5 Windows x64 drivers</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cannot-connect-to-Hive-on-CDH4-5-EC2-installation-using/m-p/4649#M35193</link>
      <description>&lt;P&gt;Hi Dave,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The error message that the Cloudera ODBC Driver for Apache Hive Data Source dialog shows, when testing out a new system DSN on Windows Server 2008 R2 64-bit, is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;P&gt;Driver Version: V2.5.5.1006&lt;/P&gt;&lt;P&gt;Running connectivity tests...&lt;/P&gt;&lt;P&gt;Attempting connection&lt;BR /&gt;Failed to establish connection&lt;BR /&gt;SQLSTATE: HY000[Cloudera][HiveODBC] (34) Error from Hive: connect() failed: errno = 10061.&lt;/P&gt;&lt;P&gt;TESTS COMPLETED WITH ERROR."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Going over to CDH4, even testing it against the VMWare Quickstart VM using beeline on that VM, I get the error message:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"Error: could not establish connection to jdbc:hive2://localhost:10000: Java.net.ConnectException: connection refused (state=08S01, code=0"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't think the Hiveserver2 service is actually installed or running on the VM (or on the EC2 installs). If I try:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sudo service hive-server2 start&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;hive-server2: unrecognized service&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and if I type in:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;chkconfig --list&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it's not listed there - which makes me think hiveserver2 isn't running (or thrift), and that's why nothing can connect.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2014 21:21:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cannot-connect-to-Hive-on-CDH4-5-EC2-installation-using/m-p/4649#M35193</guid>
      <dc:creator>markrittman</dc:creator>
      <dc:date>2014-01-07T21:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot connect to Hive on CDH4.5 EC2 installation using Cloudera ODBC 2.5.5 Windows x64 drivers</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cannot-connect-to-Hive-on-CDH4-5-EC2-installation-using/m-p/4665#M35194</link>
      <description>&lt;P&gt;I believe in your first post you mention that you are using CM. &amp;nbsp;If you're using CM to manage the cluster then you won't see the hive-server2 service from a command line. &amp;nbsp;You'll have to add the instance and start it from CM. &amp;nbsp;The default settings for HiveServer2 are listed in the configuration, but by default the instance is not added or started. &amp;nbsp;Here is the &lt;A target="_self" href="http://www.cloudera.com/content/cloudera-content/cloudera-docs/CM4Ent/latest/Cloudera-Manager-Managing-Clusters/cmmc_add_roles.html"&gt;documentation&lt;/A&gt;&amp;nbsp;for adding a role instance. &amp;nbsp;Once you have added the hiveserver2 instance then you can start it and should be able to access it straight away.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hopefully this will get you going. &amp;nbsp;Please let me know your results.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can also use the following commands on the quickstart vm or your ec2 setup to verify that port 10000 is in use once you start hiveserver2:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sudo netstat -tulpn | grep 10000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dave&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jan 2014 03:31:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cannot-connect-to-Hive-on-CDH4-5-EC2-installation-using/m-p/4665#M35194</guid>
      <dc:creator>dave.bouchillion</dc:creator>
      <dc:date>2014-01-08T03:31:48Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot connect to Hive on CDH4.5 EC2 installation using Cloudera ODBC 2.5.5 Windows x64 drivers</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cannot-connect-to-Hive-on-CDH4-5-EC2-installation-using/m-p/4669#M35195</link>
      <description>&lt;P&gt;Hi Dave&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Perfect, that was it. The Hiveserver2 service as you say, isn't installed by default, but adding it via those steps via CM enabled it, and now I can connect OK. Thanks for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any reason that this service isn't installed and enabled by default? As you say, looking at the instance details in CM, it looks like it should be there, and no-body would be able to connect via Hive ODBC/JDBC drivers from an external machine until this is set up.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jan 2014 09:36:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cannot-connect-to-Hive-on-CDH4-5-EC2-installation-using/m-p/4669#M35195</guid>
      <dc:creator>markrittman</dc:creator>
      <dc:date>2014-01-08T09:36:45Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot connect to Hive on CDH4.5 EC2 installation using Cloudera ODBC 2.5.5 Windows x64 drivers</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cannot-connect-to-Hive-on-CDH4-5-EC2-installation-using/m-p/4683#M35196</link>
      <description>&lt;P&gt;Hi Mark,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;HiveServer2 is only available in CDH4.2+, and is considered generally optional in CDH4.x. Many customers use the old Hive CLI on CDH4, since HiveServer2 is somewhat new. CM generally tries not to install optional roles, just required ones.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In CDH5, CM treats HiveServer2 is a required role for Hive, since the old Hive CLI will be deprecated in CDH5 and all clients should instead go through the beeline CLI and/or drivers that talk to HS2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this clears it up for you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Darren&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jan 2014 16:21:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cannot-connect-to-Hive-on-CDH4-5-EC2-installation-using/m-p/4683#M35196</guid>
      <dc:creator>Darren</dc:creator>
      <dc:date>2014-01-08T16:21:29Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot connect to Hive on CDH4.5 EC2 installation using Cloudera ODBC 2.5.5 Windows x64 drivers</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cannot-connect-to-Hive-on-CDH4-5-EC2-installation-using/m-p/4685#M35197</link>
      <description>&lt;P&gt;Thanks Darren. So does that mean that hiveserver1 (with thrift) is installed by default? My take is that there's no thrift server and no hiveserver2 by default, so by default there's no way you can connect via ODBC or JDBC to Hive? Is this correct?&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jan 2014 16:27:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cannot-connect-to-Hive-on-CDH4-5-EC2-installation-using/m-p/4685#M35197</guid>
      <dc:creator>markrittman</dc:creator>
      <dc:date>2014-01-08T16:27:52Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot connect to Hive on CDH4.5 EC2 installation using Cloudera ODBC 2.5.5 Windows x64 drivers</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cannot-connect-to-Hive-on-CDH4-5-EC2-installation-using/m-p/4687#M35198</link>
      <description>&lt;P&gt;CM doesn't manage hiveserver1 because it should basically never be used. It notably has no real support for concurrent operations, and you may get corruption in such scenarios.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since HS2 is not set up by default, there's no way to use O/JDBC to connect to hive in CDH4 by default. You can, however, tell CM to initially install the HS2 role if you click "Inspect Roles" (or something similar) in the setup wizard, on the page where you select which service types you want to install. And as you know, you can also just add the role later.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jan 2014 16:50:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cannot-connect-to-Hive-on-CDH4-5-EC2-installation-using/m-p/4687#M35198</guid>
      <dc:creator>Darren</dc:creator>
      <dc:date>2014-01-08T16:50:51Z</dc:date>
    </item>
  </channel>
</rss>

