yihua commented on code in PR #13756:
URL: https://github.com/apache/hudi/pull/13756#discussion_r2296271457
##########
hudi-spark-datasource/hudi-spark-common/src/main/scala/org/apache/spark/sql/execution/datasources/parquet/HoodieFileGroupReaderBasedFileFormat.scala:
##########
@@ -211,17 +211,19 @@ class HoodieFileGroupReaderBasedFileFormat(tablePath:
String,
val engineContext = new HoodieSparkEngineContext(new
JavaSparkContext(spark.sparkContext))
val maxMemoryPerCompaction =
IOUtils.getMaxMemoryPerCompaction(engineContext.getTaskContextSupplier,
options.asJava)
+ // Create metaclient on driver to avoid expensive operations on executors
+ val storageConf = new
HadoopStorageConfiguration(broadcastedStorageConf.value.value)
Review Comment:
Use `augmentedStorageConf` since this happens on the driver and there is no
need to do any broadcast?
--
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]