HBASE-27003 Optimize log format for PerformanceEvaluation (#4411)
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org> Signed-off-by: Viraj Jasani <vjasani@apache.org>
This commit is contained in:
parent
7b7f57619b
commit
5cfce692a5
|
@ -1236,8 +1236,9 @@ public class PerformanceEvaluation extends Configured implements Tool {
|
||||||
}
|
}
|
||||||
|
|
||||||
String generateStatus(final int sr, final int i, final int lr) {
|
String generateStatus(final int sr, final int i, final int lr) {
|
||||||
return sr + "/" + i + "/" + lr + ", latency " + getShortLatencyReport()
|
return "row [start=" + sr + ", current=" + i + ", last=" + lr + "], latency ["
|
||||||
+ (!isRandomValueSize() ? "" : ", value size " + getShortValueSizeReport());
|
+ getShortLatencyReport() + "]"
|
||||||
|
+ (!isRandomValueSize() ? "" : ", value size [" + getShortValueSizeReport() + "]");
|
||||||
}
|
}
|
||||||
|
|
||||||
boolean isRandomValueSize() {
|
boolean isRandomValueSize() {
|
||||||
|
|
Loading…
Reference in New Issue