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

[Bug] [DataSource] Impala测试连接失败 #511

Open
2 tasks done
Chris-playground opened this issue Feb 14, 2025 · 2 comments
Open
2 tasks done

[Bug] [DataSource] Impala测试连接失败 #511

Chris-playground opened this issue Feb 14, 2025 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@Chris-playground
Copy link
Contributor

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

Impala测试连接失败

DataVines Version

dev

DataVines Config

Nil

Running Command

Nil

Error Exception

java.sql.SQLException: Could not establish connection to jdbc:hive2://xxx.xxx.xxx.xxx:xxx/ods;auth=noSasl: null

Engine Type

Connector Type: Impala

Java Version

Temurin openjdk 1.8.0_442-b06

Screenshots

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!
@Chris-playground Chris-playground added the bug Something isn't working label Feb 14, 2025
@Chris-playground
Copy link
Contributor Author

I will fix this issue today

@Chris-playground
Copy link
Contributor Author

造成连接失败的原因是在代码中,拼上了验证方式auth=noSasl,对于使用了账号密码登录的Impala会失败。可以将验证方式拼接在创建数据源的参数中

Image

Chris-playground pushed a commit to Chris-playground/datavines that referenced this issue Feb 14, 2025
Chris-playground added a commit to Chris-playground/datavines that referenced this issue Feb 14, 2025
xxzuo added a commit that referenced this issue Feb 14, 2025
[Fix][DataSource] fix Impala connection failure (#511)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant