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 <wchevreuil@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
  • Loading branch information
tomscut authored and virajjasani committed May 11, 2022
1 parent bba83dc commit aa7f982
Showing 1 changed file with 3 additions and 2 deletions.
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 aa7f982

Please sign in to comment.