HBASE-15968 (addendum) revert unrelated PE changing
This commit is contained in:
parent
1ac4152b19
commit
e1cd59bbc4
|
@ -1064,7 +1064,7 @@ public class PerformanceEvaluation extends Configured implements Tool {
|
|||
}
|
||||
|
||||
void updateValueSize(final Result r) throws IOException {
|
||||
if (r == null ) return;
|
||||
if (r == null || !isRandomValueSize()) return;
|
||||
int size = 0;
|
||||
for (CellScanner scanner = r.cellScanner(); scanner.advance();) {
|
||||
size += scanner.current().getValueLength();
|
||||
|
@ -1073,6 +1073,7 @@ public class PerformanceEvaluation extends Configured implements Tool {
|
|||
}
|
||||
|
||||
void updateValueSize(final int valueSize) {
|
||||
if (!isRandomValueSize()) return;
|
||||
this.valueSizeHistogram.update(valueSize);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue