Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't connect impala,and the log of impala server show:invalid sasl status #11

Closed
sugerdear opened this issue Jun 8, 2015 · 3 comments
Milestone

Comments

@sugerdear
Copy link

i try connect the impala,but is error:
client error:
PHP Fatal error: Uncaught exception 'Thrift\Exception\TTransportException' with message 'TSocket read 0 bytes' in phar:///home/map/rd/liuxiaochun/php-thrift-sql-master/ThriftSQL.phar/Thrift/Transport/TSocket.php:269
Stack trace:
#0 phar:///home/map/rd/liuxiaochun/php-thrift-sql-master/ThriftSQL.phar/Thrift/Transport/TTransport.php(74): Thrift\Transport\TSocket->read(4)
#1 phar:///home/map/rd/liuxiaochun/php-thrift-sql-master/ThriftSQL.phar/Thrift/Protocol/TBinaryProtocol.php(305): Thrift\Transport\TTransport->readAll(4)
#2 phar:///home/map/rd/liuxiaochun/php-thrift-sql-master/ThriftSQL.phar/Thrift/Protocol/TBinaryProtocol.php(197): Thrift\Protocol\TBinaryProtocol->readI32(NULL)
#3 phar:///home/map/rd/liuxiaochun/php-thrift-sql-master/ThriftSQL.phar/Packages/Beeswax/BeeswaxService.php(160): Thrift\Protocol\TBinaryProtocol->readMessageBegin(NULL, 0, 0)
#4 phar:///home/map/rd/liuxiaochun/php-thrift-sql-master/ThriftSQL.phar/Packages/Beeswax/BeeswaxService.php(129): ThriftSQL\BeeswaxServiceClient->recv_query()

server error:
TThreadPoolServer: TServerTransport died on accept: invalid sasl status

@pbatchu-fb
Copy link

Did you solve this issue? i am facing similar error. Does this error indicate client is trying to connect to ssl session?

@xyu
Copy link
Contributor

xyu commented Jul 24, 2019

Impala does not support SASL connections over Thrift so for unauthenticated connections we use plain connections for Impala and only implement SASL for unsecured Hive connections. This library does not support SSL'ed connections currently (see issue #28) however with PR #33 we will support sending usernames with Impala queries for tracking over an unsecured (not kerborized connection) so that queries can be tagged with usernames.

@xyu xyu added this to the v0.3 milestone Jul 24, 2019
@xyu
Copy link
Contributor

xyu commented Jul 26, 2019

I'm closing now that #33 has been merged with the option to send usernames with PLAIN connections to Impala.

@xyu xyu closed this as completed Jul 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants