<?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 Cannot start Hiveserver2 - Python script has been killed due to timeout after waiting 900 secs in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-start-Hiveserver2-Python-script-has-been-killed-due/m-p/134959#M35053</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to start Hiveserver2 but it is timing out with the error:&lt;/P&gt;&lt;P&gt;"Python script has been killed due to timeout after waiting 900 secs"&lt;/P&gt;&lt;P&gt;Tried to find something in the log file but there was no error.&lt;/P&gt;&lt;P&gt;Attaching the log file for reference.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Rinku Singh.&lt;/P&gt;</description>
    <pubDate>Tue, 19 Jul 2016 15:44:33 GMT</pubDate>
    <dc:creator>rinkusingh</dc:creator>
    <dc:date>2016-07-19T15:44:33Z</dc:date>
    <item>
      <title>Cannot start Hiveserver2 - Python script has been killed due to timeout after waiting 900 secs</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-start-Hiveserver2-Python-script-has-been-killed-due/m-p/134959#M35053</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to start Hiveserver2 but it is timing out with the error:&lt;/P&gt;&lt;P&gt;"Python script has been killed due to timeout after waiting 900 secs"&lt;/P&gt;&lt;P&gt;Tried to find something in the log file but there was no error.&lt;/P&gt;&lt;P&gt;Attaching the log file for reference.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Rinku Singh.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2016 15:44:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-start-Hiveserver2-Python-script-has-been-killed-due/m-p/134959#M35053</guid>
      <dc:creator>rinkusingh</dc:creator>
      <dc:date>2016-07-19T15:44:33Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot start Hiveserver2 - Python script has been killed due to timeout after waiting 900 secs</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-start-Hiveserver2-Python-script-has-been-killed-due/m-p/134960#M35054</link>
      <description>&lt;P&gt;Just tweak the timeout number and see if error persist...&lt;/P&gt;&lt;PRE&gt;sed -e 's/\(agent.task.timeout=\).*/\12700/' \
        -e 's/\(agent.package.install.task.timeout=\).*/\12700/' \
        -i /etc/ambari-server/conf/ambari.properties&lt;/PRE&gt;</description>
      <pubDate>Tue, 19 Jul 2016 16:08:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-start-Hiveserver2-Python-script-has-been-killed-due/m-p/134960#M35054</guid>
      <dc:creator>mkumar13</dc:creator>
      <dc:date>2016-07-19T16:08:41Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot start Hiveserver2 - Python script has been killed due to timeout after waiting 900 secs</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-start-Hiveserver2-Python-script-has-been-killed-due/m-p/134961#M35055</link>
      <description>&lt;P&gt;Hello &lt;A rel="user" href="https://community.cloudera.com/users/10295/mkumar13.html" nodeid="10295"&gt;@Mukesh Kumar&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I don't think increasing the timeout number will help here. There must be something that is stopping it from start.&lt;/P&gt;&lt;P&gt;From the ambari-ui, I could see the below error:&lt;/P&gt;&lt;PRE&gt;Connection failed on host ip-172-31-31-251.us-west-2.compute.internal:10000 (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 154, 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 238, 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 291, in _call
    raise Fail(err_msg)
Fail: Execution of '! beeline -u 'jdbc:hive2://ip-172-31-31-251.us-west-2.compute.internal: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://ip-172-31-31-251.us-west-2.compute.internal:10000/;transportMode=binary: java.net.ConnectException: Connection refused (state=08S01,code=0)
Error: Could not open client transport with JDBC Uri: jdbc:hive2://ip-172-31-31-251.us-west-2.compute.internal:10000/;transportMode=binary: java.net.ConnectException: Connection refused (state=08S01,code=0)
)

&lt;/PRE&gt;</description>
      <pubDate>Tue, 19 Jul 2016 16:51:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-start-Hiveserver2-Python-script-has-been-killed-due/m-p/134961#M35055</guid>
      <dc:creator>rinkusingh</dc:creator>
      <dc:date>2016-07-19T16:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot start Hiveserver2 - Python script has been killed due to timeout after waiting 900 secs</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-start-Hiveserver2-Python-script-has-been-killed-due/m-p/134962#M35056</link>
      <description>&lt;P&gt;Check with Hive start service command below:-&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/35195/how-can-i-check-ambari-start-services-commands.html#answer-35200" target="_blank"&gt;https://community.hortonworks.com/questions/35195/how-can-i-check-ambari-start-services-commands.html#answer-35200&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2016 17:06:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-start-Hiveserver2-Python-script-has-been-killed-due/m-p/134962#M35056</guid>
      <dc:creator>mkumar13</dc:creator>
      <dc:date>2016-07-19T17:06:28Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot start Hiveserver2 - Python script has been killed due to timeout after waiting 900 secs</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-start-Hiveserver2-Python-script-has-been-killed-due/m-p/134963#M35057</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;From the logs, I found that it was stuck updating the hdfs location.&lt;/P&gt;&lt;P&gt;So, I updated the hdfs location manually by running the command metatool -updateLocation&lt;/P&gt;&lt;P&gt;After that I was able to bring up the Hiveserver2 service.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Rinku Singh.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2016 18:58:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-start-Hiveserver2-Python-script-has-been-killed-due/m-p/134963#M35057</guid>
      <dc:creator>rinkusingh</dc:creator>
      <dc:date>2016-07-19T18:58:10Z</dc:date>
    </item>
  </channel>
</rss>

