vanzin opened a new pull request #25819: [SPARK-29105][core] Keep driver log 
file size up to date in HDFS.
URL: https://github.com/apache/spark/pull/25819
 
 
   HDFS doesn't update the file size reported by the NM if you just keep
   writing to the file; this makes the SHS believe the file is inactive,
   and so it may delete it after the configured max age for log files.
   
   This change uses hsync to keep the log file as up to date as possible
   when using HDFS.
   
   Tested with a SHS configured to aggressively clean up logs; verified
   a spark-shell session kept updating the log, which was not deleted by
   the SHS.

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

Reply via email to