需要重新编译spark , 默认spark中的hive-exec. 不认识hive.metastore.glue.catalogid、hive.metastore.client.factory.class 等参数。
提交任务时候会提示、即便hive-site.xml中有,也提示 。
25/04/10 07:14:19 WARN HiveConf: HiveConf of name hive.stats.jdbc.timeout does not exist
25/04/10 07:14:19 WARN HiveConf: HiveConf of name hive.metastore.glue.catalogid does not exist
25/04/10 07:14:19 WARN HiveConf: HiveConf of name hive.metastore.client.factory.class does not exist
25/04/10 07:14:19 WARN HiveConf: HiveConf of name hive.stats.retries.wait does not exist
25/04/10 07:14:19 WARN HiveConf: HiveConf of name hive.imetastoreclient.factory.class does not exist
https://github.com/awslabs/aws-glue-data-catalog-client-for-apache-hive-metastore
https://github.com/sdaberdaku/spark-with-glue-builder