ocworld opened a new pull request, #37262: URL: https://github.com/apache/spark/pull/37262
### What changes were proposed in this pull request? This is a follow-up PR to [[SPARK-38102](https://issues.apache.org/jira/browse/SPARK-38102)] It is needed to support custom commitProtocolClass class when using saveAsNewAPIHadoopDataset by an option. For example, spark.hadoop.mapreduce.sources.commitProtocolClass org.apache.spark.internal.io.cloud.PathOutputCommitProtocol ### Why are the changes needed? There is no way to apply spark-hadoop-cloud's commitProtocolClass when using saveAsNewAPIHadoopDataset that are to avoid object storage's problem. https://spark.apache.org/docs/latest/cloud-integration.html ### Does this PR introduce _any_ user-facing change? Yes. The option is added that is spark.hadoop.mapreduce.sources.commitProtocolClass ### How was this patch tested? 1. Adding unittest 2. Tested in my cluster -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
