HBASE-15841 Performance Evaluation tool total rows may not be set correctly
This commit is contained in:
parent
c1ada0a373
commit
393bcd69f9
|
@ -2143,8 +2143,7 @@ public class PerformanceEvaluation extends Configured implements Tool {
|
||||||
// total size in GB specified
|
// total size in GB specified
|
||||||
opts.totalRows = (int) opts.size * rowsPerGB;
|
opts.totalRows = (int) opts.size * rowsPerGB;
|
||||||
opts.perClientRunRows = opts.totalRows / opts.numClientThreads;
|
opts.perClientRunRows = opts.totalRows / opts.numClientThreads;
|
||||||
} else if (opts.perClientRunRows != DEFAULT_OPTS.perClientRunRows) {
|
} else {
|
||||||
// number of rows specified
|
|
||||||
opts.totalRows = opts.perClientRunRows * opts.numClientThreads;
|
opts.totalRows = opts.perClientRunRows * opts.numClientThreads;
|
||||||
opts.size = opts.totalRows / rowsPerGB;
|
opts.size = opts.totalRows / rowsPerGB;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue