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

Impala Shell quits working in kerberos mode if the python 'sasl' package is installed after installing python-saslwrapper (Centos6)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Impala 0.4
    • Impala 0.6
    • None
    • None

    Description

      Impala Shell quits working in kerberos mode if the python 'sasl' package is installed after installing python-saslwrapper. This looks like an install issue with the python 'sasl' package, but we should investigate if we can work around this in the impala-shell code. Either way we need to document this incompatibility so users don't run into this.

      sudo yum install impala-shell # will install impala-shell as well as python-saslwrapper
      impala-shell -k  # succeeds
      
      sudo pip-python install sasl
      
      impala-shell -k  # Fails
      Traceback (most recent call last):
        File "/usr/lib/impala-shell/impala_shell.py", line 638, in <module>
          import saslwrapper as sasl
        File "/usr/lib/python2.6/site-packages/saslwrapper.py", line 69, in <module>
          class SwigPyIterator(_object):
        File "/usr/lib/python2.6/site-packages/saslwrapper.py", line 76, in SwigPyIterator
          __swig_destroy__ = _saslwrapper.delete_SwigPyIterator
      
      sudo pip-python uninstall sasl
      impala-shell -k  # succeeds
      

      Attachments

        Activity

          People

            ishaan Ishaan Joshi
            lskuff Lenni Kuff
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: