[ 
https://issues.apache.org/jira/browse/IMPALA-8159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jinjie Zhang updated IMPALA-8159:
---------------------------------
    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:

 
{code:java}
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){code}
 

error info:
{code:java}
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=xxx,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"{code}
When this error occurs, the connect request will hang for serveral minutes, and 
all subsequent connect request including request from hue will hang too.
  

  was:
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:

 
{code:java}
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){code}
 

error info:
{code:java}
I0204 15:41:40.600821 168276 thrift-util.cc:123] TAcceptQueueServer: Caught 
TException: invalid sasl status{code}
When this error occurs, the connect request will hang for one minute or two 
minutes, and all subsequent connect request including request from hue will 
hang too.
  


> TAcceptQueueServer: Caught TException: invalid sasl status
> ----------------------------------------------------------
>
>                 Key: IMPALA-8159
>                 URL: https://issues.apache.org/jira/browse/IMPALA-8159
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Backend
>    Affects Versions: Impala 2.11.0
>         Environment: python: 3.6.6
> impyla: 0.14.1
> thrift-sasl: https://github.com/cloudera/thrift_sasl.git
> impala: 2.11.0 from cdh5.14.2-1.cdh5.14.2.p0.3
>            Reporter: Jinjie Zhang
>            Priority: Major
>
> 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:
>  
> {code:java}
> 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){code}
>  
> error info:
> {code:java}
> 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=xxx,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"{code}
> When this error occurs, the connect request will hang for serveral minutes, 
> and all subsequent connect request including request from hue will hang too.
>   



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org
For additional commands, e-mail: issues-all-h...@impala.apache.org

Reply via email to