<?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 install failure via ambari in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/hive-install-failure-via-ambari/m-p/315108#M226339</link>
    <description>&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;I am trying to deploy a cluster with the apache bigtops package via ambari.&lt;/P&gt;&lt;P&gt;I was able to deploy the basic components such as hdfs, yarn, mapreduce, and zookeeper via ambari.&lt;/P&gt;&lt;P&gt;Now I am trying to install hive.&lt;/P&gt;&lt;P&gt;I am able to install hive through the command line with "yum install hive*"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ambari is currently failing to install hcatalog.&lt;/P&gt;&lt;P&gt;Looking at the ambari logs, I noticed this error:&lt;BR /&gt;resource_management.core.exceptions.ExecutionFailed: Execution of '/usr/bin/yum -d 0 -e 0 -y install hcatalog' returned 1. Error: Nothing to do&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when installing via command line, I am able to install hcatalog with&lt;/P&gt;&lt;P&gt;"yum install hive-hcatalog"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone please let me know how I can have ambari run the command&amp;nbsp;&lt;/P&gt;&lt;P&gt;/usr/bin/yum -d 0 -e 0 -y install hive-hcatalog&lt;/P&gt;&lt;P&gt;instead of&amp;nbsp;&lt;BR /&gt;/usr/bin/yum -d 0 -e 0 -y install hcatalog&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help is much appreciated.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
    <pubDate>Fri, 23 Apr 2021 00:43:56 GMT</pubDate>
    <dc:creator>ryu</dc:creator>
    <dc:date>2021-04-23T00:43:56Z</dc:date>
    <item>
      <title>hive install failure via ambari</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hive-install-failure-via-ambari/m-p/315108#M226339</link>
      <description>&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;I am trying to deploy a cluster with the apache bigtops package via ambari.&lt;/P&gt;&lt;P&gt;I was able to deploy the basic components such as hdfs, yarn, mapreduce, and zookeeper via ambari.&lt;/P&gt;&lt;P&gt;Now I am trying to install hive.&lt;/P&gt;&lt;P&gt;I am able to install hive through the command line with "yum install hive*"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ambari is currently failing to install hcatalog.&lt;/P&gt;&lt;P&gt;Looking at the ambari logs, I noticed this error:&lt;BR /&gt;resource_management.core.exceptions.ExecutionFailed: Execution of '/usr/bin/yum -d 0 -e 0 -y install hcatalog' returned 1. Error: Nothing to do&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when installing via command line, I am able to install hcatalog with&lt;/P&gt;&lt;P&gt;"yum install hive-hcatalog"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone please let me know how I can have ambari run the command&amp;nbsp;&lt;/P&gt;&lt;P&gt;/usr/bin/yum -d 0 -e 0 -y install hive-hcatalog&lt;/P&gt;&lt;P&gt;instead of&amp;nbsp;&lt;BR /&gt;/usr/bin/yum -d 0 -e 0 -y install hcatalog&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help is much appreciated.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 00:43:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hive-install-failure-via-ambari/m-p/315108#M226339</guid>
      <dc:creator>ryu</dc:creator>
      <dc:date>2021-04-23T00:43:56Z</dc:date>
    </item>
    <item>
      <title>Re: hive install failure via ambari</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hive-install-failure-via-ambari/m-p/315118#M226348</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/84981"&gt;@ryu&lt;/a&gt;&amp;nbsp;Can you confirm Ambari version&lt;/P&gt;&lt;P&gt;share the stack trace of the error&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 07:06:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hive-install-failure-via-ambari/m-p/315118#M226348</guid>
      <dc:creator>Scharan</dc:creator>
      <dc:date>2021-04-23T07:06:36Z</dc:date>
    </item>
    <item>
      <title>Re: hive install failure via ambari</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hive-install-failure-via-ambari/m-p/315156#M226369</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35149"&gt;@Scharan&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ambari&amp;nbsp;&lt;SPAN&gt;Version&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;2.6.1.0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the error I see in ambari when it is trying to install the components.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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/hcat_client.py", line 79, in &amp;lt;module&amp;gt;
    HCatClient().execute()
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 375, in execute
    method(env)
  File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hcat_client.py", line 35, in install
    self.install_packages(env)
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 821, in install_packages
    retry_count=agent_stack_retry_count)
  File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 166, 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/package/__init__.py", line 53, in action_install
    self.install_package(package_name, self.resource.use_repos, self.resource.skip_repos)
  File "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/yumrpm.py", line 264, in install_package
    self.checked_call_with_retries(cmd, sudo=True, logoutput=self.get_logoutput())
  File "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/__init__.py", line 266, in checked_call_with_retries
    return self._call_with_retries(cmd, is_checked=True, **kwargs)
  File "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/__init__.py", line 283, in _call_with_retries
    code, out = func(cmd, **kwargs)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 72, in inner
    result = function(command, **kwargs)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 102, in checked_call
    tries=tries, try_sleep=try_sleep, timeout_kill_strategy=timeout_kill_strategy)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 150, in _call_wrapper
    result = _call(command, **kwargs_copy)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 303, in _call
    raise ExecutionFailed(err_msg, code, out, err)
resource_management.core.exceptions.ExecutionFailed: Execution of '/usr/bin/yum -d 0 -e 0 -y install hcatalog' returned 1. Error: Nothing to do&lt;/PRE&gt;</description>
      <pubDate>Fri, 23 Apr 2021 16:14:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hive-install-failure-via-ambari/m-p/315156#M226369</guid>
      <dc:creator>ryu</dc:creator>
      <dc:date>2021-04-23T16:14:31Z</dc:date>
    </item>
    <item>
      <title>Re: hive install failure via ambari</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hive-install-failure-via-ambari/m-p/315341#M226426</link>
      <description>&lt;P&gt;ok so I finally figured out how to have ambari run the command&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;/usr/bin/yum -d 0 -e 0 -y install hive-hcatalog&lt;/PRE&gt;&lt;P&gt;I had to modify the file:&lt;/P&gt;&lt;P&gt;/var/lib/ambari-server/resources/common-services/HIVE/0.12.0.2.0/metainfo.xml&lt;/P&gt;&lt;P&gt;under the&amp;nbsp;&amp;lt;osSpecifics&amp;gt; tag.&lt;/P&gt;&lt;P&gt;Restarted ambari and then ambari was able to run the correct command to have hive installed.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Apr 2021 17:47:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hive-install-failure-via-ambari/m-p/315341#M226426</guid>
      <dc:creator>ryu</dc:creator>
      <dc:date>2021-04-26T17:47:37Z</dc:date>
    </item>
  </channel>
</rss>

