<?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 in HDP 3.1.4 in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/hiveserver2-not-starting-in-HDP-3-1-4/m-p/316803#M226899</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/31799"&gt;@tusharkathpal&lt;/a&gt;&amp;nbsp; Thanks.&lt;BR /&gt;zookeeper logs aren't showing any useful info I think =&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;2021-05-20 17:51:09,093 - INFO  [main:Environment@100] - Client environment:java.library.path=/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
2021-05-20 17:51:09,094 - INFO  [main:Environment@100] - Client environment:java.io.tmpdir=/tmp
2021-05-20 17:51:09,094 - INFO  [main:Environment@100] - Client environment:java.compiler=&amp;lt;NA&amp;gt;
2021-05-20 17:51:09,094 - INFO  [main:Environment@100] - Client environment:os.name=Linux
2021-05-20 17:51:09,094 - INFO  [main:Environment@100] - Client environment:os.arch=amd64
2021-05-20 17:51:09,094 - INFO  [main:Environment@100] - Client environment:os.version=3.10.0-1127.19.1.el7.x86_64
2021-05-20 17:51:09,094 - INFO  [main:Environment@100] - Client environment:user.name=root
2021-05-20 17:51:09,094 - INFO  [main:Environment@100] - Client environment:user.home=/root
2021-05-20 17:51:09,094 - INFO  [main:Environment@100] - Client environment:user.dir=/var/lib/ambari-agent
2021-05-20 17:51:09,095 - INFO  [main:ZooKeeper@438] - Initiating client connection, connectString=hdp-master.mydomain.com:2181,hdp-slave2.mydomain.com:2181,hdp-slave1.mydomain.com:2181 sessionTimeout=30000 watcher=org.apache.zookeeper.ZooKeeperMain$MyWatcher@25f38edc
2021-05-20 17:51:09,120 - INFO  [main-SendThread(hdp-master.mydomain.com:2181):ClientCnxn$SendThread@1013] - Opening socket connection to server hdp-master.mydomain.com/10.200.104.187:2181. Will not attempt to authenticate using SASL (unknown error)
2021-05-20 17:51:09,190 - INFO  [main-SendThread(hdp-master.mydomain.com:2181):ClientCnxn$SendThread@856] - Socket connection established, initiating session, client: /10.200.104.188:37684, server: hdp-master.mydomain.com/10.200.104.187:2181
2021-05-20 17:51:09,211 - INFO  [main-SendThread(hdp-master.mydomain.com:2181):ClientCnxn$SendThread@1273] - Session establishment complete on server hdp-master.mydomain.com/10.200.104.187:2181, sessionid = 0x17988299eff0059, negotiated timeout = 30000
2021-05-20 17:51:19,799 - INFO  [main:Environment@100] - Client environment:zookeeper.version=3.4.6-315--1, built on 08/23/2019 05:02 GMT
2021-05-20 17:51:19,801 - INFO  [main:Environment@100] - Client environment:host.name=hdp-slave1.mydomain.com
2021-05-20 17:51:19,801 - INFO  [main:Environment@100] - Client environment:java.version=1.8.0_262
2021-05-20 17:51:19,804 - INFO  [main:Environment@100] - Client environment:java.vendor=Oracle Corporation
2021-05-20 17:51:19,804 - INFO  [main:Environment@100] - Client environment:java.home=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.262.b10-0.el7_8.x86_64/jre
2021-05-20 17:51:19,804 - INFO  [main:Environment@100] - Client environment:java.class.path=/usr/hdp/current/zookeeper-client/bin/../build/classes:/usr/hdp/current/zookeeper-client/bin/../build/lib/*.jar:/usr/hdp/current/zookeeper-client/bin/../lib/slf4j-log4j12-1.6.1.jar:/usr/hdp/current/zookeeper-client/bin/../lib/slf4j-api-1.6.1.jar:/usr/hdp/current/zookeeper-client/bin/../lib/netty-3.10.5.Final.jar:/usr/hdp/current/zookeeper-client/bin/../lib/log4j-1.2.16.jar:/usr/hdp/current/zookeeper-client/bin/../lib/jline-0.9.94.jar:/usr/hdp/current/zookeeper-client/bin/../zookeeper-3.4.6.3.1.4.0-315.jar:/usr/hdp/current/zookeeper-client/bin/../src/java/lib/*.jar:/usr/hdp/current/zookeeper-client/bin/../conf::/usr/share/zookeeper/*&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 20 May 2021 12:27:40 GMT</pubDate>
    <dc:creator>dmharshit</dc:creator>
    <dc:date>2021-05-20T12:27:40Z</dc:date>
    <item>
      <title>hiveserver2 not starting in HDP 3.1.4</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hiveserver2-not-starting-in-HDP-3-1-4/m-p/316764#M226892</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I am getting following error when trying to start Hive server =&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;2021-05-20 12:21:50,088 - Will retry 7 time(s), caught exception: ZooKeeper node /hiveserver2 is not ready yet. Sleeping for 10 sec(s)
2021-05-20 12:22:00,098 - call['/usr/hdp/current/zookeeper-client/bin/zkCli.sh -server hdp-master.mydomain.com:2181,hdp-slave2.mydomain.com:2181,hdp-slave1.mydomain.com:2181 ls /hiveserver2 | grep 'serverUri=''] {}
2021-05-20 12:22:00,780 - call returned (1, '')
2021-05-20 12:22:00,781 - Will retry 6 time(s), caught exception: ZooKeeper node /hiveserver2 is not ready yet. Sleeping for 10 sec(s)
2021-05-20 12:22:10,791 - Process with pid 12962 is not running. Stale pid file at /var/run/hive/hive-server.pid&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I referred to similar threads at this forum but didn't help.&lt;/P&gt;&lt;P&gt;Pls suggest how to fix this issue thank you.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;/P&gt;&lt;P&gt;Amey.&lt;/P&gt;</description>
      <pubDate>Thu, 20 May 2021 07:32:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hiveserver2-not-starting-in-HDP-3-1-4/m-p/316764#M226892</guid>
      <dc:creator>dmharshit</dc:creator>
      <dc:date>2021-05-20T07:32:04Z</dc:date>
    </item>
    <item>
      <title>Re: hiveserver2 not starting in HDP 3.1.4</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hiveserver2-not-starting-in-HDP-3-1-4/m-p/316801#M226897</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/86203"&gt;@dmharshit&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A znode is supposed to be formed under zookeeper. Check for zookeeper logs during the HS2 start as to why it is or HS2 is not able to create znode.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 May 2021 11:40:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hiveserver2-not-starting-in-HDP-3-1-4/m-p/316801#M226897</guid>
      <dc:creator>tusharkathpal</dc:creator>
      <dc:date>2021-05-20T11:40:44Z</dc:date>
    </item>
    <item>
      <title>Re: hiveserver2 not starting in HDP 3.1.4</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hiveserver2-not-starting-in-HDP-3-1-4/m-p/316803#M226899</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/31799"&gt;@tusharkathpal&lt;/a&gt;&amp;nbsp; Thanks.&lt;BR /&gt;zookeeper logs aren't showing any useful info I think =&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;2021-05-20 17:51:09,093 - INFO  [main:Environment@100] - Client environment:java.library.path=/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
2021-05-20 17:51:09,094 - INFO  [main:Environment@100] - Client environment:java.io.tmpdir=/tmp
2021-05-20 17:51:09,094 - INFO  [main:Environment@100] - Client environment:java.compiler=&amp;lt;NA&amp;gt;
2021-05-20 17:51:09,094 - INFO  [main:Environment@100] - Client environment:os.name=Linux
2021-05-20 17:51:09,094 - INFO  [main:Environment@100] - Client environment:os.arch=amd64
2021-05-20 17:51:09,094 - INFO  [main:Environment@100] - Client environment:os.version=3.10.0-1127.19.1.el7.x86_64
2021-05-20 17:51:09,094 - INFO  [main:Environment@100] - Client environment:user.name=root
2021-05-20 17:51:09,094 - INFO  [main:Environment@100] - Client environment:user.home=/root
2021-05-20 17:51:09,094 - INFO  [main:Environment@100] - Client environment:user.dir=/var/lib/ambari-agent
2021-05-20 17:51:09,095 - INFO  [main:ZooKeeper@438] - Initiating client connection, connectString=hdp-master.mydomain.com:2181,hdp-slave2.mydomain.com:2181,hdp-slave1.mydomain.com:2181 sessionTimeout=30000 watcher=org.apache.zookeeper.ZooKeeperMain$MyWatcher@25f38edc
2021-05-20 17:51:09,120 - INFO  [main-SendThread(hdp-master.mydomain.com:2181):ClientCnxn$SendThread@1013] - Opening socket connection to server hdp-master.mydomain.com/10.200.104.187:2181. Will not attempt to authenticate using SASL (unknown error)
2021-05-20 17:51:09,190 - INFO  [main-SendThread(hdp-master.mydomain.com:2181):ClientCnxn$SendThread@856] - Socket connection established, initiating session, client: /10.200.104.188:37684, server: hdp-master.mydomain.com/10.200.104.187:2181
2021-05-20 17:51:09,211 - INFO  [main-SendThread(hdp-master.mydomain.com:2181):ClientCnxn$SendThread@1273] - Session establishment complete on server hdp-master.mydomain.com/10.200.104.187:2181, sessionid = 0x17988299eff0059, negotiated timeout = 30000
2021-05-20 17:51:19,799 - INFO  [main:Environment@100] - Client environment:zookeeper.version=3.4.6-315--1, built on 08/23/2019 05:02 GMT
2021-05-20 17:51:19,801 - INFO  [main:Environment@100] - Client environment:host.name=hdp-slave1.mydomain.com
2021-05-20 17:51:19,801 - INFO  [main:Environment@100] - Client environment:java.version=1.8.0_262
2021-05-20 17:51:19,804 - INFO  [main:Environment@100] - Client environment:java.vendor=Oracle Corporation
2021-05-20 17:51:19,804 - INFO  [main:Environment@100] - Client environment:java.home=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.262.b10-0.el7_8.x86_64/jre
2021-05-20 17:51:19,804 - INFO  [main:Environment@100] - Client environment:java.class.path=/usr/hdp/current/zookeeper-client/bin/../build/classes:/usr/hdp/current/zookeeper-client/bin/../build/lib/*.jar:/usr/hdp/current/zookeeper-client/bin/../lib/slf4j-log4j12-1.6.1.jar:/usr/hdp/current/zookeeper-client/bin/../lib/slf4j-api-1.6.1.jar:/usr/hdp/current/zookeeper-client/bin/../lib/netty-3.10.5.Final.jar:/usr/hdp/current/zookeeper-client/bin/../lib/log4j-1.2.16.jar:/usr/hdp/current/zookeeper-client/bin/../lib/jline-0.9.94.jar:/usr/hdp/current/zookeeper-client/bin/../zookeeper-3.4.6.3.1.4.0-315.jar:/usr/hdp/current/zookeeper-client/bin/../src/java/lib/*.jar:/usr/hdp/current/zookeeper-client/bin/../conf::/usr/share/zookeeper/*&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 May 2021 12:27:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hiveserver2-not-starting-in-HDP-3-1-4/m-p/316803#M226899</guid>
      <dc:creator>dmharshit</dc:creator>
      <dc:date>2021-05-20T12:27:40Z</dc:date>
    </item>
    <item>
      <title>Re: hiveserver2 not starting in HDP 3.1.4</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hiveserver2-not-starting-in-HDP-3-1-4/m-p/316855#M226925</link>
      <description>&lt;P&gt;After moving HIVE to another slave node, HIVE is now working but,&lt;/P&gt;&lt;P&gt;If I try to invoke hive shell from slave1 i.e. the problematic host, it tries to connect to the same host i.e. slave1.&lt;/P&gt;&lt;P&gt;I compared '&lt;STRONG&gt;hive-site.xml&lt;/STRONG&gt;' of slave1 &amp;amp; slave2.&amp;nbsp;&lt;BR /&gt;No difference.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Some suspect from the &lt;STRONG&gt;hive-site.xml&lt;/STRONG&gt; which might causing slave1 to connect to slave1 after invoking hive shell =&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt; &amp;lt;property&amp;gt;
      &amp;lt;name&amp;gt;atlas.rest.address&amp;lt;/name&amp;gt;
      &amp;lt;value&amp;gt;http://hdp-slave1.mydomain.com:21000&amp;lt;/value&amp;gt;
    &amp;lt;/property&amp;gt;

&amp;lt;property&amp;gt;
      &amp;lt;name&amp;gt;hive.cluster.delegation.token.store.zookeeper.connectString&amp;lt;/name&amp;gt;
      &amp;lt;value&amp;gt;hdp-slave1.mydomain.com:2181,hdp-slave2.mydomain.com:2181,hdp-master.mydomain.com:2181&amp;lt;/value&amp;gt;
    &amp;lt;/property&amp;gt;

    &amp;lt;property&amp;gt;
      &amp;lt;name&amp;gt;hive.zookeeper.quorum&amp;lt;/name&amp;gt;
      &amp;lt;value&amp;gt;hdp-slave1.mydomain.com:2181,hdp-slave2.mydomain.com:2181,hdp-master.mydomain.com:2181&amp;lt;/value&amp;gt;
    &amp;lt;/property&amp;gt;






&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 May 2021 07:24:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hiveserver2-not-starting-in-HDP-3-1-4/m-p/316855#M226925</guid>
      <dc:creator>dmharshit</dc:creator>
      <dc:date>2021-05-21T07:24:10Z</dc:date>
    </item>
    <item>
      <title>Re: hiveserver2 not starting in HDP 3.1.4</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hiveserver2-not-starting-in-HDP-3-1-4/m-p/316968#M226968</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/86203"&gt;@dmharshit&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Check your Ambari UI---&amp;gt;HDFS--&amp;gt;Config-- look for the parameter &lt;FONT color="#993300"&gt;hadoop.proxyuser.hive.hosts&lt;/FONT&gt; make sure it's the HS2 host is listed here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ClouderaComm_HDP 3.1.4.JPG" style="width: 782px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/31269i6D66852AE06CEF1A/image-size/large?v=v2&amp;amp;px=999" role="button" title="ClouderaComm_HDP 3.1.4.JPG" alt="ClouderaComm_HDP 3.1.4.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Restart the stale config and let me know!&lt;/P&gt;</description>
      <pubDate>Sat, 22 May 2021 20:30:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hiveserver2-not-starting-in-HDP-3-1-4/m-p/316968#M226968</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2021-05-22T20:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: hiveserver2 not starting in HDP 3.1.4</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hiveserver2-not-starting-in-HDP-3-1-4/m-p/317544#M227217</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/20288"&gt;@Shelton&lt;/a&gt;&amp;nbsp; Thanks for the reply.&lt;/P&gt;&lt;P&gt;I confirmed that it's HS2 listed in&amp;nbsp;&lt;FONT color="#993300"&gt;&lt;SPAN&gt;hadoop.proxyuser.hive.hosts&lt;/SPAN&gt;&lt;/FONT&gt; i.e. slave2 host in my case which is running Hive server service by now.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jun 2021 10:44:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hiveserver2-not-starting-in-HDP-3-1-4/m-p/317544#M227217</guid>
      <dc:creator>dmharshit</dc:creator>
      <dc:date>2021-06-02T10:44:06Z</dc:date>
    </item>
    <item>
      <title>Re: hiveserver2 not starting in HDP 3.1.4</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hiveserver2-not-starting-in-HDP-3-1-4/m-p/317677#M227274</link>
      <description>&lt;P&gt;&lt;FONT face="book antiqua,palatino,serif" size="2"&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/86203"&gt;@dmharshit&lt;/a&gt;&amp;nbsp;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="book antiqua,palatino,serif" size="2"&gt;Is the problem still persistent?&amp;nbsp; Have you tried using Ambari REST API&amp;nbsp; to move the component and delete the component for the old host?&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="book antiqua,palatino,serif" size="2"&gt;Please revert&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jun 2021 21:17:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hiveserver2-not-starting-in-HDP-3-1-4/m-p/317677#M227274</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2021-06-03T21:17:59Z</dc:date>
    </item>
    <item>
      <title>Re: hiveserver2 not starting in HDP 3.1.4</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hiveserver2-not-starting-in-HDP-3-1-4/m-p/317974#M227374</link>
      <description>&lt;P&gt;Problem is still there.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;21/06/09 16:50:22 INFO zookeeper.ZooKeeper: Client environment:java.io.tmpdir=/tmp
21/06/09 16:50:22 INFO zookeeper.ZooKeeper: Client environment:java.compiler=&amp;lt;NA&amp;gt;
21/06/09 16:50:22 INFO zookeeper.ZooKeeper: Client environment:os.name=Linux
21/06/09 16:50:22 INFO zookeeper.ZooKeeper: Client environment:os.arch=amd64
21/06/09 16:50:22 INFO zookeeper.ZooKeeper: Client environment:os.version=3.10.0-1127.19.1.el7.x86_64
21/06/09 16:50:22 INFO zookeeper.ZooKeeper: Client environment:user.name=eagledev
21/06/09 16:50:22 INFO zookeeper.ZooKeeper: Client environment:user.home=/home/user1
21/06/09 16:50:22 INFO zookeeper.ZooKeeper: Client environment:user.dir=/home/user1
21/06/09 16:50:22 INFO zookeeper.ZooKeeper: Initiating client connection, connectString=hdp-slave1.mydomain.com:2181,hdp-slave2.mydomain.com:2181,hdp-master.mydomain.com:2181 sessionTimeout=60000 watcher=org.apache.curator.ConnectionState@5ace1ed4
21/06/09 16:50:22 INFO zookeeper.ClientCnxn: Opening socket connection to server hdp-slave1.mydomain.com/10.200.104.188:2181. Will not attempt to authenticate using SASL (unknown error)
21/06/09 16:50:22 INFO zookeeper.ClientCnxn: Socket connection established to hdp-slave1.mydomain.com/10.200.104.188:2181, initiating session
21/06/09 16:50:22 INFO imps.CuratorFrameworkImpl: backgroundOperationsLoop exiting
21/06/09 16:50:22 INFO zookeeper.ClientCnxn: Session establishment complete on server hdp-slave1.mydomain.com/10.200.104.188:2181, sessionid = 0x279ef5fd2c3006b, negotiated timeout = 60000
21/06/09 16:50:22 INFO zookeeper.ZooKeeper: Session: 0x279ef5fd2c3006b closed
21/06/09 16:50:22 INFO zookeeper.ClientCnxn: EventThread shut down
org.apache.curator.CuratorZookeeperClient.startAdvancedTracer(Ljava/lang/String;)Lorg/apache/curator/drivers/OperationTrace;
Beeline version 3.1.0.3.1.4.0-315 by Apache Hive
0: jdbc:hive2://hdp-slave1.mydomain.com:2 (closed)&amp;gt;&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 09 Jun 2021 11:24:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hiveserver2-not-starting-in-HDP-3-1-4/m-p/317974#M227374</guid>
      <dc:creator>dmharshit</dc:creator>
      <dc:date>2021-06-09T11:24:15Z</dc:date>
    </item>
  </channel>
</rss>

