Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-2863

impala-shell can't work with setuptools version 0.7.2

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: Impala 2.3.0
    • Fix Version/s: None
    • Component/s: Clients
    • Environment:
      OS: RHEL 6.4
      CDH: 5.5.1

      Description

      [root@datanode1 ~]# impala-shell
      Traceback (most recent call last):
      File "/usr/lib/impala-shell/impala_shell.py", line 33, in <module>
      from impala_client import (ImpalaClient, DisconnectedException, QueryStateException,
      File "/usr/lib/impala-shell/lib/impala_client.py", line 16, in <module>
      import sasl
      File "/usr/lib/impala-shell/ext-py/sasl-0.1.1-py2.6-linux-x86_64.egg/sasl/_init_.py", line 1, in <module>

      File "/usr/lib/impala-shell/ext-py/sasl-0.1.1-py2.6-linux-x86_64.egg/sasl/saslwrapper.py", line 7, in <module>
      File "/usr/lib/impala-shell/ext-py/sasl-0.1.1-py2.6-linux-x86_64.egg/_saslwrapper.py", line 7, in <module>
      File "/usr/lib/impala-shell/ext-py/sasl-0.1.1-py2.6-linux-x86_64.egg/saslwrapper.py", line 3, in __bootstrap_
      File "/usr/lib/impala-shell/lib/pkg_resources.py", line 2696, in <module>
      add_activation_listener(lambda dist: dist.activate())
      File "/usr/lib/impala-shell/lib/pkg_resources.py", line 673, in subscribe
      callback(dist)
      File "/usr/lib/impala-shell/lib/pkg_resources.py", line 2696, in <lambda>
      add_activation_listener(lambda dist: dist.activate())
      File "/usr/lib/impala-shell/lib/pkg_resources.py", line 2197, in activate
      self.insert_on(path)
      File "/usr/lib/impala-shell/lib/pkg_resources.py", line 2298, in insert_on
      "with distribute. Found one at %s" % str(self.location))
      ValueError: A 0.7-series setuptools cannot be installed with distribute. Found one at /usr/lib/python2.6/site-packages

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              hsuyijun_impala_0ddc hsuyijun
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: