Reduce sleep time for finished bulkv2 jobs#5460
Conversation
Skips the sleep calculation when bulkv2 reports that it has waited for all tablet servers to respond.
server/manager/src/main/java/org/apache/accumulo/manager/tableOps/bulkVer2/LoadFiles.java
Outdated
Show resolved
Hide resolved
|
I'm having a hard time understanding how these changes match the description: It seems like the only substantive change was the change from |
server/manager/src/main/java/org/apache/accumulo/manager/tableOps/bulkVer2/LoadFiles.java
Outdated
Show resolved
Hide resolved
…Ops/bulkVer2/LoadFiles.java Simplify sleep logic Co-authored-by: Christopher Tubbs <ctubbsii@apache.org>
|
@ddanielr, @keith-turner suggested an improvement to the log message. I see you marked that comment thread as resolved, but did not implement the suggested changes. I don't care one way or the other, but wanted to bring it to your attention before this is merged in case you overlooked it. |
Yep I see that and have updated the comment message. |
* Skips the sleep calculation when bulkv2 returns 1 or 0 as success cases. Also removes an unnecessary max comparison as sleepTime will always be less than or equal to locationLess * Reduce sleep time for finished bulkv2 jobs --------- Co-authored-by: Christopher Tubbs <ctubbsii@apache.org>
Skips the sleep calculation when bulkv2 returns 1 or 0 as success cases.
Also removes an unnecessary max comparison as
sleepTimewill always be less than or equal tolocationLess