<?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: Unable to install HCat in a datanode in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-install-HCat-in-a-datanode/m-p/205457#M81168</link>
    <description>&lt;P&gt;&lt;EM&gt;&lt;A href="@jhon miran" target="_blank"&gt; @jhon miran&lt;/A&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;I think on the new host the group zookeeper and hive weren't created. Can you run the below to check substitute hive and zookeeper &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;cat /etc/group| grep hive&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;If  they don't exit then try creating them&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;groupadd hive
groupadd zookeeper&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Then retry  installing the HCAT&lt;/EM&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 26 Jul 2018 03:36:16 GMT</pubDate>
    <dc:creator>Shelton</dc:creator>
    <dc:date>2018-07-26T03:36:16Z</dc:date>
    <item>
      <title>Unable to install HCat in a datanode</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-install-HCat-in-a-datanode/m-p/205456#M81167</link>
      <description>&lt;P&gt; Dear,&lt;/P&gt;&lt;P&gt;I am installing a new datanode on my CentOS7 and I am getting below error while installing  HCat, can someone help me to fix this issue?&lt;/P&gt;&lt;P&gt;Here is the error log:&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 85, in &amp;lt;module&amp;gt;
    HCatClient().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/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 567, in install_packages
    retry_count=agent_stack_retry_count)
  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/package/__init__.py", line 54, 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 51, 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 86, 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 98, in _call_with_retries
    code, out = func(cmd, **kwargs)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 70, in inner
    result = function(command, **kwargs)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 92, in checked_call
    tries=tries, try_sleep=try_sleep)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 140, in _call_wrapper
    result = _call(command, **kwargs_copy)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 293, 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 hive_2_5_6_0_40' returned 1. groupadd: cannot open /etc/group
/usr/bin/install: invalid group 'zookeeper'
/usr/bin/install: invalid group 'zookeeper'
error: %pre(zookeeper_2_5_6_0_40-3.4.6.2.5.6.0-40.el6.noarch) scriptlet failed, exit status 1
Error in PREIN scriptlet in rpm package zookeeper_2_5_6_0_40-3.4.6.2.5.6.0-40.el6.noarch
error: zookeeper_2_5_6_0_40-3.4.6.2.5.6.0-40.el6.noarch: install failed
groupadd: cannot open /etc/group
/usr/bin/install: invalid group 'hive'
/usr/bin/install: invalid group 'hive'
/usr/bin/install: invalid group 'hive'
chmod: cannot access '/var/lib/hive/metastore': No such file or directory
/usr/bin/install: invalid group 'hive'
/usr/bin/install: invalid group 'hive'
error: %pre(hive_2_5_6_0_40-1.2.1000.2.5.6.0-40.el6.noarch) scriptlet failed, exit status 1
Error in PREIN scriptlet in rpm package hive_2_5_6_0_40-1.2.1000.2.5.6.0-40.el6.noarch&lt;/PRE&gt;</description>
      <pubDate>Thu, 26 Jul 2018 02:47:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-install-HCat-in-a-datanode/m-p/205456#M81167</guid>
      <dc:creator>jonmiran</dc:creator>
      <dc:date>2018-07-26T02:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to install HCat in a datanode</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-install-HCat-in-a-datanode/m-p/205457#M81168</link>
      <description>&lt;P&gt;&lt;EM&gt;&lt;A href="@jhon miran" target="_blank"&gt; @jhon miran&lt;/A&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;I think on the new host the group zookeeper and hive weren't created. Can you run the below to check substitute hive and zookeeper &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;cat /etc/group| grep hive&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;If  they don't exit then try creating them&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;groupadd hive
groupadd zookeeper&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Then retry  installing the HCAT&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jul 2018 03:36:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-install-HCat-in-a-datanode/m-p/205457#M81168</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2018-07-26T03:36:16Z</dc:date>
    </item>
  </channel>
</rss>

