<?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: Beeline connection hangs without any error in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Beeline-connection-hangs-without-any-error/m-p/190713#M78223</link>
    <description>&lt;P&gt;&lt;EM&gt;&lt;A href="@Arshadullah Khan"&gt;@Arshadullah Khan&lt;/A&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;To use SSL for Hiveserver2, you will need to first enable SSL for Hiveserver2. 
If you have already done that then the connect string should look like below&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;&lt;EM&gt;beeline -n abcd -u jdbc:hive2://xyz.abc.org:10001/default;ssl=true;sslTrustStore=/path/to/truststore.jks;trustStorePassword=Password&lt;/EM&gt;&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Hope that helps&lt;/EM&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 15 May 2018 01:04:52 GMT</pubDate>
    <dc:creator>Shelton</dc:creator>
    <dc:date>2018-05-15T01:04:52Z</dc:date>
    <item>
      <title>Beeline connection hangs without any error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Beeline-connection-hangs-without-any-error/m-p/190711#M78221</link>
      <description>&lt;P&gt;My HDP version : HDP-2.3.4.0 and Ambari : Version2.5.2.0&lt;/P&gt;&lt;P&gt;I'm trying to connect beeline through my edge node using string : &lt;/P&gt;&lt;P&gt;beeline -n abcd -u jdbc:hive2://xyz.abc.org:10001/default;ssl=true;transportMode=http;httpPath=cliservice&lt;/P&gt;&lt;P&gt;but its not proceeding getting hung without any error : &lt;/P&gt;&lt;P&gt;root@had02:~# beeline -n abcd -u jdbc:hive2://xyz.abc.org:10001/default;ssl=true;transportMode=http;httpPath=cliservice WARNING: Use "yarn jar" to launch YARN applications. Connecting to jdbc:hive2://xyz.abc.org:10001/default&lt;/P&gt;&lt;P&gt;whereas I check service is running from webui and 10001 port is listing and checked hiveserver2 logs as well but no issue reported please suggest me any solution or where can I identify this issue.&lt;/P&gt;</description>
      <pubDate>Mon, 14 May 2018 14:02:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Beeline-connection-hangs-without-any-error/m-p/190711#M78221</guid>
      <dc:creator>khanarshadazmat</dc:creator>
      <dc:date>2018-05-14T14:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: Beeline connection hangs without any error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Beeline-connection-hangs-without-any-error/m-p/190712#M78222</link>
      <description>&lt;P&gt;Check firewall on all servers.&lt;/P&gt;</description>
      <pubDate>Mon, 14 May 2018 21:05:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Beeline-connection-hangs-without-any-error/m-p/190712#M78222</guid>
      <dc:creator>umair_khan</dc:creator>
      <dc:date>2018-05-14T21:05:20Z</dc:date>
    </item>
    <item>
      <title>Re: Beeline connection hangs without any error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Beeline-connection-hangs-without-any-error/m-p/190713#M78223</link>
      <description>&lt;P&gt;&lt;EM&gt;&lt;A href="@Arshadullah Khan"&gt;@Arshadullah Khan&lt;/A&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;To use SSL for Hiveserver2, you will need to first enable SSL for Hiveserver2. 
If you have already done that then the connect string should look like below&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;&lt;EM&gt;beeline -n abcd -u jdbc:hive2://xyz.abc.org:10001/default;ssl=true;sslTrustStore=/path/to/truststore.jks;trustStorePassword=Password&lt;/EM&gt;&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Hope that helps&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 May 2018 01:04:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Beeline-connection-hangs-without-any-error/m-p/190713#M78223</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2018-05-15T01:04:52Z</dc:date>
    </item>
    <item>
      <title>Re: Beeline connection hangs without any error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Beeline-connection-hangs-without-any-error/m-p/190714#M78224</link>
      <description>&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;After analyzing Hiveserver logs we found that Hiveserver was unable to create new threads and hence Hive queries are not working.&lt;/P&gt;&lt;P&gt;This is an intermittent issue. Whenever thread limit reached, Hiveserver is not able to create a new connection and stops responding. After restarting Hiveserver, it releases all threads and hive starts responding again.&lt;/P&gt;&lt;P&gt;Here is the stack trace:&lt;/P&gt;&lt;PRE&gt;     &lt;BR /&gt;   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)&lt;BR /&gt;        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)&lt;BR /&gt;        at java.lang.Thread.run(Thread.java:748)&lt;BR /&gt;Caused by: java.io.IOException: Couldn't set up IO streams&lt;BR /&gt;        at org.apache.hadoop.ipc.Client$Connection.setupIOstreams(Client.java:791)&lt;BR /&gt;        at org.apache.hadoop.ipc.Client$Connection.access$2800(Client.java:373)&lt;BR /&gt;        at org.apache.hadoop.ipc.Client.getConnection(Client.java:1493)&lt;BR /&gt;        at org.apache.hadoop.ipc.Client.call(Client.java:1397)&lt;BR /&gt;        ... 73 more&lt;BR /&gt;Caused by: java.lang.OutOfMemoryError: unable to create new native thread&lt;BR /&gt;        at java.lang.Thread.start0(Native Method)&lt;BR /&gt;        at java.lang.Thread.start(Thread.java:717)&lt;BR /&gt;        at org.apache.hadoop.ipc.Client$Connection.setupIOstreams(Client.java:784)&lt;BR /&gt;        ... 76 more&lt;/PRE&gt;&lt;P&gt;We found the similar issue at Hortonworks community:&lt;BR /&gt;&lt;A href="https://community.hortonworks.com/content/supportkb/151804/error-javalangoutofmemoryerror-unable-to-create-ne.html"&gt;https://community.hortonworks.com/content/supportkb/151804/error-javalangoutofmemoryerror-unable-to-create-ne.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;According to Hortonworks, its a bug in HDP-2.3.4 version and it got resolved in a newer version of HDP.&lt;/P&gt;</description>
      <pubDate>Tue, 29 May 2018 20:26:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Beeline-connection-hangs-without-any-error/m-p/190714#M78224</guid>
      <dc:creator>khanarshadazmat</dc:creator>
      <dc:date>2018-05-29T20:26:59Z</dc:date>
    </item>
  </channel>
</rss>

