Skip to content

Commit

Permalink
HBASE-27003 Optimize log format for PerformanceEvaluation (#4411)
Browse files Browse the repository at this point in the history
Signed-off-by: Wellington Chevreuil <[email protected]>
Signed-off-by: Viraj Jasani <[email protected]>
  • Loading branch information
tomscut authored May 11, 2022
1 parent f6e9d3e commit c269dc5
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit c269dc5

Please sign in to comment.