Uh oh!
There was an error while loading. Please reload this page.
HBASE-27398 Remove dumping of EOFException while reading WAL with ProtobufLogReader - #4806
HBASE-27398 Remove dumping of EOFException while reading WAL with ProtobufLogReader#4806virajjasani wants to merge 2 commits into
Conversation
Apache-HBase
commented
Sep 28, 2022
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
Sep 28, 2022
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Sep 28, 2022
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Sep 28, 2022
🎊 +1 overall
This message was automatically generated. |
Apache9
commented
Sep 29, 2022
Apache9
left a comment
There was a problem hiding this comment.
OK, after reading the related code, I do not think we should remove the dumping here.
We can throw EOFException at many places in the try block, and they all have a fat message to describe what is going on, and if we remove the dumping of EOFException below, there is no way for us to print out these messages.
IF this is too excessive, I think we should try to avoid throwing too many EOFExceptions for normal cases, for example, if we are tailing a WAL which is currently being written, then at the last position we will get an EOF, and if we want to catch up fast, we will get a lot EOF, which is expected, so we should try to reduce these noises, instead of purging the output for all the EOFException.
Thanks.
Apache-HBase
commented
Sep 29, 2022
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Sep 29, 2022
🎊 +1 overall
This message was automatically generated. |
| // read successfully. | ||
| LOG.debug("Encountered a malformed edit, seeking back to last good position in file, " | ||
| + "from {} to {}", inputStream.getPos(), originalPosition, eof); | ||
| + "from {} to {}", inputStream.getPos(), originalPosition); |
There was a problem hiding this comment.
@Apache9 how about this change (line 447)? This change can be done if not the one above where we are throwing EOF (line 430-431)?
apurtell
commented
Oct 5, 2022
This was -1ed by @Apache9 , so closing it |
No description provided.