leilinen commented on issue #13690:
URL: https://github.com/apache/hudi/issues/13690#issuecomment-3191096548
@danny0405 we debuged code find that the hive configurations is incorrect
by context in hudi, so we ship the hive-site.xml to yarn container and add
resource to hiveConf, it can sync schema to hive metastore properly.
`
public HiveSyncConfig(Properties props, Configuration hadoopConf) {
super(props, hadoopConf);
HiveConf hiveConf = new HiveConf();
// HiveConf needs to load Hadoop conf to allow instantiation via
AWSGlueClientFactory
// hiveConf.addResource(hadoopConf);
hiveConf.addResource("./hive-site.xml");
setHadoopConf(hiveConf);
validateParameters();
}
`
--
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]