sunhelly commented on pull request #4038: URL: https://github.com/apache/hbase/pull/4038#issuecomment-1021988748
Sorry for the late reply, @Apache9 . Yes, there is configurable retry when creating new writer for the WAL in FanOutOneBlockAsyncDFSOutputHelper#createOutput, it supports retry to addBlock by setting this config "hbase.fs.async.create.retries". But the initialization of new WAL writer will complete until the WAL header is flushed by calling AsyncProtobufLogWriter#writeMagicAndWALHeader in AbstractProtobufLogWriter#init, which will also fail when there are some hardware errors. We have met this issue in our production clusters, which caused the regionserver abort by "IOE in log roller". So I think a retry here can help avoid some aborts. -- 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]
