<?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 not starting up in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HiveServer2-not-starting-up/m-p/197566#M59384</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/393/aervits.html" nodeid="393"&gt;@Artem Ervits&lt;/A&gt;, &lt;A rel="user" href="https://community.cloudera.com/users/350/vpoornalingam.html" nodeid="350"&gt;@vpoornalingam&lt;/A&gt;, &lt;A rel="user" href="https://community.cloudera.com/users/553/mherring.html" nodeid="553"&gt;@Mark Herring&lt;/A&gt; - looping you in, any ideas on this ?&lt;/P&gt;</description>
    <pubDate>Thu, 13 Apr 2017 04:24:00 GMT</pubDate>
    <dc:creator>karan_alang1</dc:creator>
    <dc:date>2017-04-13T04:24:00Z</dc:date>
    <item>
      <title>HiveServer2 not starting up</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HiveServer2-not-starting-up/m-p/197564#M59382</link>
      <description>&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/14593-hiveserver2log.txt"&gt;hiveserver2log.txt&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/14591-hive-sitexml.txt"&gt;hive-sitexml.txt
&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/14592-hiveserver2-notstartingup-1.pdf"&gt;hiveserver2-notstartingup-1.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hi All - 
I've an 8 Node HDP 2.5.3 cluster, and Hive is installed on &lt;STRONG&gt;Node-6&lt;/STRONG&gt;.
From Ambari - Hiveserver 2 is not startup, it gives the following error
(as shown on the Ambari UI)&lt;/P&gt;&lt;P&gt;--------------------------------------------------------------------------------------- &lt;/P&gt;&lt;P&gt;Connection failed on host &lt;STRONG&gt;&amp;lt;Node7&amp;gt;&lt;/STRONG&gt;:10000 &lt;/P&gt;&lt;P&gt;(Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/alerts/alert_hive_thrift_port.py", line 200, in execute
  check_command_timeout=int(check_command_timeout))
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/hive_check.py", line 74, in check_thrift_port_sasl
  timeout=check_command_timeout)
  File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 155, in __init__
  self.env.run()
  File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 160, in run
  self.run_action(resource, action)
  File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 124, in run_action
  provider_action()
  File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 273, in action_run
  tries=self.resource.tries, try_sleep=self.resource.try_sleep)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 70, in inner
  result = function(command, **kwargs)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 92, in checked_call
  tries=tries, try_sleep=try_sleep)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 140, in _call_wrapper
  result = _call(command, **kwargs_copy)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 293, in _call
  raise ExecutionFailed(err_msg, code, out, err) &lt;/P&gt;&lt;P&gt;ExecutionFailed: Execution of '! beeline -u 'jdbc:hive2://&lt;STRONG&gt;&amp;lt;Node7&amp;gt;&lt;/STRONG&gt;:10000/;transportMode=binary' -e '' 2&amp;gt;&amp;amp;1| awk '{print}'|grep -i -e 'Connection refused' -e 'Invalid URL'' returned 1. Error: Could not open client transport with JDBC Uri: jdbc:hive2://nwk2-bdp-hadoop-07.gdcs-qa.apple.com:10000/;transportMode=binary: java.net.ConnectException: &lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Connection refused (Connection refused) (state=08S01,code=0)
Error: Could not open client transport with JDBC Uri: jdbc:hive2://&amp;lt;Node-7&amp;gt;:10000/;transportMode=binary: java.net.ConnectException: Connection refused (Connection refused) (state=08S01,code=0)
)&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;--------------------------------------------------------------------------------------------- &lt;/P&gt;&lt;P&gt;Pls note -&amp;gt;&lt;STRONG&gt; In the above error, it is trying to connect to Node-7, instead of Node-6 &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;When i start HiveServer2 on commandline from Node-6, i'm able to start it &amp;amp; connect to Hive using Beeline&lt;/STRONG&gt;. &lt;/P&gt;&lt;P&gt;Any ideas where the issue is ? &lt;/P&gt;&lt;P&gt;Attaching the HiveServer.log  &amp;amp; the hive-site.xml as well.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2017 01:48:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HiveServer2-not-starting-up/m-p/197564#M59382</guid>
      <dc:creator>karan_alang1</dc:creator>
      <dc:date>2017-04-13T01:48:30Z</dc:date>
    </item>
    <item>
      <title>Re: HiveServer2 not starting up</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HiveServer2-not-starting-up/m-p/197565#M59383</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/139/pardeepkumar.html" nodeid="139"&gt;@Pardeep&lt;/A&gt;, &lt;A rel="user" href="https://community.cloudera.com/users/504/kkulkarni.html" nodeid="504"&gt;@Kuldeep Kulkarni&lt;/A&gt;, &lt;A rel="user" href="https://community.cloudera.com/users/2528/jyadav.html" nodeid="2528"&gt;@Jitendra Yadav&lt;/A&gt; - looping you in, any ideas on this ?&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2017 02:15:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HiveServer2-not-starting-up/m-p/197565#M59383</guid>
      <dc:creator>karan_alang1</dc:creator>
      <dc:date>2017-04-13T02:15:59Z</dc:date>
    </item>
    <item>
      <title>Re: HiveServer2 not starting up</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HiveServer2-not-starting-up/m-p/197566#M59384</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/393/aervits.html" nodeid="393"&gt;@Artem Ervits&lt;/A&gt;, &lt;A rel="user" href="https://community.cloudera.com/users/350/vpoornalingam.html" nodeid="350"&gt;@vpoornalingam&lt;/A&gt;, &lt;A rel="user" href="https://community.cloudera.com/users/553/mherring.html" nodeid="553"&gt;@Mark Herring&lt;/A&gt; - looping you in, any ideas on this ?&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2017 04:24:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HiveServer2-not-starting-up/m-p/197566#M59384</guid>
      <dc:creator>karan_alang1</dc:creator>
      <dc:date>2017-04-13T04:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: HiveServer2 not starting up</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HiveServer2-not-starting-up/m-p/197567#M59385</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10969/mqureshi.html" nodeid="10969"&gt;@mqureshi&lt;/A&gt; - looping you in, pls. let me know if you have any ideas on this... thnx&lt;/P&gt;</description>
      <pubDate>Sat, 15 Apr 2017 02:30:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HiveServer2-not-starting-up/m-p/197567#M59385</guid>
      <dc:creator>karan_alang1</dc:creator>
      <dc:date>2017-04-15T02:30:25Z</dc:date>
    </item>
    <item>
      <title>Re: HiveServer2 not starting up</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HiveServer2-not-starting-up/m-p/197568#M59386</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/14047/karanalang.html" nodeid="14047"&gt;@Karan Alang&lt;/A&gt;&lt;P&gt;you are getting invalid url. Shouldn't the url start with '!connect jdbc:hive2://&amp;lt;host&amp;gt;:&amp;lt;port&amp;gt;/&amp;lt;db&amp;gt;'&lt;/P&gt;</description>
      <pubDate>Sat, 15 Apr 2017 02:52:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HiveServer2-not-starting-up/m-p/197568#M59386</guid>
      <dc:creator>mqureshi</dc:creator>
      <dc:date>2017-04-15T02:52:03Z</dc:date>
    </item>
    <item>
      <title>Re: HiveServer2 not starting up</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HiveServer2-not-starting-up/m-p/197569#M59387</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10969/mqureshi.html" nodeid="10969"&gt;@mqureshi&lt;/A&gt; - the issue was that /tmp/hive had incorrect permissions, similar issue was recorded in &lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/45107/hiveserver2-not-starting-using-ambari.html"&gt;hiveserver2-not-starting-using-ambari&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2017 11:25:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HiveServer2-not-starting-up/m-p/197569#M59387</guid>
      <dc:creator>karan_alang1</dc:creator>
      <dc:date>2017-04-19T11:25:23Z</dc:date>
    </item>
  </channel>
</rss>

