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] hiveserver2连接配置数据库名无法携带参数 #240

Closed
FanNingg opened this issue Jun 21, 2023 · 5 comments
Closed

[BUG] hiveserver2连接配置数据库名无法携带参数 #240

FanNingg opened this issue Jun 21, 2023 · 5 comments
Labels
3.8.0 bug Something isn't working
Milestone

Comments

@FanNingg
Copy link

FanNingg commented Jun 21, 2023

原因在于对这个字段的正则校验只能是大小写字母,下划线和-
目前我这边把正则给改了,可以通过校验了
1687334089751

但后续的krb5认证会报错,目前正在看UGI认证方式是否有问题:
WARN c.q.t.p.d.DataSourceFactory$BaseDataSourceFactoryDescriptor- java.sql.SQLException: Could not open client transport with JDBC Uri: jdbc:hive2://xx.xx.xx:10000/default;principal=hs2/_HOST@XXX.COM: GSS initiate failed

相关信息

  • 微信群:@奋斗
  • hive版本为:3.1.3
@FanNingg
Copy link
Author

第一次提issues,怎么把自己的path传上来呀....

@baisui1981 baisui1981 added this to the v3.8.0 milestone Jun 21, 2023
@baisui1981 baisui1981 added the bug Something isn't working label Jun 21, 2023
@baisui1981
Copy link
Member

第一次提issues,怎么把自己的path传上来呀....

收到krb5 的认证,我会本地进行测试 ,之前还没有正式集成测试,请问hive是用什么版本?

@FanNingg
Copy link
Author

hive版本是3.1.2,tis版本是3.7.1,估计是plugin项目中做URI登录方法不太多,我们之前项目中使用的是UserGroupInformation.loginUserFromKeytab(principal,principalPath);这种方式进行认证的

@FanNingg
Copy link
Author

目前暂时没有精力去clone plugin项目来看,只能提一些我认为的可能原因给你们

@baisui1981
Copy link
Member

目前暂时没有精力去clone plugin项目来看,只能提一些我认为的可能原因给你们

ok,谢谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.8.0 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants