LantaoJin commented on issue #24142: [SPARK-27194][core] Job failures when task attempts do not clean up spark-staging parquet files URL: https://github.com/apache/spark/pull/24142#issuecomment-507193351 @vanzin we face this problem too. After a simple investigation, I think it maybe a parquet bug. It hardcodes the `Mode.CREATE` when new a `ParquetFileWrite` (https://github.com/apache/parquet-mr/blame/47398be76cfb6634000532e9432430c4676442dd/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetOutputFormat.java#L420). And in this case, we need to propagate Mode.OVERWRITE in API `getRecordWriter`.
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
