<?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 shows failure - but starts after upgrading to Ambari 2.4.2 in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HiveServer2-shows-failure-but-starts-after-upgrading-to/m-p/152136#M48738</link>
    <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/2591/adija-1.html"&gt;Adi Jabkowsky&lt;/A&gt;&lt;/P&gt;&lt;P&gt;So in general there seems to be two issues (both need to be addressed)&lt;/P&gt;&lt;P&gt;
1. Incorrect "templeton.libjars" &lt;/P&gt;&lt;P&gt;        &amp;gt;&amp;gt; Please correct the "templeton.libjars" Property value as following:&lt;/P&gt;&lt;PRE&gt;   /usr/hdp/${hdp.version}/zookeeper/zookeeper.jar,/usr/hdp/${hdp.version}/hive/lib/hive-common.jar&lt;/PRE&gt;&lt;P&gt;2. mysql connection JDBC jar is missing 
   &amp;gt;&amp;gt; pelase check if the JAR is present or nor? Or If missing then you can copy it from other installation/host.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;</description>
    <pubDate>Tue, 13 Dec 2016 23:03:23 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2016-12-13T23:03:23Z</dc:date>
    <item>
      <title>HiveServer2 shows failure - but starts after upgrading to Ambari 2.4.2</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HiveServer2-shows-failure-but-starts-after-upgrading-to/m-p/152128#M48730</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;HDP 2.3.2 &amp;amp; Ambari 2.1.2.1 that was upgraded to Ambari 2.4.2.0 &lt;/P&gt;&lt;P&gt;After upgrading Ambari to 2.4.2.0 when i start Hive service the operation output is red with an error - but Hive is green, up &amp;amp; running without any problems.&lt;/P&gt;&lt;P&gt;Here is the error:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="10264-snap-2016-12-13-at-113045.png" style="width: 964px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/21124iF37CC3A731D0DBF3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="10264-snap-2016-12-13-at-113045.png" alt="10264-snap-2016-12-13-at-113045.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But this is the actual result - the restart indicator still exists and Hive is green. I'm also able to connect to hive using beeline and work as usual.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="10265-snap-2016-12-13-at-113102.png" style="width: 597px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/21125iA054098476F87B1D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="10265-snap-2016-12-13-at-113102.png" alt="10265-snap-2016-12-13-at-113102.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Service Check produces the following result&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="10266-snap-2016-12-13-at-162256.png" style="width: 971px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/21126iBE7B6A445B842FDF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="10266-snap-2016-12-13-at-162256.png" alt="10266-snap-2016-12-13-at-162256.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The hiveserver2.log is free of errors and Hive is working properly !
&lt;/STRONG&gt;I can live with this but i'm afraid that i will have problems with upgrading the HDP because one of the prerequisites is successful service check...&lt;/P&gt;&lt;P&gt; Any ideas ?&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 12:48:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HiveServer2-shows-failure-but-starts-after-upgrading-to/m-p/152128#M48730</guid>
      <dc:creator>Adija1</dc:creator>
      <dc:date>2019-08-18T12:48:51Z</dc:date>
    </item>
    <item>
      <title>Re: HiveServer2 shows failure - but starts after upgrading to Ambari 2.4.2</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HiveServer2-shows-failure-but-starts-after-upgrading-to/m-p/152129#M48731</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/2591/adija-1.html"&gt;Adi Jabkowsky&lt;/A&gt;&lt;/P&gt;&lt;P&gt;From your 3rd error screen shot it looks like the "zookeeper.jar" path is set incorrectly.&lt;/P&gt;&lt;P&gt;Please correct the "templeton.libjars"   Property value as following:&lt;/P&gt;&lt;PRE&gt;/usr/hdp/${hdp.version}/zookeeper/zookeeper.jar,/usr/hdp/${hdp.version}/hive/lib/hive-common.jar&lt;/PRE&gt;&lt;P&gt;- In the image we see that the zookeeper.jar path is incorrect.&lt;/P&gt;&lt;P&gt;- The &lt;STRONG&gt;"templeton.libjars&lt;/STRONG&gt;&lt;STRONG&gt;" &lt;/STRONG&gt;can be set via ambari &lt;/P&gt;&lt;P&gt;"Hive" ==&amp;gt; "config" ==&amp;gt; "Advanced" ==&amp;gt; "Advanced webhcat-site"&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2016 22:33:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HiveServer2-shows-failure-but-starts-after-upgrading-to/m-p/152129#M48731</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-12-13T22:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: HiveServer2 shows failure - but starts after upgrading to Ambari 2.4.2</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HiveServer2-shows-failure-but-starts-after-upgrading-to/m-p/152130#M48732</link>
      <description>@&lt;A href="https://community.hortonworks.com/users/2591/adija-1.html"&gt;Adi Jabkowsky&lt;/A&gt;&lt;P&gt;It seems Hive Metastore is having an issue with hive DB.&lt;/P&gt;&lt;P&gt;might be with following reason:&lt;/P&gt;&lt;P&gt;The HIVE metastore is a different host to the host running HiveServer2. Permissions on the metastore do not allow connections from the HiveServer2 host.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2016 22:44:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HiveServer2-shows-failure-but-starts-after-upgrading-to/m-p/152130#M48732</guid>
      <dc:creator>divakarreddy_a</dc:creator>
      <dc:date>2016-12-13T22:44:05Z</dc:date>
    </item>
    <item>
      <title>Re: HiveServer2 shows failure - but starts after upgrading to Ambari 2.4.2</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HiveServer2-shows-failure-but-starts-after-upgrading-to/m-p/152131#M48733</link>
      <description>&lt;P&gt;Hi &lt;A href="https://community.hortonworks.com/questions/71300/hiveserver2-shows-failure-but-starts-after-upgradi.html#"&gt;@jss&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thank you for your reply&lt;/P&gt;&lt;P&gt;The "templeton.libjars" Property hasen't been changed so i'm kind of baffled why i need to "correct" it.
I do agree that the path which the service check is looking seems corrupt: &lt;/P&gt;&lt;PRE&gt;/usr/hdp/2.3.2.0-2950/hive/lib/hive-common.jar/zookeeper.jar&lt;/PRE&gt;&lt;P&gt;hive-common.jar/zookeeper.jar (jar file \ jar file)&lt;/P&gt;&lt;P&gt;It seems like a bug in the service check.... there can't be a .jar file under a .jar file...
Or am i missing here something ?&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2016 22:45:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HiveServer2-shows-failure-but-starts-after-upgrading-to/m-p/152131#M48733</guid>
      <dc:creator>Adija1</dc:creator>
      <dc:date>2016-12-13T22:45:59Z</dc:date>
    </item>
    <item>
      <title>Re: HiveServer2 shows failure - but starts after upgrading to Ambari 2.4.2</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HiveServer2-shows-failure-but-starts-after-upgrading-to/m-p/152132#M48734</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/2591/adija-1.html"&gt;Adi Jabkowsky&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You encountered a bug regarding the "templeton.libjars" Property. Please file it.    
Also please correct that "templeton.libjars" Property value and the service check issue should be fixed.    &lt;/P&gt;&lt;PRE&gt;/usr/hdp/${hdp.version}/zookeeper/zookeeper.jar,/usr/hdp/${hdp.version}/hive/lib/hive-common.jar
&lt;/PRE&gt;&lt;P&gt;
- Else please compare the value of "templeton.libjars" property from any of your working environment and you will find that it will be same as above.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2016 22:50:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HiveServer2-shows-failure-but-starts-after-upgrading-to/m-p/152132#M48734</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-12-13T22:50:05Z</dc:date>
    </item>
    <item>
      <title>Re: HiveServer2 shows failure - but starts after upgrading to Ambari 2.4.2</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HiveServer2-shows-failure-but-starts-after-upgrading-to/m-p/152133#M48735</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/2348/divakarreddya.html" nodeid="2348"&gt;@Divakar Annapureddy&lt;/A&gt;&lt;P&gt;Thank you for replying!&lt;/P&gt;&lt;P&gt;The HIVE metastore is on the same host as the running HiveServer2. Nothing was changed in the hive mysql \ metastore- only Ambari was upgraded. That's the only change.
Also - if there was a problem with connection between the HS2 to the metastore - Hive wouldn't work, but fortunately it works without a problem!&lt;/P&gt;&lt;P&gt;I have NO problems with restarting Hive nor working with it. I can connect to any Hive DBs, query as usual. Permissions are working. Everything seems normal and green.
My problem is that the restart indicator doesn't go away + restarting produces error &lt;STRONG&gt;although it succeeds with restarting + &lt;/STRONG&gt;service check fails.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2016 22:50:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HiveServer2-shows-failure-but-starts-after-upgrading-to/m-p/152133#M48735</guid>
      <dc:creator>Adija1</dc:creator>
      <dc:date>2016-12-13T22:50:56Z</dc:date>
    </item>
    <item>
      <title>Re: HiveServer2 shows failure - but starts after upgrading to Ambari 2.4.2</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HiveServer2-shows-failure-but-starts-after-upgrading-to/m-p/152134#M48736</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/3823/joysensharma.html" nodeid="3823"&gt;@jss&lt;/A&gt;&lt;P&gt;I've compared to other working environments and the value is the same in all of them:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/usr/hdp/${hdp.version}/zookeeper,/usr/hdp/${hdp.version}/hive/lib/hive-common.jar/zookeeper.jar&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2016 22:54:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HiveServer2-shows-failure-but-starts-after-upgrading-to/m-p/152134#M48736</guid>
      <dc:creator>Adija1</dc:creator>
      <dc:date>2016-12-13T22:54:47Z</dc:date>
    </item>
    <item>
      <title>Re: HiveServer2 shows failure - but starts after upgrading to Ambari 2.4.2</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HiveServer2-shows-failure-but-starts-after-upgrading-to/m-p/152135#M48737</link>
      <description>&lt;P&gt;in your error logs , it says that the com.mysql.jdbc.driver could not be located. can you see if the mysql jdbc jar is in the location used by the service check. As per logs it should be at /usr/hdp/current/hive-server2/lib/mysql-connector-java.jar.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2016 22:56:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HiveServer2-shows-failure-but-starts-after-upgrading-to/m-p/152135#M48737</guid>
      <dc:creator>knarayanan</dc:creator>
      <dc:date>2016-12-13T22:56:23Z</dc:date>
    </item>
    <item>
      <title>Re: HiveServer2 shows failure - but starts after upgrading to Ambari 2.4.2</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HiveServer2-shows-failure-but-starts-after-upgrading-to/m-p/152136#M48738</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/2591/adija-1.html"&gt;Adi Jabkowsky&lt;/A&gt;&lt;/P&gt;&lt;P&gt;So in general there seems to be two issues (both need to be addressed)&lt;/P&gt;&lt;P&gt;
1. Incorrect "templeton.libjars" &lt;/P&gt;&lt;P&gt;        &amp;gt;&amp;gt; Please correct the "templeton.libjars" Property value as following:&lt;/P&gt;&lt;PRE&gt;   /usr/hdp/${hdp.version}/zookeeper/zookeeper.jar,/usr/hdp/${hdp.version}/hive/lib/hive-common.jar&lt;/PRE&gt;&lt;P&gt;2. mysql connection JDBC jar is missing 
   &amp;gt;&amp;gt; pelase check if the JAR is present or nor? Or If missing then you can copy it from other installation/host.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2016 23:03:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HiveServer2-shows-failure-but-starts-after-upgrading-to/m-p/152136#M48738</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-12-13T23:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: HiveServer2 shows failure - but starts after upgrading to Ambari 2.4.2</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HiveServer2-shows-failure-but-starts-after-upgrading-to/m-p/152137#M48739</link>
      <description>&lt;P&gt;just made small modification in any of your config file and give a try to re-start that service&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2016 23:06:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HiveServer2-shows-failure-but-starts-after-upgrading-to/m-p/152137#M48739</guid>
      <dc:creator>divakarreddy_a</dc:creator>
      <dc:date>2016-12-13T23:06:19Z</dc:date>
    </item>
    <item>
      <title>Re: HiveServer2 shows failure - but starts after upgrading to Ambari 2.4.2</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HiveServer2-shows-failure-but-starts-after-upgrading-to/m-p/152138#M48740</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3823/joysensharma.html" nodeid="3823" target="_blank"&gt;@jss&lt;/A&gt; &lt;/P&gt;&lt;P&gt;1. Corrected the path to 
/usr/hdp/${hdp.version}/zookeeper/zookeeper.jar,/usr/hdp/${hdp.version}/hive/lib/hive-common.jar&lt;/P&gt;&lt;P&gt;Still same error in service check. Seems like a straight up bug cause it's searching for &lt;EM&gt;hive-common.jar/zookeeper.jar.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;2. mysql-connector-java.jar was missing from &lt;STRONG&gt;/usr/hdp/current/hive-server2/lib&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I found one in /var/lib/ambari-server/resources/mysql-connector-java.jar and copied it to &lt;STRONG&gt;/usr/hdp/current/hive-server2/lib&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;After restarting the Hive service - it was gone. I checked it twice.&lt;/P&gt;&lt;P&gt;Here is the before &amp;amp; after using same command " ll | grep mysql"&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="10267-snap-2016-12-13-at-173029.png" style="width: 630px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/21123i33A6A354BF67E5A8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="10267-snap-2016-12-13-at-173029.png" alt="10267-snap-2016-12-13-at-173029.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;How can Hive work properly if it has problems connecting to the metastore ?&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 12:48:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HiveServer2-shows-failure-but-starts-after-upgrading-to/m-p/152138#M48740</guid>
      <dc:creator>Adija1</dc:creator>
      <dc:date>2019-08-18T12:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: HiveServer2 shows failure - but starts after upgrading to Ambari 2.4.2</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HiveServer2-shows-failure-but-starts-after-upgrading-to/m-p/152139#M48741</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/2591/adija-1.html"&gt;Adi Jabkowsky&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Good to know that the mysql related error is gone.&lt;/P&gt;&lt;P&gt;However regarding the "templeton.libjars" jar  issue  "/usr/hdp/${hdp.version}/zookeeper/zookeeper.jar,/usr/hdp/${hdp.version}/hive/lib/hive-common.jar"  i have seen some environments where after  upgrade when we fix the "templeton.libjars" path then the issue gets resolved.&lt;/P&gt;&lt;P&gt;- Can you please double check if you have mode the correct changed to it inside the  "Hive" ==&amp;gt; "config" ==&amp;gt; "Advanced" ==&amp;gt; "Advanced webhcat-site" config?&lt;/P&gt;&lt;P&gt;- After that you will need to restart the services that requires restart (including the "webhcat").&lt;/P&gt;&lt;P&gt;- Also can you please share the latest screenshot?&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2016 23:53:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HiveServer2-shows-failure-but-starts-after-upgrading-to/m-p/152139#M48741</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-12-13T23:53:02Z</dc:date>
    </item>
    <item>
      <title>Re: HiveServer2 shows failure - but starts after upgrading to Ambari 2.4.2</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HiveServer2-shows-failure-but-starts-after-upgrading-to/m-p/152140#M48742</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3823/joysensharma.html" nodeid="3823" target="_blank"&gt;@jss&lt;/A&gt; &lt;/P&gt;&lt;P&gt;I probably didn't explain myself correct:&lt;/P&gt;&lt;P&gt;The mysql error isn't gone - the &lt;STRONG&gt;mysql-connector-java.jar&lt;/STRONG&gt; file is gone !
I copied it to the &lt;STRONG&gt;/usr/hdp/current/hive-server2/lib &lt;/STRONG&gt;path but after restarting the Hive service - &lt;STRONG&gt;the file is gone! It is as if it is being deleted by the restart itself &lt;/STRONG&gt;. 
Look at the screenshot of before and after (The shell in which i did "ll | grep mysql") - it's there, and after restarting - it's not there anymore. The file is gone. Vanished. Disappeared. 

Regarding the templeton.libjars here is the screenshot after the fix:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="10281-snap-2016-12-13-at-175807.png" style="width: 909px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/21122i0135E6F06EC4C8B8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="10281-snap-2016-12-13-at-175807.png" alt="10281-snap-2016-12-13-at-175807.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 12:48:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HiveServer2-shows-failure-but-starts-after-upgrading-to/m-p/152140#M48742</guid>
      <dc:creator>Adija1</dc:creator>
      <dc:date>2019-08-18T12:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: HiveServer2 shows failure - but starts after upgrading to Ambari 2.4.2</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HiveServer2-shows-failure-but-starts-after-upgrading-to/m-p/152141#M48743</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/2591/adija-1.html"&gt;Adi Jabkowsky&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Please run the below command:&lt;/P&gt;&lt;PRE&gt;ambari-server setup --jdbc-db=mysql --jdbc-driver=/usr/share/java/mysql-connector-java.jar 
&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;And  place the following symlink on all hosts (specially hive host)&lt;/P&gt;&lt;PRE&gt; # ls -l /usr/share/java/mysql-connector-java.jar
    lrwxrwxrwx 1 root root 31 Dec  2 07:48 /usr/share/java/mysql-connector-java.jar -&amp;gt; mysql-connector-java-5.1.17.jar&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Looks like ambari is removing the mysql-connector  jars symlink.&lt;/P&gt;&lt;P&gt;The changes that i suggested above to create the symlink is because it is not the "hiveserver2" failing but the &lt;B&gt;"hive_service.py&lt;/B&gt;&lt;STRONG&gt;"&lt;/STRONG&gt; is failing. Which is looking for the mysql jar.&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/apache/ambari/blob/release-2.4.2/ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive_service.py#L151-L155" target="_blank"&gt;https://github.com/apache/ambari/blob/release-2.4.2/ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive_service.py#L151-L155&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2016 00:26:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HiveServer2-shows-failure-but-starts-after-upgrading-to/m-p/152141#M48743</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-12-14T00:26:22Z</dc:date>
    </item>
    <item>
      <title>Re: HiveServer2 shows failure - but starts after upgrading to Ambari 2.4.2</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HiveServer2-shows-failure-but-starts-after-upgrading-to/m-p/152142#M48744</link>
      <description>&lt;P&gt;After running &lt;STRONG&gt;ambari-server setup --jdbc-db=mysql --jdbc-driver=/usr/share/java/mysql-connector-java.jar&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Everything works - restart &amp;amp; service check !&lt;/P&gt;&lt;P&gt;Thank you so much !&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2016 00:44:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HiveServer2-shows-failure-but-starts-after-upgrading-to/m-p/152142#M48744</guid>
      <dc:creator>Adija1</dc:creator>
      <dc:date>2016-12-14T00:44:19Z</dc:date>
    </item>
  </channel>
</rss>

