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