-
Notifications
You must be signed in to change notification settings - Fork 13.9k
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
Add support for Hive/Impala #339
Comments
Very nice! Thanks! |
Found the problem with Impyla, raised ticket cloudera/impyla#190 |
+1 |
Raised a pull request to fix this issue with Impala here: cloudera/impyla#191 I have tested the Impyla fix, and verified that I now have a working Hive/Impala connection in Caravel. Once the Impyla fix is in, I will make a pull request against Caravel to add it. |
Pull request to fix Impyla SQLAlchemy was merged: cloudera/impyla#191 I will make a patch for Caravel to use the library with the next few days and update here. |
We don't bring external database dependencies into Caravel, it's for people to set those up in their environment since not everyone needs every db. People should just |
@mistercrunch Sounds good! In this case, users just have to install The version with the fix is |
I try to setup connection from caravel to Spark Thrift Server
Spark Thrift Server
|
impala can't resolve username |
I added an extra in the Superset "create database connection" for passing some connection arguments:
So I introduced a connection URL as following one:
And it worked Note: I had run a kinit before to connect. |
@joshwalters do you know how to config socks5 param with impyla |
@evinhas I am getting the below error, when trying to use your way to connect. Any ideas on this? To me it looks like it trying to look for the kerberos cache for the user 'root'. But I can successfully connect from the shell from the user '212562234'. |
have you requested a kerberos' ticket? I had run a kinit before to connect, for getting the kerberos ticket. I can see in your error log the following message
|
Yes, I had the keytab file and did kinit as well. But the problem was I using the user 'root' to do the installation and start the server. Once I did with a user who was able to authenticate itself against Kerberos, I could connect to hive. |
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 16.9.31 to 16.9.32. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 16.9.31 to 16.9.32. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Bumps [@airbnb/lunar-icons](https://github.com/airbnb/lunar) from 2.7.1 to 2.8.1. - [Release notes](https://github.com/airbnb/lunar/releases) - [Commits](https://github.com/airbnb/lunar/compare/@airbnb/lunar-icons@2.7.1...@airbnb/lunar-icons@2.8.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 16.9.31 to 16.9.32. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Bumps [@airbnb/lunar-icons](https://github.com/airbnb/lunar) from 2.7.1 to 2.8.1. - [Release notes](https://github.com/airbnb/lunar/releases) - [Commits](https://github.com/airbnb/lunar/compare/@airbnb/lunar-icons@2.7.1...@airbnb/lunar-icons@2.8.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 16.9.31 to 16.9.32. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Bumps [@airbnb/lunar-icons](https://github.com/airbnb/lunar) from 2.7.1 to 2.8.1. - [Release notes](https://github.com/airbnb/lunar/releases) - [Commits](https://github.com/airbnb/lunar/compare/@airbnb/lunar-icons@2.7.1...@airbnb/lunar-icons@2.8.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 16.9.31 to 16.9.32. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Bumps [@airbnb/lunar-icons](https://github.com/airbnb/lunar) from 2.7.1 to 2.8.1. - [Release notes](https://github.com/airbnb/lunar/releases) - [Commits](https://github.com/airbnb/lunar/compare/@airbnb/lunar-icons@2.7.1...@airbnb/lunar-icons@2.8.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
It would be really nice for Caravel to have support for Hive/Impala. There is a nice package called Impyla that provides a SQLAlchemy interface to Hive and Impala.
I am testing it out with Caravel, seems to be working so far with Hive. I can connect to my Hive database, there is a problem where SQLAlchemy tries to run a
select version()
as the first query, as this is not a valid Hive function, it causes an immediate failure. Once I resolve this I will open a pull request.The text was updated successfully, but these errors were encountered: