<?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: HiveServer2, automatically shutdown ? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/HiveServer2-automatically-shutdown/m-p/208812#M170769</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3418/jsensharma.html" nodeid="3418"&gt;@Jay Kumar SenSharma&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Thanks for your quick reply. &lt;/P&gt;&lt;P&gt;I tried telnet $HS 10000 and nc -v $HS 10000, but nothing is coming.&lt;/P&gt;&lt;P&gt;When i run the command "nc -v $HS Host 10000", i got only this  Ncat: Version 7.50 ( &lt;A href="https://nmap.org/ncat" target="_blank"&gt;https://nmap.org/ncat&lt;/A&gt; )&lt;BR /&gt;Ncat: Connection refused.&lt;/P&gt;&lt;P&gt;Then tried &lt;/P&gt;&lt;P&gt;netstat -tnlpa | grep 10000 but nothing is coming. &lt;/P&gt;&lt;P&gt;When i run i got below error &lt;/P&gt;&lt;PRE&gt;ls -l /var/log/hive/hiveserver2.log&lt;/PRE&gt;&lt;P&gt;Caused by: org.apache.hadoop.yarn.exceptions.InvalidResourceRequestException: Invalid resource request, requested memory &amp;lt; 0, or requested memory &amp;gt; max configured, requestedMemory=10096, maxMemory=7936.&lt;/P&gt;&lt;P&gt;Could you pls let me know more about it.&lt;/P&gt;</description>
    <pubDate>Tue, 09 Oct 2018 14:06:32 GMT</pubDate>
    <dc:creator>sshringi003</dc:creator>
    <dc:date>2018-10-09T14:06:32Z</dc:date>
    <item>
      <title>HiveServer2, automatically shutdown ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HiveServer2-automatically-shutdown/m-p/208810#M170767</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I installed HiveServer2 on ambari 2.6. Whlie accessing hive through terminal or webUI, its not working. The error is comming Error: Could not open client transport with JDBC Url: jdbc:hive2://ip:10000/transportMode=binary:Java.net.ConnectionException (Connection Refused).&lt;/P&gt;&lt;P&gt;SET hive.exec.dynamic.partition = true;&lt;BR /&gt;SET hive.exec.dynamic.partition.mode = nonstrict;&lt;BR /&gt;SET hive.exec.max.dynamic.partitions = 10000;&lt;BR /&gt;SET hive.exec.max.dynamic.partitions.pernode = 1000;&lt;/P&gt;&lt;P&gt;these are the configuration which is available on config file.&lt;/P&gt;&lt;P&gt;Could anybody help regarding this issue would be great.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Oct 2018 12:20:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HiveServer2-automatically-shutdown/m-p/208810#M170767</guid>
      <dc:creator>sshringi003</dc:creator>
      <dc:date>2018-10-09T12:20:34Z</dc:date>
    </item>
    <item>
      <title>Re: HiveServer2, automatically shutdown ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HiveServer2-automatically-shutdown/m-p/208811#M170768</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/52190/sshringi003.html" nodeid="52190"&gt;@Surendra Shringi&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Are you able to do Telnet on the HS2 Hostname &amp;amp; Port?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;From Hive Client host&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;# telnet $HS2_HOSTNAME  10000
(OR)
# nc -v $HS2_HOSTNAME  10000&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;On the HS2 host &lt;/STRONG&gt;can you please check if the port 10000 is listening and bound properly and the IP tables is disabled?&lt;/P&gt;&lt;PRE&gt;# netstat -tnlpa | grep 10000
# service iptables stop&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Also please restart HS2 and then see if you find any Errors in the HS2 log?&lt;/P&gt;&lt;PRE&gt;# ls -l /var/log/hive/hiveserver2.log&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Also can you please try with the Zookeeper based dynamic URLs? Like following to see if it works?&lt;/P&gt;&lt;PRE&gt;# beeline -n barney -p bedrock -u "jdbc:hive2://m1.hdp.local:2181,m2.hdp.local:2181,m3.hdp.local:2181/&amp;lt;db&amp;gt;"&lt;/PRE&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/articles/4103/hiveserver2-jdbc-connection-url-examples.html" target="_blank"&gt;https://community.hortonworks.com/articles/4103/hiveserver2-jdbc-connection-url-examples.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;A rel="user" href="https://community.cloudera.com/users/52190/sshringi003.html" nodeid="52190"&gt;&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Tue, 09 Oct 2018 12:25:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HiveServer2-automatically-shutdown/m-p/208811#M170768</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2018-10-09T12:25:52Z</dc:date>
    </item>
    <item>
      <title>Re: HiveServer2, automatically shutdown ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HiveServer2-automatically-shutdown/m-p/208812#M170769</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3418/jsensharma.html" nodeid="3418"&gt;@Jay Kumar SenSharma&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Thanks for your quick reply. &lt;/P&gt;&lt;P&gt;I tried telnet $HS 10000 and nc -v $HS 10000, but nothing is coming.&lt;/P&gt;&lt;P&gt;When i run the command "nc -v $HS Host 10000", i got only this  Ncat: Version 7.50 ( &lt;A href="https://nmap.org/ncat" target="_blank"&gt;https://nmap.org/ncat&lt;/A&gt; )&lt;BR /&gt;Ncat: Connection refused.&lt;/P&gt;&lt;P&gt;Then tried &lt;/P&gt;&lt;P&gt;netstat -tnlpa | grep 10000 but nothing is coming. &lt;/P&gt;&lt;P&gt;When i run i got below error &lt;/P&gt;&lt;PRE&gt;ls -l /var/log/hive/hiveserver2.log&lt;/PRE&gt;&lt;P&gt;Caused by: org.apache.hadoop.yarn.exceptions.InvalidResourceRequestException: Invalid resource request, requested memory &amp;lt; 0, or requested memory &amp;gt; max configured, requestedMemory=10096, maxMemory=7936.&lt;/P&gt;&lt;P&gt;Could you pls let me know more about it.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Oct 2018 14:06:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HiveServer2-automatically-shutdown/m-p/208812#M170769</guid>
      <dc:creator>sshringi003</dc:creator>
      <dc:date>2018-10-09T14:06:32Z</dc:date>
    </item>
    <item>
      <title>Re: HiveServer2, automatically shutdown ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HiveServer2-automatically-shutdown/m-p/208813#M170770</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/52190/sshringi003.html" nodeid="52190"&gt;@Surendra Shringi&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Looks like a Tuning issue. Here we see that the &lt;STRONG&gt;"Requested Memory" is  More than the "Max Memory".&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;requestedMemory=10096, maxMemory=7936.&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Please refer to the following Support KB to know more about this kind of error:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/content/supportkb/48814/resource-manager-unable-to-start.html" target="_blank"&gt;https://community.hortonworks.com/content/supportkb/48814/resource-manager-unable-to-start.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Oct 2018 14:19:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HiveServer2-automatically-shutdown/m-p/208813#M170770</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2018-10-09T14:19:13Z</dc:date>
    </item>
    <item>
      <title>Re: HiveServer2, automatically shutdown ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HiveServer2-automatically-shutdown/m-p/208814#M170771</link>
      <description>&lt;P&gt;Its working fine now . Thank you  &lt;A rel="user" href="https://community.cloudera.com/users/3418/jsensharma.html" nodeid="3418"&gt;@Jay Kumar SenSharma &lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Tue, 09 Oct 2018 14:26:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HiveServer2-automatically-shutdown/m-p/208814#M170771</guid>
      <dc:creator>sshringi003</dc:creator>
      <dc:date>2018-10-09T14:26:23Z</dc:date>
    </item>
  </channel>
</rss>

