[
https://issues.apache.org/jira/browse/HBASE-20306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16635903#comment-16635903
]
Andrew Purtell commented on HBASE-20306:
----------------------------------------
Patch is not quite ready. When I test with {{./bin/hbase ltt -read 100:10
-write 10:100:10 -num_keys 1000000}} only one multithreadedaction progress
reporter shuts down. The other continues to run indefinitely, holding up the
process. I think the problem is here:
{code}
@@ -261,7 +285,7 @@ public abstract class MultiThreadedAction {
}
public void waitForFinish() {
- while (numThreadsWorking.get() != 0) {
+ while (isProgressReporterRunning) {
Threads.sleepWithoutInterrupt(1000);
}
close();
{code}
I also attached a branch-1 port.
> LoadTestTool does not print summary at end of run
> -------------------------------------------------
>
> Key: HBASE-20306
> URL: https://issues.apache.org/jira/browse/HBASE-20306
> Project: HBase
> Issue Type: Bug
> Components: tooling
> Reporter: Mike Drob
> Assignee: Colin Garcia
> Priority: Major
> Labels: beginner
> Attachments: HBASE-20306.000.patch, HBASE-20306.001.patch,
> HBASE-20306.002.patch
>
>
> ltt currently prints status as it goes, but doesn't give a nice summary of
> what happened so users have to infer it from the last status line printed.
> Would be nice to print a real summary with statistics about what was run.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)