Friday, December 27, 2013

Impala - python-setuptools is needed by impala-shell?

If you try to install impala-shell and get a "failed dependencies" error:
# rpm -ivh impala-shell-1.2.3-1.p0.352.el6.x86_64.rpm
warning: impala-shell-1.2.3-1.p0.352.el6.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID e8f86acd: NOKEY
error: Failed dependencies:
       python-setuptools is needed by impala-shell-1.2.3-1.p0.352.el6.x86_64

This means the python-setuptools is missing, so install python-setuptools will solve this problem. One thing to notice is that make sure you install python-setuptools through rom packages, not from the source code, i.e (https://pypi.python.org/pypi/setuptools#downloads). Otherwise you might find even you installed python-setuptools, impala-shell-1.2.3-1.p0.352.el6.x86_64.rpm still complains. That because it is looking for packaged version of python-setuptools.

No comments: