Details
-
Improvement
-
Status: Open
-
Trivial
-
Resolution: Unresolved
-
None
-
None
Description
The current log format of printStatistics() is:
2024-04-27 21:15:05,429 [main] INFO namenode.FSEditLog (FSEditLog.java:printStatistics(801)) - Number of transactions: 2 Total time for transactions(ms): 2 Number of transactions batched in Syncs: 0 Number of syncs: 3 SyncTimes(ms): 1 0
There are no separators between different keys, making it difficult to read. The modified format is:
2024-04-27 21:15:05,429 [main] INFO namenode.FSEditLog (FSEditLog.java:printStatistics(801)) - Number of transactions: 2, Total time for transactions(ms): 2, Number of transactions batched in Syncs: 0, Number of syncs: 3, SyncTimes(ms): 1 0
Attachments
Issue Links
- links to