Uh oh!
There was an error while loading. Please reload this page.
HBASE-28836 Parallize the file archival to improve the split times - #6483
Conversation
mnpoonia
commented
Nov 20, 2024
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Uh oh!
There was an error while loading. Please reload this page.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
| boolean fileCleaned = fileFutureEntry.getValue().get(); | ||
| if (!fileCleaned) { | ||
| LOG.warn("Couldn't archive %s into backup directory: %s" | ||
| .formatted(fileFutureEntry.getKey(), baseArchiveDir)); |
There was a problem hiding this comment.
I don't know all the jdk requirements, but looks like .formatted was added only in JDK 15. If this is intended for backport, there may be earlier JDK versions to support.
There was a problem hiding this comment.
Thanks for pointing to this. Yes i was using jdk 17 so missed this.
Apache-HBase
commented
Nov 25, 2024
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Nov 25, 2024
💔 -1 overall
This message was automatically generated. |
virajjasani
left a comment
There was a problem hiding this comment.
It looks like until this change, only MasterFileSystem#checkTempDir and DeleteTableProcedure#deleteFromFs were using parallel archival using thread pool of size defined by hbase.hfilearchiver.thread.pool.max.
With this change, we will use parallel archival for all use cases.
virajjasani
commented
Dec 8, 2024
@mnpoonia could you also create branch-2 backport PR so that after clean build results, the changes can be ported to all active branches? |
mnpoonia
commented
Dec 9, 2024
@virajjasani Sure. It can be applied to all active branches. |
virajjasani
commented
Dec 9, 2024
Sounds good, let me verify on branch-2 and then will merge it today. |
…6483) Signed-off-by: Viraj Jasani <vjasani@apache.org> Signed-off-by: David Manning <david.manning@salesforce.com> Signed-off-by: Umesh Kumar <9414umeshkumar@gmail.com>
…6483) Signed-off-by: Viraj Jasani <vjasani@apache.org> Signed-off-by: David Manning <david.manning@salesforce.com> Signed-off-by: Umesh Kumar <9414umeshkumar@gmail.com>
…6483) Signed-off-by: Viraj Jasani <vjasani@apache.org> Signed-off-by: David Manning <david.manning@salesforce.com> Signed-off-by: Umesh Kumar <9414umeshkumar@gmail.com>
…6483) Signed-off-by: Viraj Jasani <vjasani@apache.org> Signed-off-by: David Manning <david.manning@salesforce.com> Signed-off-by: Umesh Kumar <9414umeshkumar@gmail.com>
mnpoonia
commented
Dec 10, 2024
Thank you @virajjasani |
virajjasani
commented
Dec 10, 2024
Thank you @mnpoonia for this nice improvement! |
…pache#6483) Signed-off-by: Viraj Jasani <vjasani@apache.org> Signed-off-by: David Manning <david.manning@salesforce.com> Signed-off-by: Umesh Kumar <9414umeshkumar@gmail.com>
…times (apache#6483)" This reverts commit 262c5bb.
…pache#6483) Signed-off-by: Viraj Jasani <vjasani@apache.org> Signed-off-by: David Manning <david.manning@salesforce.com> Signed-off-by: Umesh Kumar <9414umeshkumar@gmail.com>
…times (apache#6483)" This reverts commit 262c5bb.
Jira: HBASE-28836