ufukomer / node-impala

Node Client for Impala using Apache Thrift
https://www.npmjs.com/package/node-impala
MIT License
31 stars 12 forks source link

Does node-impala work on Impala with Kerberos enabled #10

Closed shuo-uber closed 7 years ago

shuo-uber commented 7 years ago

Hi, there,

We have a cluster of Impala daemon nodes which requires Kerberos auth. I tried to use the lib to connect to those nodes and it was not successful. Here is the stack trace,

{ Error: read ECONNRESET at exports._errnoException (util.js:1026:11) at TCP.onread (net.js:572:26) code: 'ECONNRESET', errno: 'ECONNRESET', syscall: 'read' }

The stack trace may not help much. I am not sure if it is something related to the Kerberos auth requirement. As least, I don't know how to configure this lib to use GSSAPI to authenticate against the cluster.

So my question is if this lib support GSSAPI or Kerberos for auth mech? If so, how to configure it.

Thanks, Shuo

ufukomer commented 7 years ago

It does not support auth mechanisms.

shuo-uber commented 7 years ago

@ufukomer do you know some other lib that supports that or if you have a general idea on how to do it, I would like to take a shot and contribute back? Thanks a lot.

ufukomer commented 7 years ago

@shuo-uber did you read this? https://github.com/ufukomer/node-impala/issues/4#issuecomment-214581222 Maybe that gives you the basic idea. But I don't have any further information. If you do search, please share with me then we can improve this module.

shuo-uber commented 7 years ago

@ufukomer thanks. I will keep you posted.

mingzhou commented 7 years ago

Hi @ufukomer , is there any plan or schedule on kerberos support? Thanks.

ufukomer commented 7 years ago

@mingzhou nope. Do you have a plan?

mingzhou commented 7 years ago

@ufukomer no. I'm doing some survey. I might use impyla on Python, instead of nodejs because it's fill-feature support. Thanks.