-
Notifications
You must be signed in to change notification settings - Fork 3.4k
HBASE-29574 Resolve the issue that splitting HFiles results in write failures due to storage policy during bulkload #7283
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
base: master
Are you sure you want to change the base?
Conversation
When performing bulk load in a cluster equipped only with SSD storage, if HFile splitting occurs, writing the split files (.top and .bottom) may fail due to the storage policy with this exception message: User class threw exception: org.apache.hadoop.ipc.RemoteException(java.io.IOException): File /bulkload/input/bulkload_job/c/.tmp/xxxxxxxxxxxxxxxx.top could only be written to 0 of the 1 minReplication nodes. There are 10 datanode(s) running and 0 node(s) are excluded in this operation. We found that the storage policy of /bulkload/input/bulkload_job/c/.tmp/ is set to HOT, which ultimately causes the write failure. |
2b7ea3c
to
30659c3
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
…failures due to storage policy during bulkload
30659c3
to
4b89973
Compare
🎊 +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.
Can we add UT to reproduce the issue, and then validate these changes solve it?
4b89973
to
cf2c9b2
Compare
cf2c9b2
to
fccf3c6
Compare
@wchevreuil Thank you for helping with the review. I have added the ut |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
fccf3c6
to
7a7fc49
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
HBASE-29574 Resolve the issue that splitting HFiles results in write failures due to storage policy during bulkload