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
f6e9d3e1dd
commit
c269dc5711
|
@ -1245,8 +1245,9 @@ public class PerformanceEvaluation extends Configured implements Tool {
|
|||
}
|
||||
|
||||
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() {
|
||||
|
|
Loading…
Reference in New Issue