-
Notifications
You must be signed in to change notification settings - Fork 3.4k
HBASE-22887 Fix HFileOutputFormat2 writer roll #554
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Signed-off-by: langdamao <lang--lang--lang@163.com>
🎊 +1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any chance of a UT?
hbase-mapreduce/src/main/java/org/apache/hadoop/hbase/mapreduce/HFileOutputFormat2.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Patch LGTM. Can we have a unit test? Thanks.
Sorry for miss the last message. |
@langdamao You can check TestHFileOutputFormat2#testWritingPEData to write a ut and test the generated files size is small than a value. |
Got it, thank you so much! I'll try! |
🎊 +1 overall
This message was automatically generated. |
Signed-off-by: langdamao <lang--lang--lang@163.com>
Issue detail: https://issues.apache.org/jira/browse/HBASE-22887
writer roll only if wl.written is too long and previousRow is not equal.
delete bool rollRequested because different writter roll independently, so they don't need to communicate.
Signed-off-by: langdamao lang--lang--lang@163.com