DieterDP-ng opened a new pull request, #8327:
URL: https://github.com/apache/hbase/pull/8327

   Add handling for WALHeaderEOFException in WALInputFormat so WALPlayer now 
skips empty WAL files rather than crashing. Empty WAL files (also lacking a 
header) either originate from crashed Region Servers, or might exist for a very 
short period when using the legacy WAL writer on newly created active WALs.
   
   This solves a problem where incremental backups could fail when converting 
WAL files to HFiles. In this use case, all WAL files passed to the WALPlayer 
are rolled (so no longer active), so empty WAL files were due to crashed Region 
Servers.
   
   (This is an updated PR of the one originally created by my colleague 
@thomassngdata. It applies some review remarks I had when reviewing that PR, 
but Thomas is currently unavailable to process them himself.)


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