the-other-tim-brown commented on issue #12652: URL: https://github.com/apache/hudi/issues/12652#issuecomment-2597392337
I am not familiar with the spark streaming code but these are lines I find suspicious as @psendyk is seeing that the configs reset to the default for the remote FSView which happens when the write client is closed: 1. [The writer takes in a client](https://github.com/apache/hudi/blob/release-0.15.0/hudi-spark-datasource/hudi-spark-common/src/main/scala/org/apache/hudi/HoodieStreamingSink.scala#L141) 2. If there is no async compaction or clustering, then [the write client is closed](https://github.com/apache/hudi/blob/release-0.15.0/hudi-spark-datasource/hudi-spark-common/src/main/scala/org/apache/hudi/HoodieSparkSqlWriter.scala#L512) at the end of the write. This write client is returned to the HoodieStreamingSink and can potentially be passed in to item (1). It may be better to return `null` for the WriteClient from (2) if it is closed so that the code will just create a new client each iteration. -- 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]
