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
bba83dc931
commit
aa7f98275f
|
@ -1245,8 +1245,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