<?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: check hive failed when using Ambari installation tool: port is not listening in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/check-hive-failed-when-using-Ambari-installation-tool-port/m-p/116468#M79262</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2065/jadeliu.html" nodeid="2065"&gt;@Jade Liu&lt;/A&gt; can you run tracert to spark01 server, if its an option also disable firewall and try again. It's hard to tell but you may be denying that server.&lt;/P&gt;</description>
    <pubDate>Fri, 29 Jan 2016 04:38:24 GMT</pubDate>
    <dc:creator>aervits</dc:creator>
    <dc:date>2016-01-29T04:38:24Z</dc:date>
    <item>
      <title>check hive failed when using Ambari installation tool: port is not listening</title>
      <link>https://community.cloudera.com/t5/Support-Questions/check-hive-failed-when-using-Ambari-installation-tool-port/m-p/116465#M79259</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm trying to install Hive on a remote serve using Ambari installation tool. I'm using Ambari 2.2 and installed HDP 2.3.0 with the following components:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;kafka&lt;/LI&gt;&lt;LI&gt;hive&lt;/LI&gt;&lt;LI&gt;hadoop&lt;/LI&gt;&lt;LI&gt;ambari metrics&lt;/LI&gt;&lt;LI&gt;trez&lt;/LI&gt;&lt;LI&gt;zookeeper&lt;/LI&gt;&lt;LI&gt;hbase&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I got the following error with &lt;STRONG&gt;check Hive&lt;/STRONG&gt;:&lt;/P&gt;stderr:  /var/lib/ambari-agent/data/errors-64.txt&lt;PRE&gt;Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/service_check.py", line 106, in &amp;lt;module&amp;gt;
    HiveServiceCheck().execute()
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 219, in execute
    method(env)
  File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/service_check.py", line 97, in service_check
    (params.hostname, params.hive_server_port, elapsed_time))
resource_management.core.exceptions.Fail: Connection to Hive server spark01.nor1solutions.com on port 10000 failed after 295 seconds										stderr:   /var/lib/ambari-agent/data/errors-64.txt





All ports on the remote server are open. When I use 

netstat -tupln | grep -i listen | grep -i 10000

There was no process listening on that port. I've retried the installation and the same error happened again. 

Can anyone help on how to fix it?

Thanks,&lt;/PRE&gt;</description>
      <pubDate>Fri, 29 Jan 2016 02:53:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/check-hive-failed-when-using-Ambari-installation-tool-port/m-p/116465#M79259</guid>
      <dc:creator>jade_liu</dc:creator>
      <dc:date>2016-01-29T02:53:08Z</dc:date>
    </item>
    <item>
      <title>Re: check hive failed when using Ambari installation tool: port is not listening</title>
      <link>https://community.cloudera.com/t5/Support-Questions/check-hive-failed-when-using-Ambari-installation-tool-port/m-p/116466#M79260</link>
      <description>&lt;P&gt;Try just,
netstat -tupln | grep -i 10000&lt;/P&gt;&lt;P&gt;Any firewall rules?&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2016 02:55:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/check-hive-failed-when-using-Ambari-installation-tool-port/m-p/116466#M79260</guid>
      <dc:creator>afernandez</dc:creator>
      <dc:date>2016-01-29T02:55:37Z</dc:date>
    </item>
    <item>
      <title>Re: check hive failed when using Ambari installation tool: port is not listening</title>
      <link>https://community.cloudera.com/t5/Support-Questions/check-hive-failed-when-using-Ambari-installation-tool-port/m-p/116467#M79261</link>
      <description>&lt;P&gt;Thanks for your reply!&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;netstat -tupln | grep -i 10000 &lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;did not get any result. &lt;/P&gt;&lt;P&gt;To check firewall settings:&lt;/P&gt;&lt;P&gt;run &lt;EM&gt;&lt;STRONG&gt;iptables -L&lt;/STRONG&gt;&lt;/EM&gt;, get the following result:&lt;/P&gt;&lt;P&gt;Chain INPUT (policy ACCEPT)&lt;/P&gt;&lt;P&gt;target     prot opt source               destination         &lt;/P&gt;&lt;P&gt;ACCEPT     all  --  anywhere             anywhere            &lt;/P&gt;&lt;P&gt;DROP       icmp --  anywhere             anywhere            icmp timestamp-request &lt;/P&gt;&lt;P&gt;DROP       icmp --  anywhere             anywhere            icmp timestamp-reply &lt;/P&gt;&lt;P&gt;DROP       icmp --  anywhere             anywhere            icmp address-mask-request &lt;/P&gt;&lt;P&gt;ACCEPT     icmp --  anywhere             anywhere            icmp any &lt;/P&gt;&lt;P&gt;ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED &lt;/P&gt;&lt;P&gt;ACCEPT     all  --  anywhere             anywhere            &lt;/P&gt;&lt;P&gt;ACCEPT     tcp  --  10.40.19.4           anywhere            tcp dpt:5666 &lt;/P&gt;&lt;P&gt;ACCEPT     tcp  --  dbbkup02.nor1solutions.com  anywhere            tcp dpt:5666 &lt;/P&gt;&lt;P&gt;ACCEPT     tcp  --  32.c2.9bc0.ip4.static.sl-reverse.com  anywhere            tcp dpt:5666 &lt;/P&gt;&lt;P&gt;ACCEPT     tcp  --  nagios-dev.nor1sc.net  anywhere            tcp dpt:5666 &lt;/P&gt;&lt;P&gt;ACCEPT     udp  --  10.40.19.4           anywhere            udp dpt:snmp &lt;/P&gt;&lt;P&gt;ACCEPT     udp  --  dbbkup02.nor1solutions.com  anywhere            udp dpt:snmp &lt;/P&gt;&lt;P&gt;ACCEPT     udp  --  32.c2.9bc0.ip4.static.sl-reverse.com  anywhere            udp dpt:snmp &lt;/P&gt;&lt;P&gt;ACCEPT     tcp  --  10.0.0.0/8           anywhere            state NEW tcp dpt:ssh &lt;/P&gt;&lt;P&gt;ACCEPT     tcp  --  209.119.28.98        anywhere            state NEW tcp dpt:ssh &lt;/P&gt;&lt;P&gt;DROP       all  --  anywhere             anywhere           &lt;/P&gt;&lt;P&gt;I'm using centos6.7. &lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2016 03:56:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/check-hive-failed-when-using-Ambari-installation-tool-port/m-p/116467#M79261</guid>
      <dc:creator>jade_liu</dc:creator>
      <dc:date>2016-01-29T03:56:01Z</dc:date>
    </item>
    <item>
      <title>Re: check hive failed when using Ambari installation tool: port is not listening</title>
      <link>https://community.cloudera.com/t5/Support-Questions/check-hive-failed-when-using-Ambari-installation-tool-port/m-p/116468#M79262</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2065/jadeliu.html" nodeid="2065"&gt;@Jade Liu&lt;/A&gt; can you run tracert to spark01 server, if its an option also disable firewall and try again. It's hard to tell but you may be denying that server.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2016 04:38:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/check-hive-failed-when-using-Ambari-installation-tool-port/m-p/116468#M79262</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-01-29T04:38:24Z</dc:date>
    </item>
    <item>
      <title>Re: check hive failed when using Ambari installation tool: port is not listening</title>
      <link>https://community.cloudera.com/t5/Support-Questions/check-hive-failed-when-using-Ambari-installation-tool-port/m-p/116469#M79263</link>
      <description>&lt;P&gt;Thanks for replying! Here is the content inside /var/lib/ambari-agent/data/errors-64.txt:&lt;/P&gt;&lt;P&gt;Traceback (most recent call last):&lt;/P&gt;&lt;P&gt;  File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/service_check.py", line 106, in &amp;lt;module&amp;gt;&lt;/P&gt;&lt;P&gt;    HiveServiceCheck().execute()&lt;/P&gt;&lt;P&gt;  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 219, in execute &lt;/P&gt;&lt;P&gt;    method(env)&lt;/P&gt;&lt;P&gt;  File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/service_check.py", line 97, in service_check&lt;/P&gt;&lt;P&gt;    (params.hostname, params.hive_server_port, elapsed_time))&lt;/P&gt;&lt;P&gt;resource_management.core.exceptions.Fail: Connection to Hive server spark01.nor1solutions.com on port 10000 failed after 295 seconds &lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2016 04:42:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/check-hive-failed-when-using-Ambari-installation-tool-port/m-p/116469#M79263</guid>
      <dc:creator>jade_liu</dc:creator>
      <dc:date>2016-01-29T04:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: check hive failed when using Ambari installation tool: port is not listening</title>
      <link>https://community.cloudera.com/t5/Support-Questions/check-hive-failed-when-using-Ambari-installation-tool-port/m-p/116470#M79264</link>
      <description>&lt;P&gt;Thanks &lt;A rel="user" href="https://community.cloudera.com/users/393/aervits.html" nodeid="393"&gt;@Artem Ervits&lt;/A&gt; for your help!&lt;/P&gt;&lt;P&gt;run &lt;EM&gt;&lt;STRONG&gt;traceroute -p 10000 spark01.nor1solutions.com&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;get the following result: traceroute to spark01.nor1solutions.com (10.86.36.14), 64 hops max, 52 byte packets&lt;/P&gt;&lt;P&gt;the routes look normal. &lt;/P&gt;&lt;P&gt;Then tried to disable the firewall using &lt;STRONG&gt;service iptables stop&lt;/STRONG&gt; on the server and seems like Hive now is successfully started. But now when I try to run any hive question, I still getting the following error:&lt;/P&gt;&lt;P&gt;Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.DatabaseException Internal Exception: java.sql.SQLException: Connections could not be acquired from the underlying database! Error Code: 0&lt;/P&gt;&lt;P&gt;H020 Could not establish connecton to spark01.nor1solutions.com:10000: org.apache.thrift.transport.TTransportException: java.net.ConnectException: Connection refused: org.apache.thrift.transport.TTransportException: java.net.ConnectException: Connection refused&lt;/P&gt;&lt;P&gt;Is there any other thing blocking the connection to port 10000? &lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2016 06:08:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/check-hive-failed-when-using-Ambari-installation-tool-port/m-p/116470#M79264</guid>
      <dc:creator>jade_liu</dc:creator>
      <dc:date>2016-01-29T06:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: check hive failed when using Ambari installation tool: port is not listening</title>
      <link>https://community.cloudera.com/t5/Support-Questions/check-hive-failed-when-using-Ambari-installation-tool-port/m-p/116471#M79265</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2065/jadeliu.html" nodeid="2065"&gt;@Jade Liu&lt;/A&gt; Try to restart Hive with fw down. You need to make sure every endpoint allows every other node&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2016 06:22:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/check-hive-failed-when-using-Ambari-installation-tool-port/m-p/116471#M79265</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-01-29T06:22:01Z</dc:date>
    </item>
    <item>
      <title>Re: check hive failed when using Ambari installation tool: port is not listening</title>
      <link>https://community.cloudera.com/t5/Support-Questions/check-hive-failed-when-using-Ambari-installation-tool-port/m-p/116472#M79266</link>
      <description>&lt;P&gt;is fw down on both nodes?&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2016 06:23:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/check-hive-failed-when-using-Ambari-installation-tool-port/m-p/116472#M79266</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-01-29T06:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: check hive failed when using Ambari installation tool: port is not listening</title>
      <link>https://community.cloudera.com/t5/Support-Questions/check-hive-failed-when-using-Ambari-installation-tool-port/m-p/116473#M79267</link>
      <description>&lt;P&gt;Thank you @Artem Ervits! If I cannot turn off fw, is there any other option to fix the connection problem? &lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2016 07:58:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/check-hive-failed-when-using-Ambari-installation-tool-port/m-p/116473#M79267</guid>
      <dc:creator>jade_liu</dc:creator>
      <dc:date>2016-01-29T07:58:04Z</dc:date>
    </item>
    <item>
      <title>Re: check hive failed when using Ambari installation tool: port is not listening</title>
      <link>https://community.cloudera.com/t5/Support-Questions/check-hive-failed-when-using-Ambari-installation-tool-port/m-p/116474#M79268</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2065/jadeliu.html" nodeid="2065"&gt;@Jade Liu&lt;/A&gt; you need to add the server to firewall policy. You can allow all traffic to that server in firewall policy or go through each Port and add them. &lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2016 08:01:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/check-hive-failed-when-using-Ambari-installation-tool-port/m-p/116474#M79268</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-01-29T08:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: check hive failed when using Ambari installation tool: port is not listening</title>
      <link>https://community.cloudera.com/t5/Support-Questions/check-hive-failed-when-using-Ambari-installation-tool-port/m-p/116475#M79269</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/2065/jadeliu.html" nodeid="2065"&gt;@Jade Liu&lt;/A&gt;&lt;P&gt;Port list&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.4/bk_HDP_Reference_Guide/content/hdfs-ports.html"&gt;https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.4/bk_HDP_Reference_Guide/content/hdfs-ports.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2016 08:05:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/check-hive-failed-when-using-Ambari-installation-tool-port/m-p/116475#M79269</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-01-29T08:05:14Z</dc:date>
    </item>
  </channel>
</rss>

