nbalajee commented on PR #10789:
URL: https://github.com/apache/hudi/pull/10789#issuecomment-1986539574

   When HoodieLogFormatter is writing/appending to a log file, if the container 
were to crash, HDFS NN would retain the lease on the file, until expiration.  
Any further appends to the log file (say by a second executor,  as part of 
Spark task/stage retry) would fail with "AlreadyBeingCreatedException".  
Shutdown hook helps in closing the handle to the log file.
   
   Recently, we fixed an issue in this area at Uber.  I will create a PR for 
this fix.


-- 
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]

Reply via email to