<?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: Ambari shows HiveServer2 and Hive Metastore is stopped but they are running in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Ambari-shows-HiveServer2-and-Hive-Metastore-is-stopped-but/m-p/165323#M127688</link>
    <description>&lt;P&gt;@Dinesh, This is problem resolved after upgrading the HDP from 2.3.4 to 2.4.2&lt;/P&gt;</description>
    <pubDate>Wed, 16 Nov 2016 01:09:57 GMT</pubDate>
    <dc:creator>jayanta_das</dc:creator>
    <dc:date>2016-11-16T01:09:57Z</dc:date>
    <item>
      <title>Ambari shows HiveServer2 and Hive Metastore is stopped but they are running</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-shows-HiveServer2-and-Hive-Metastore-is-stopped-but/m-p/165313#M127678</link>
      <description>&lt;P&gt;Ambari dashboard is showing HiveServer2 and Hive Metastore is stopped, but from the command line I am able to login into hive cli and hiveserver2 using beeline client also.&lt;/P&gt;&lt;P&gt;I have 6 node cluster in which I have installed hive server in 2 nodes and hive client is installed in all 6 nodes. In node1 ambari dashboard it was showing hiveserver2 and hive metastore is stopped but in node2 it was started.&lt;/P&gt;&lt;P&gt;In node1:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="6381-hive-node1.png" style="width: 1153px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/20398i86E697448CC40B8C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="6381-hive-node1.png" alt="6381-hive-node1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In node2:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="6382-hive-node2.png" style="width: 1152px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/20399i9CF0A684D1CF7784/image-size/medium?v=v2&amp;amp;px=400" role="button" title="6382-hive-node2.png" alt="6382-hive-node2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When checked the process id which was available in /var/run/hive/hive.pid and hive-server.pid, they are same.&lt;/P&gt;&lt;PRE&gt;[node1 ~]$ cd /var/run/hive
[node1.staging.iad hive]$ ls
hive.pid  hive-server.pid
[node1 hive]$ cat hive.pid
14037
[node1 hive]$ cat hive-server.pid
16654
[node1 hive]$ ps -ef| grep 14037
dinesh     564 32124  0 15:10 pts/0    00:00:00 grep 14037
hive     14037     1  0 Aug03 ?        00:01:45 /usr/lib/jvm/jre/bin/java -Xmx1024m -Dhdp.version=2.3.4.0-3485 -Djava.net.preferIPv4Stack=true -Dhdp.version=2.3.4.0-3485 -Dhadoop.log.dir=/var/log/hadoop/hive -Dhadoop.log.file=hadoop.log -Dhadoop.home.dir=/usr/hdp/2.3.4.0-3485/hadoop -Dhadoop.id.str=hive -Dhadoop.root.logger=INFO,console -Djava.library.path=:/usr/hdp/current/hadoop-client/lib/native/Linux-amd64-64:/usr/hdp/2.3.4.0-3485/hadoop/lib/native -Dhadoop.policy.file=hadoop-policy.xml -Djava.net.preferIPv4Stack=true -Xmx1024m -XX:MaxPermSize=512m -Xmx1024m -Dhadoop.security.logger=INFO,NullAppender org.apache.hadoop.util.RunJar /usr/hdp/2.3.4.0-3485/hive/lib/hive-service-1.2.1.2.3.4.0-3485.jar org.apache.hadoop.hive.metastore.HiveMetaStore -hiveconf hive.log.file=hivemetastore.log -hiveconf hive.log.dir=/var/log/hive
[node1 hive]$ ps -ef| grep 16654
dinesh     621 32124  0 15:10 pts/0    00:00:00 grep 16654
hive     16654     1  0 Aug03 ?        00:01:32 /usr/lib/jvm/jre/bin/java -Xmx1024m -Dhdp.version=2.3.4.0-3485 -Djava.net.preferIPv4Stack=true -Dhdp.version=2.3.4.0-3485 -Dhadoop.log.dir=/var/log/hadoop/hive -Dhadoop.log.file=hadoop.log -Dhadoop.home.dir=/usr/hdp/2.3.4.0-3485/hadoop -Dhadoop.id.str=hive -Dhadoop.root.logger=INFO,console -Djava.library.path=:/usr/hdp/current/hadoop-client/lib/native/Linux-amd64-64:/usr/hdp/2.3.4.0-3485/hadoop/lib/native -Dhadoop.policy.file=hadoop-policy.xml -Djava.net.preferIPv4Stack=true -Xmx1024m -XX:MaxPermSize=512m -Xmx512m -Dhadoop.security.logger=INFO,NullAppender org.apache.hadoop.util.RunJar /usr/hdp/2.3.4.0-3485/hive/lib/hive-service-1.2.1.2.3.4.0-3485.jar org.apache.hive.service.server.HiveServer2 --hiveconf hive.aux.jars.path=file:///usr/hdp/current/hive-webhcat/share/hcatalog/hive-hcatalog-core.jar -hiveconf hive.metastore.uris=  -hiveconf hive.log.file=hiveserver2.log -hiveconf hive.log.dir=/var/log/hive
&lt;/PRE&gt;</description>
      <pubDate>Sun, 18 Aug 2019 11:20:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-shows-HiveServer2-and-Hive-Metastore-is-stopped-but/m-p/165313#M127678</guid>
      <dc:creator>dineshe24</dc:creator>
      <dc:date>2019-08-18T11:20:54Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari shows HiveServer2 and Hive Metastore is stopped but they are running</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-shows-HiveServer2-and-Hive-Metastore-is-stopped-but/m-p/165314#M127679</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/11626/dineshe24.html" nodeid="11626"&gt;@Dinesh  E&lt;/A&gt;&lt;P&gt;Can you restart Ambari agent and see if helps?&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2016 23:09:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-shows-HiveServer2-and-Hive-Metastore-is-stopped-but/m-p/165314#M127679</guid>
      <dc:creator>KuldeepK</dc:creator>
      <dc:date>2016-08-04T23:09:21Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari shows HiveServer2 and Hive Metastore is stopped but they are running</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-shows-HiveServer2-and-Hive-Metastore-is-stopped-but/m-p/165315#M127680</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/11626/dineshe24.html" nodeid="11626"&gt;@Dinesh  E&lt;/A&gt; Here is an article on why this could happen. It explains why and steps to take when such a scenario occurs : &lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/articles/18088/ambari-shows-hdp-services-to-be-down-whereas-they.html" target="_blank"&gt;https://community.hortonworks.com/articles/18088/ambari-shows-hdp-services-to-be-down-whereas-they.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2016 23:27:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-shows-HiveServer2-and-Hive-Metastore-is-stopped-but/m-p/165315#M127680</guid>
      <dc:creator>sbhat</dc:creator>
      <dc:date>2016-08-04T23:27:46Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari shows HiveServer2 and Hive Metastore is stopped but they are running</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-shows-HiveServer2-and-Hive-Metastore-is-stopped-but/m-p/165316#M127681</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/504/kkulkarni.html" nodeid="504"&gt;@Kuldeep Kulkarni&lt;/A&gt;&lt;P&gt;Thanks for your reply. Restarted ambari agent, but it doesn't worked out.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Aug 2016 21:49:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-shows-HiveServer2-and-Hive-Metastore-is-stopped-but/m-p/165316#M127681</guid>
      <dc:creator>dineshe24</dc:creator>
      <dc:date>2016-08-05T21:49:28Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari shows HiveServer2 and Hive Metastore is stopped but they are running</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-shows-HiveServer2-and-Hive-Metastore-is-stopped-but/m-p/165317#M127682</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1902/sbhat.html" nodeid="1902"&gt;@sbhat&lt;/A&gt; Thanks for you reply.&lt;/P&gt;&lt;P&gt;My issue falls under scenario 2 in that article.&lt;/P&gt;&lt;P&gt;But my hive.pid permission are correct i.e&lt;/P&gt;&lt;PRE&gt;-rw-r--r-- 1 hive hadoop 6 Aug  4 19:48 hive.pid
-rw-r--r-- 1 hive hadoop 6 Aug  4 19:48 hive-server.pid
&lt;/PRE&gt;&lt;P&gt;And also my procees id's i.e hive-server.pid is matching with the process id when checked using &lt;/P&gt;&lt;PRE&gt;ps -ef|grep hive&lt;/PRE&gt;</description>
      <pubDate>Fri, 05 Aug 2016 21:58:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-shows-HiveServer2-and-Hive-Metastore-is-stopped-but/m-p/165317#M127682</guid>
      <dc:creator>dineshe24</dc:creator>
      <dc:date>2016-08-05T21:58:56Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari shows HiveServer2 and Hive Metastore is stopped but they are running</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-shows-HiveServer2-and-Hive-Metastore-is-stopped-but/m-p/165318#M127683</link>
      <description>&lt;P&gt;I have the same problems...Also the tipps didn´t work &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2016 00:11:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-shows-HiveServer2-and-Hive-Metastore-is-stopped-but/m-p/165318#M127683</guid>
      <dc:creator>jonas_friedrich</dc:creator>
      <dc:date>2016-08-16T00:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari shows HiveServer2 and Hive Metastore is stopped but they are running</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-shows-HiveServer2-and-Hive-Metastore-is-stopped-but/m-p/165319#M127684</link>
      <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/users/11626/dineshe24.html"&gt;@Dinesh E&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It looks the following services are all in maintenance mode.&lt;/P&gt;&lt;PRE&gt;Hive Server2
Hive-Metastore
HCat client
Hive Client&lt;/PRE&gt;&lt;P&gt;Please Turn Off Maintenance Mode and let me know if that worked&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2016 04:03:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-shows-HiveServer2-and-Hive-Metastore-is-stopped-but/m-p/165319#M127684</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2016-08-16T04:03:42Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari shows HiveServer2 and Hive Metastore is stopped but they are running</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-shows-HiveServer2-and-Hive-Metastore-is-stopped-but/m-p/165320#M127685</link>
      <description>&lt;P&gt;Didn´t work for me &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2016 13:54:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-shows-HiveServer2-and-Hive-Metastore-is-stopped-but/m-p/165320#M127685</guid>
      <dc:creator>jonas_friedrich</dc:creator>
      <dc:date>2016-08-16T13:54:19Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari shows HiveServer2 and Hive Metastore is stopped but they are running</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-shows-HiveServer2-and-Hive-Metastore-is-stopped-but/m-p/165321#M127686</link>
      <description>&lt;P&gt;Hi Dinesh, &lt;/P&gt;&lt;P&gt;I had same issue in my env for few months back. In my scenario hive service had started with other user (manually). not with ambari user. kill the procees id and again start the service using ambari console resolved my issue.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2016 14:04:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-shows-HiveServer2-and-Hive-Metastore-is-stopped-but/m-p/165321#M127686</guid>
      <dc:creator>subhash_parise3</dc:creator>
      <dc:date>2016-08-16T14:04:40Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari shows HiveServer2 and Hive Metastore is stopped but they are running</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-shows-HiveServer2-and-Hive-Metastore-is-stopped-but/m-p/165322#M127687</link>
      <description>&lt;P&gt;Hi,
@subhash parise.

Thanks for your answer, but that didn´t worked for me ;-(&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2016 16:56:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-shows-HiveServer2-and-Hive-Metastore-is-stopped-but/m-p/165322#M127687</guid>
      <dc:creator>jonas_friedrich</dc:creator>
      <dc:date>2016-08-16T16:56:49Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari shows HiveServer2 and Hive Metastore is stopped but they are running</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-shows-HiveServer2-and-Hive-Metastore-is-stopped-but/m-p/165323#M127688</link>
      <description>&lt;P&gt;@Dinesh, This is problem resolved after upgrading the HDP from 2.3.4 to 2.4.2&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2016 01:09:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-shows-HiveServer2-and-Hive-Metastore-is-stopped-but/m-p/165323#M127688</guid>
      <dc:creator>jayanta_das</dc:creator>
      <dc:date>2016-11-16T01:09:57Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari shows HiveServer2 and Hive Metastore is stopped but they are running</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-shows-HiveServer2-and-Hive-Metastore-is-stopped-but/m-p/165324#M127689</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10865/jayantadas.html" nodeid="10865"&gt;@Jayanta Das&lt;/A&gt; Thanks for the update.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2016 16:37:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-shows-HiveServer2-and-Hive-Metastore-is-stopped-but/m-p/165324#M127689</guid>
      <dc:creator>dineshe24</dc:creator>
      <dc:date>2016-11-16T16:37:25Z</dc:date>
    </item>
  </channel>
</rss>

