Skip to content
Permalink
Browse files
HBASE-27003 Optimize log format for PerformanceEvaluation (#4411)
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
  • Loading branch information
tomscut committed May 11, 2022
1 parent f6e9d3e commit c269dc57119cc12dc2a6dd32e297b51f053da092
Showing 1 changed file with 3 additions and 2 deletions.
@@ -1245,8 +1245,9 @@ void updateScanMetrics(final ScanMetrics metrics) {
}

String generateStatus(final int sr, final int i, final int lr) {
return sr + "/" + i + "/" + lr + ", latency " + getShortLatencyReport()
+ (!isRandomValueSize() ? "" : ", value size " + getShortValueSizeReport());
return "row [start=" + sr + ", current=" + i + ", last=" + lr + "], latency ["
+ getShortLatencyReport() + "]"
+ (!isRandomValueSize() ? "" : ", value size [" + getShortValueSizeReport() + "]");
}

boolean isRandomValueSize() {

0 comments on commit c269dc5

Please sign in to comment.