Support Questions

Find answers, ask questions, and share your expertise

DataNode Install Error (Ambari - Cluster)


Hi All,

When I tried to create the node it gave me the following error message.





Sorry guys. Managed to resolve this issue by installing the correct version of snappy.

View solution in original post



Sorry guys. Managed to resolve this issue by installing the correct version of snappy.

New Contributor

Hi , I received similar issue. can you please assist

Seeking your assistance in setting up Hadoop Cluster on my system. Below are the packages that I installed:

Inline image 4


Inline image 1 Inline image 2

stderr: Traceback (most recent call last): File "/var/lib/ambari-agent/cache/common-services/HDFS/", line 167, in <module> DataNode().execute() File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/", line 219, in execute method(env) File "/var/lib/ambari-agent/cache/common-services/HDFS/", line 49, in install self.install_packages(env, params.exclude_packages) File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/", line 410, in install_packages retry_count=agent_stack_retry_count) File "/usr/lib/python2.6/site-packages/resource_management/core/", line 154, in __init__ File "/usr/lib/python2.6/site-packages/resource_management/core/", line 160, in run self.run_action(resource, action) File "/usr/lib/python2.6/site-packages/resource_management/core/", line 124, in run_action provider_action() File "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/", 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/", line 49, 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/", line 83, 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/", line 91, in _call_with_retries code, out = func(cmd, **kwargs) File "/usr/lib/python2.6/site-packages/resource_management/core/", line 70, in inner result = function(command, **kwargs) File "/usr/lib/python2.6/site-packages/resource_management/core/", line 92, in checked_call tries=tries, try_sleep=try_sleep) File "/usr/lib/python2.6/site-packages/resource_management/core/", line 140, in _call_wrapper result = _call(command, **kwargs_copy) File "/usr/lib/python2.6/site-packages/resource_management/core/", line 291, in _call raise Fail(err_msg) resource_management.core.exceptions.Fail: Execution of '/usr/bin/yum -d 0 -e 0 -y install snappy-devel' returned 1. Error: Package: snappy-devel-1.0.5-1.el6.x86_64 (HDP-UTILS) Requires: snappy(x86-64) = 1.0.5-1.el6 Installed: snappy-1.1.0-3.el7.x86_64 (@anaconda) snappy(x86-64) = 1.1.0-3.el7 Available: snappy-1.0.5-1.el6.x86_64 (HDP-UTILS) snappy(x86-64) = 1.0.5-1.el6 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.