[jira] [Commented] (IMPALA-8159) TAcceptQueueServer: Caught TException: invalid sasl status
[ https://issues.apache.org/jira/browse/IMPALA-8159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16762696#comment-16762696 ] Jinjie Zhang commented on IMPALA-8159: -- This only happen when authenticating against LDAP. I have known the invalid sasl status reason, which is caused by a misconfigured tableau client. When I run the test code, there is a tableau connection to access impala service which is periodically refreshed by tableau server. The client is configured to use http authentication protocol to access 21050 port. Once the refresh happen, impalad thrift server will report invalid sasl status and it will hang all thrift client. But I don't know why one client is misconfigured, it will cause all clients hang for serval minutes, which may be a bad design. I check the impalad TAcceptQueueServer source code, which seems to use one thread to deal with authentication connection. > 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/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) >Reporter: Jinjie Zhang >Priority: Critical > > 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': '', 'password': 'x' } > def test_impala(conf): > conn = impala.dbapi.connect(**conf) > conn.close() > > N = 1 > 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=,dc= > 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 ""{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
[jira] [Commented] (IMPALA-8159) TAcceptQueueServer: Caught TException: invalid sasl status
[ https://issues.apache.org/jira/browse/IMPALA-8159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16761885#comment-16761885 ] Lars Volker commented on IMPALA-8159: - Does this only happen when authenticating against LDAP? Do the errors occur on every run? I wonder if this is related to running out of TCP ports because they're all still stuck in TIME-WAIT, waiting to be closed. > 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/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) >Reporter: Jinjie Zhang >Priority: Critical > > 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': '', 'password': 'x' } > def test_impala(conf): > conn = impala.dbapi.connect(**conf) > conn.close() > > N = 1 > 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=,dc= > 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 ""{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
[jira] [Commented] (IMPALA-8159) TAcceptQueueServer: Caught TException: invalid sasl status
[ https://issues.apache.org/jira/browse/IMPALA-8159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16760684#comment-16760684 ] Tim Armstrong commented on IMPALA-8159: --- [~kwho] [~lv] this is interesting - I guess maybe this is a similar symptom to the other case where the thrift server gets tied up? > 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/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) >Reporter: Jinjie Zhang >Priority: Critical > > 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': '', 'password': 'x' } > def test_impala(conf): > conn = impala.dbapi.connect(**conf) > conn.close() > > N = 1 > 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=,dc= > 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 ""{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