jonvex commented on code in PR #11131:
URL: https://github.com/apache/hudi/pull/11131#discussion_r1594288001
##########
hudi-client/hudi-spark-client/src/test/java/org/apache/hudi/testutils/HoodieClientTestUtils.java:
##########
@@ -322,7 +322,7 @@ public static HoodieTableMetaClient
createMetaClient(JavaSparkContext jsc, Strin
* @return a new {@link HoodieTableMetaClient} instance.
*/
public static HoodieTableMetaClient createMetaClient(SparkSession spark,
String basePath) {
- return
HoodieTestUtils.createMetaClient(spark.sessionState().newHadoopConf(),
basePath);
+ return
HoodieTestUtils.createMetaClient(HoodieStorageUtils.getStorageConf(spark.sessionState().newHadoopConf()),
basePath);
Review Comment:
Definitely can't have spark in HoodieTestUtils
--
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]