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

Impala shell tarball is not usable on systems with setuptools versions where '0.7' is a substring of the full version string

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • Impala 2.3.0, Impala 2.5.0, Impala 2.4.0, Impala 2.6.0, Impala 2.7.0, Impala 2.8.0
    • Impala 2.8.0
    • Clients
    • None

    Description

      We saw this error:

      ValueError: A 0.7-series setuptools cannot be installed with distribute. Found one at /usr/lib/python2.7/dist-packages
      

      On a system with setuptools version 20.7.0:

      $ find / -name 'setuptools*' 2>/dev/null
      /usr/lib/python2.7/dist-packages/setuptools
      /usr/lib/python2.7/dist-packages/setuptools-20.7.0.egg-info
      /usr/lib/cmf/agent/build/env/lib/python2.7/site-packages/pip/utils/setuptools_build.py
      /usr/lib/cmf/agent/build/env/lib/python2.7/site-packages/setuptools
      /usr/lib/cmf/agent/build/env/lib/python2.7/site-packages/setuptools-29.0.1.dist-info
      /usr/lib/cmf/agent/build/env/lib/python2.7/site-packages/setuptools.pth
      /usr/lib/cmf/agent/build/env/share/python-wheels/setuptools-20.7.0-py2.py3-none-any.whl
      /usr/lib/hue/tools/virtual-bootstrap/virtualenv_support/setuptools-12.0.5-py2.py3-none-any.whl
      /usr/lib/hue/build/env/lib/python2.7/site-packages/setuptools
      /usr/lib/hue/build/env/lib/python2.7/site-packages/setuptools-12.0.5.dist-info
      /usr/share/doc/python-setuptools/setuptools.txt.gz
      

      It looks like this is a bug in pkg_resources.py that others have encountered, which we obtained from setuptools.

      Attachments

        Activity

          People

            tarmstrong Tim Armstrong
            tarmstrong Tim Armstrong
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: