<?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: hive issue whle restart hive metastore. in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/hive-issue-whle-restart-hive-metastore/m-p/128539#M43416</link>
    <description>&lt;P&gt;Thanks got the  solution.&lt;/P&gt;&lt;P&gt;Done following steps:- Copied the mysql-connector.jar and issue is resolved&lt;/P&gt;&lt;P&gt;cp -r  /usr/lib/hive/lib/mysql-connector-java.jar /usr/share/java/&lt;/P&gt;</description>
    <pubDate>Thu, 13 Oct 2016 17:48:53 GMT</pubDate>
    <dc:creator>ashneesharma88</dc:creator>
    <dc:date>2016-10-13T17:48:53Z</dc:date>
    <item>
      <title>hive issue whle restart hive metastore.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/hive-issue-whle-restart-hive-metastore/m-p/128538#M43415</link>
      <description>&lt;P&gt;I am using HDP 2.1. While restarting hive I am getting following error:-&lt;/P&gt;&lt;PRE&gt;2016-10-13 10:31:25,465 - Error while executing command 'restart':
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 123, in execute
    method(env)
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 233, in restart
    self.start(env)
  File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/HIVE/package/scripts/hive_metastore.py", line 45, in start
    action = 'start'
  File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/HIVE/package/scripts/hive_service.py", line 64, in hive_service
    path='/usr/sbin:/sbin:/usr/local/bin:/bin:/usr/bin', tries=5, try_sleep=10)
  File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 148, in __init__
    self.env.run()
  File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 149, in run
    self.run_action(resource, action)
  File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 115, in run_action
    provider_action()
  File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 241, in action_run
    raise ex
Fail: Execution of '/usr/jdk64/jdk1.6.0_31/bin/java -cp /usr/lib/ambari-agent/DBConnectionVerification.jar:/usr/share/java/mysql-connector-java.jar org.apache.ambari.server.DBConnectionVerification 'jdbc:mysql://test.xxx.com/hive?createDatabaseIfNotExist=true' hive [PROTECTED] com.mysql.jdbc.Driver' returned 1. ERROR: Unable to connect to the DB. Please check DB connection properties. &lt;/PRE&gt;&lt;P&gt;java.lang.ClassNotFoundException: com.mysql.jdbc.Driver&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2016 17:32:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/hive-issue-whle-restart-hive-metastore/m-p/128538#M43415</guid>
      <dc:creator>ashneesharma88</dc:creator>
      <dc:date>2016-10-13T17:32:34Z</dc:date>
    </item>
    <item>
      <title>Re: hive issue whle restart hive metastore.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/hive-issue-whle-restart-hive-metastore/m-p/128539#M43416</link>
      <description>&lt;P&gt;Thanks got the  solution.&lt;/P&gt;&lt;P&gt;Done following steps:- Copied the mysql-connector.jar and issue is resolved&lt;/P&gt;&lt;P&gt;cp -r  /usr/lib/hive/lib/mysql-connector-java.jar /usr/share/java/&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2016 17:48:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/hive-issue-whle-restart-hive-metastore/m-p/128539#M43416</guid>
      <dc:creator>ashneesharma88</dc:creator>
      <dc:date>2016-10-13T17:48:53Z</dc:date>
    </item>
  </channel>
</rss>

