Skip to content

Commit

Permalink
[Bug] Fix Hive-Jdbc use krb5 overwrite kerberosKeytabPath (apache#5891)
Browse files Browse the repository at this point in the history
  • Loading branch information
ruanwenjun authored Nov 23, 2023
1 parent 51a3737 commit f0b6092
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public static JdbcConnectionConfig of(ReadonlyConfig config) {
builder.useKerberos(config.get(JdbcOptions.USE_KERBEROS));
builder.kerberosPrincipal(config.get(JdbcOptions.KERBEROS_PRINCIPAL));
builder.kerberosKeytabPath(config.get(JdbcOptions.KERBEROS_KEYTAB_PATH));
builder.kerberosKeytabPath(config.get(JdbcOptions.KRB5_PATH));
builder.krb5Path(config.get(JdbcOptions.KRB5_PATH));
}
config.getOptional(JdbcOptions.USER).ifPresent(builder::username);
config.getOptional(JdbcOptions.PASSWORD).ifPresent(builder::password);
Expand Down

0 comments on commit f0b6092

Please sign in to comment.