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

TAcceptQueueServer: Caught TException: invalid sasl status

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Impala 2.11.0
    • Fix Version/s: Impala 3.2.0
    • Component/s: Backend
    • Labels:
      None
    • Environment:
      python: 3.6.6
      impyla: 0.14.1
      thrift-sasl: https://github.com/yimian/thrift_sasl.git
      impala: 2.11.0 from cdh5.14.2-1.cdh5.14.2.p0.3
      os: CentOS Linux release 7.2.1511 (Core)
    • Epic Color:
      ghx-label-6

      Description

      I enable ldap user authentication for impalad. I run the following code to test impalad stability, and I find when I run ten thousand times, the following error will occur two times in impalad.INFO log file.

      test code:

       

      import impala.dbapi
      
      test_conf =
      
      { 'host': '172.16.24.xx', 'port': 21050, 'user': 'xxxx', 'password': 'xxxxx' }
      
      def test_impala(conf):
            conn = impala.dbapi.connect(**conf)
      
            conn.close()
      
       
      
      N = 10000
      
      for i in range(N):
      
            test_impala(test_conf)

       

      error info:

      I0204 15:41:40.600821 168276 thrift-util.cc:123] TAcceptQueueServer: Caught TException: invalid sasl status
      
      I0204 15:46:40.600451 168276 thrift-util.cc:123] TAcceptQueueServer: Caught TException: EAGAIN (timed out)
      I0204 15:46:40.609858 168276 authentication.cc:268] Trying simple LDAP bind for: uid=xxxx,dc=xxxx
      I0204 15:46:40.729262 168276 authentication.cc:280] LDAP bind successful
      I0204 15:46:40.729287 168276 authentication.cc:478] Successfully authenticated client user "xxxx"

      When this error occurs, the connect request will hang for serveral minutes, and all subsequent connect request including request from hue will hang too.
       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                Jinjie Zhang Jinjie Zhang
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: