melin commented on a change in pull request #3622:
URL: https://github.com/apache/hudi/pull/3622#discussion_r704945238
##########
File path:
hudi-sync/hudi-hive-sync/src/main/java/org/apache/hudi/hive/HiveSyncTool.java
##########
@@ -77,6 +77,10 @@ public HiveSyncTool(HiveSyncConfig cfg, HiveConf
configuration, FileSystem fs) {
super(configuration.getAllProperties(), fs);
try {
+ if (cfg.useKerberos) {
+ configuration.set("hive.metastore.sasl.enabled", "true");
+ configuration.set("hive.metastore.kerberos.principal",
cfg.kerberosPrincipal);
Review comment:
https://github.com/melin/hudi/commit/796c8546f81f5a5cb22ff62462d4ee48623cc15b
create hiveClient. The hive-site.xml contains the configuration parameters
and initialization failed
val hadoopConf = sparkSession.sessionState.newHadoopConf()
val hiveConf = new HiveConf()
val hiveClient = new HoodieHiveClient(cfg, hiveConf, fs)

--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]