<?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 Hive Metastore can not start on Ambari 2.4 and HDP 2.4 in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Hive-Metastore-can-not-start-on-Ambari-2-4-and-HDP-2-4/m-p/138890#M101519</link>
    <description>&lt;P&gt;Before I have used Cloudera Manager to managed my Hadoop cluster, But It have license too expense, I decided moving to Ambari, and I am feel it's good tool.  I have used Ambari 2.4 and HDP 2.4 for my Hadoop Cluster. Every services on my cluster is working well, exception Hive Metastore, I try to start Hive Metastore from Ambari UI but I got the error like this:&lt;/P&gt;&lt;PRE&gt;Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive_metastore.py", line 259, in &amp;lt;module&amp;gt;
    HiveMetastore().execute()
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 280, in execute
    method(env)
  File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive_metastore.py", line 59, in start
    self.configure(env)
  File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive_metastore.py", line 73, in configure
    hive(name = 'metastore')
  File "/usr/lib/python2.6/site-packages/ambari_commons/os_family_impl.py", line 89, in thunk
    return fn(*args, **kwargs)
  File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive.py", line 252, in hive
    mode=0644)
  File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 155, in __init__
    self.env.run()
  File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 160, in run
    self.run_action(resource, action)
  File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 124, in run_action
    provider_action()
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/providers/xml_config.py", line 66, in action_create
    encoding = self.resource.encoding
  File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 155, in __init__
    self.env.run()
  File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 160, in run
    self.run_action(resource, action)
  File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 124, in run_action
    provider_action()
  File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 123, in action_create
    content = self._get_content()
  File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 160, in _get_content
    return content()
  File "/usr/lib/python2.6/site-packages/resource_management/core/source.py", line 51, in __call__
    return self.get_content()
  File "/usr/lib/python2.6/site-packages/resource_management/core/source.py", line 142, in get_content
    rendered = self.template.render(self.context)
  File "/usr/lib/python2.6/site-packages/ambari_jinja2/environment.py", line 891, in render
    return self.environment.handle_exception(exc_info, True)
  File "&amp;lt;template&amp;gt;", line 2, in top-level template code
  File "/usr/lib/python2.6/site-packages/ambari_jinja2/filters.py", line 176, in do_dictsort
    return sorted(value.items(), key=sort_func)
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/config_dictionary.py", line 73, in __getattr__
    raise Fail("Configuration parameter '" + self.name + "' was not found in configurations dictionary!")
resource_management.core.exceptions.Fail: Configuration parameter 'hivemetastore-site' was not found in configurations dictionary!&lt;/PRE&gt;&lt;P&gt;Hive Metastore can not start so It make my HiveServer2 down after Up 5 minutes.&lt;/P&gt;&lt;P&gt;So could you please help me resolve this issue?&lt;/P&gt;</description>
    <pubDate>Sat, 04 Mar 2017 21:31:43 GMT</pubDate>
    <dc:creator>vantinttt</dc:creator>
    <dc:date>2017-03-04T21:31:43Z</dc:date>
    <item>
      <title>Hive Metastore can not start on Ambari 2.4 and HDP 2.4</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-Metastore-can-not-start-on-Ambari-2-4-and-HDP-2-4/m-p/138890#M101519</link>
      <description>&lt;P&gt;Before I have used Cloudera Manager to managed my Hadoop cluster, But It have license too expense, I decided moving to Ambari, and I am feel it's good tool.  I have used Ambari 2.4 and HDP 2.4 for my Hadoop Cluster. Every services on my cluster is working well, exception Hive Metastore, I try to start Hive Metastore from Ambari UI but I got the error like this:&lt;/P&gt;&lt;PRE&gt;Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive_metastore.py", line 259, in &amp;lt;module&amp;gt;
    HiveMetastore().execute()
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 280, in execute
    method(env)
  File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive_metastore.py", line 59, in start
    self.configure(env)
  File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive_metastore.py", line 73, in configure
    hive(name = 'metastore')
  File "/usr/lib/python2.6/site-packages/ambari_commons/os_family_impl.py", line 89, in thunk
    return fn(*args, **kwargs)
  File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive.py", line 252, in hive
    mode=0644)
  File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 155, in __init__
    self.env.run()
  File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 160, in run
    self.run_action(resource, action)
  File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 124, in run_action
    provider_action()
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/providers/xml_config.py", line 66, in action_create
    encoding = self.resource.encoding
  File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 155, in __init__
    self.env.run()
  File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 160, in run
    self.run_action(resource, action)
  File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 124, in run_action
    provider_action()
  File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 123, in action_create
    content = self._get_content()
  File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 160, in _get_content
    return content()
  File "/usr/lib/python2.6/site-packages/resource_management/core/source.py", line 51, in __call__
    return self.get_content()
  File "/usr/lib/python2.6/site-packages/resource_management/core/source.py", line 142, in get_content
    rendered = self.template.render(self.context)
  File "/usr/lib/python2.6/site-packages/ambari_jinja2/environment.py", line 891, in render
    return self.environment.handle_exception(exc_info, True)
  File "&amp;lt;template&amp;gt;", line 2, in top-level template code
  File "/usr/lib/python2.6/site-packages/ambari_jinja2/filters.py", line 176, in do_dictsort
    return sorted(value.items(), key=sort_func)
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/config_dictionary.py", line 73, in __getattr__
    raise Fail("Configuration parameter '" + self.name + "' was not found in configurations dictionary!")
resource_management.core.exceptions.Fail: Configuration parameter 'hivemetastore-site' was not found in configurations dictionary!&lt;/PRE&gt;&lt;P&gt;Hive Metastore can not start so It make my HiveServer2 down after Up 5 minutes.&lt;/P&gt;&lt;P&gt;So could you please help me resolve this issue?&lt;/P&gt;</description>
      <pubDate>Sat, 04 Mar 2017 21:31:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-Metastore-can-not-start-on-Ambari-2-4-and-HDP-2-4/m-p/138890#M101519</guid>
      <dc:creator>vantinttt</dc:creator>
      <dc:date>2017-03-04T21:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: Hive Metastore can not start on Ambari 2.4 and HDP 2.4</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-Metastore-can-not-start-on-Ambari-2-4-and-HDP-2-4/m-p/138891#M101520</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/16424/vantintttp.html" nodeid="16424"&gt;@Tin Huynh&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Can you please try the following, Login to Ambari UI  then navigate to:

&lt;EM&gt;&lt;STRONG&gt;Hive --&amp;gt; Configs --&amp;gt; Advanced -- "Custom hivemetastore-site"&lt;/STRONG&gt;&lt;/EM&gt;. Then click on "Add Property.." link and add some dummy property like &lt;/P&gt;&lt;PRE&gt;A = B
&lt;/PRE&gt;&lt;P&gt;Now save the configuration and then try restarting the service.&lt;/P&gt;</description>
      <pubDate>Sat, 04 Mar 2017 23:31:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-Metastore-can-not-start-on-Ambari-2-4-and-HDP-2-4/m-p/138891#M101520</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-03-04T23:31:48Z</dc:date>
    </item>
    <item>
      <title>Re: Hive Metastore can not start on Ambari 2.4 and HDP 2.4</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-Metastore-can-not-start-on-Ambari-2-4-and-HDP-2-4/m-p/138892#M101521</link>
      <description>&lt;P&gt;thanks for your help &lt;A rel="user" href="https://community.cloudera.com/users/3418/jsensharma.html" nodeid="3418" target="_blank"&gt;@Jay SenSharma&lt;/A&gt; but It's still failed when i try to restart, please see image bellow that have added your guide line. I didn't see hivemetastore-site .&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="13243-screenshot-from-2017-03-05-11-18-48.png" style="width: 997px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/21881i089E41F5BE27CEF6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="13243-screenshot-from-2017-03-05-11-18-48.png" alt="13243-screenshot-from-2017-03-05-11-18-48.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 08:34:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-Metastore-can-not-start-on-Ambari-2-4-and-HDP-2-4/m-p/138892#M101521</guid>
      <dc:creator>vantinttt</dc:creator>
      <dc:date>2019-08-19T08:34:13Z</dc:date>
    </item>
    <item>
      <title>Re: Hive Metastore can not start on Ambari 2.4 and HDP 2.4</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-Metastore-can-not-start-on-Ambari-2-4-and-HDP-2-4/m-p/138893#M101522</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/16424/vantintttp.html" nodeid="16424" target="_blank"&gt;@Tin Huynh
&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You added it in a wrong place, Please remove it and do it in  &lt;EM&gt;&lt;STRONG&gt;Hive --&amp;gt; Configs --&amp;gt; Advanced -- "Custom hivemetastore-site"&lt;/STRONG&gt;&lt;/EM&gt;. Then click on "Add Property.." link and add some dummy property like&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="13252-a-b.png" style="width: 2070px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/21880i41B58941ADF42238/image-size/medium?v=v2&amp;amp;px=400" role="button" title="13252-a-b.png" alt="13252-a-b.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/16424/vantintttp.html" nodeid="16424" target="_blank"&gt;&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 08:34:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-Metastore-can-not-start-on-Ambari-2-4-and-HDP-2-4/m-p/138893#M101522</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2019-08-19T08:34:05Z</dc:date>
    </item>
    <item>
      <title>Re: Hive Metastore can not start on Ambari 2.4 and HDP 2.4</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-Metastore-can-not-start-on-Ambari-2-4-and-HDP-2-4/m-p/138894#M101523</link>
      <description>&lt;P&gt;and also i was found some article that have hivemetastore-site.xml and I have push that file into /etc/hive/conf and try restart hive metastore from Ambari UI but It's still failed.&lt;/P&gt;&lt;P&gt;Here is hivemestore-site.xml &lt;A href="https://github.com/apache/hive/blob/master/data/conf/hivemetastore-site.xml" target="_blank"&gt;https://github.com/apache/hive/blob/master/data/conf/hivemetastore-site.xml&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 05 Mar 2017 12:41:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-Metastore-can-not-start-on-Ambari-2-4-and-HDP-2-4/m-p/138894#M101523</guid>
      <dc:creator>vantinttt</dc:creator>
      <dc:date>2017-03-05T12:41:13Z</dc:date>
    </item>
    <item>
      <title>Re: Hive Metastore can not start on Ambari 2.4 and HDP 2.4</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-Metastore-can-not-start-on-Ambari-2-4-and-HDP-2-4/m-p/138895#M101524</link>
      <description>&lt;P&gt;hi &lt;A rel="user" href="https://community.cloudera.com/users/3418/jsensharma.html" nodeid="3418"&gt;@Jay SenSharma&lt;/A&gt; I know that, but I don't see row '&lt;EM&gt;&lt;STRONG&gt;Custom hivemetastore-site&lt;/STRONG&gt;&lt;/EM&gt;' in Hive configs on my Ambari.&lt;/P&gt;</description>
      <pubDate>Sun, 05 Mar 2017 12:44:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-Metastore-can-not-start-on-Ambari-2-4-and-HDP-2-4/m-p/138895#M101524</guid>
      <dc:creator>vantinttt</dc:creator>
      <dc:date>2017-03-05T12:44:26Z</dc:date>
    </item>
    <item>
      <title>Re: Hive Metastore can not start on Ambari 2.4 and HDP 2.4</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-Metastore-can-not-start-on-Ambari-2-4-and-HDP-2-4/m-p/138896#M101525</link>
      <description>&lt;P&gt;You have maybe uncovered a bug in Ambari-2.4.2. There is a file hivemetastore-site.xml in HDP-2.5.x but not in HDP-2.4.x which you are using. I'm enclosing my hivemetastore-site.xml, put it in your /etc/hive/conf/conf.server directory on the node where HS2 and Hive-metastore are running, and then try to restart Hive metastore and HS2. If all this doesn't work you may consider to remove all HDP binaries and install HDP-2.5.3 with your Ambari-2.4.2&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/13253-hivemetastore-site.xml"&gt;hivemetastore-site.xml&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 05 Mar 2017 15:28:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-Metastore-can-not-start-on-Ambari-2-4-and-HDP-2-4/m-p/138896#M101525</guid>
      <dc:creator>pminovic</dc:creator>
      <dc:date>2017-03-05T15:28:04Z</dc:date>
    </item>
    <item>
      <title>Re: Hive Metastore can not start on Ambari 2.4 and HDP 2.4</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-Metastore-can-not-start-on-Ambari-2-4-and-HDP-2-4/m-p/138897#M101526</link>
      <description>&lt;P&gt;thanks &lt;A rel="user" href="https://community.cloudera.com/users/177/pminovic.html" nodeid="177"&gt;@Predrag Minovic&lt;/A&gt; I remove HDP 2.4 and install HDP 2.5 and it's work well&lt;/P&gt;</description>
      <pubDate>Sun, 05 Mar 2017 17:29:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-Metastore-can-not-start-on-Ambari-2-4-and-HDP-2-4/m-p/138897#M101526</guid>
      <dc:creator>vantinttt</dc:creator>
      <dc:date>2017-03-05T17:29:52Z</dc:date>
    </item>
    <item>
      <title>Re: Hive Metastore can not start on Ambari 2.4 and HDP 2.4</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-Metastore-can-not-start-on-Ambari-2-4-and-HDP-2-4/m-p/138898#M101527</link>
      <description>&lt;P&gt;Great! Please up-vote and/or accept the answer which helped you. Tnx!&lt;/P&gt;</description>
      <pubDate>Sun, 05 Mar 2017 17:32:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-Metastore-can-not-start-on-Ambari-2-4-and-HDP-2-4/m-p/138898#M101527</guid>
      <dc:creator>pminovic</dc:creator>
      <dc:date>2017-03-05T17:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: Hive Metastore can not start on Ambari 2.4 and HDP 2.4</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-Metastore-can-not-start-on-Ambari-2-4-and-HDP-2-4/m-p/138899#M101528</link>
      <description>&lt;P&gt;Hi All, did you find the fix?&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2017 06:46:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-Metastore-can-not-start-on-Ambari-2-4-and-HDP-2-4/m-p/138899#M101528</guid>
      <dc:creator>h_siahmed</dc:creator>
      <dc:date>2017-07-26T06:46:02Z</dc:date>
    </item>
  </channel>
</rss>

