[
https://issues.apache.org/jira/browse/TEZ-4451?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17811241#comment-17811241
]
Steve Loughran commented on TEZ-4451:
-------------------------------------
look at {{IOStatisticsLogging.ioStatisticsToPrettyString()}}; this renders
better and strips out the zero entries. A bit more work (so wasteful for debug
logs) but nicer here. There's other stuff there to help too, including a
demandStringifyIOStatistics() which only does the (non-pretty) rendering when
.toString is called
{code}
LOG.info("context stats",
demandStringifyIOStatistics(getCurrentIOStatisticsContext()))
{code}
cost of one new() but nothing else if not printed. And you could always add a
specific logger for stats so avoid having a new context
> ThreadLevel IO Stats Support for TEZ
> ------------------------------------
>
> Key: TEZ-4451
> URL: https://issues.apache.org/jira/browse/TEZ-4451
> Project: Apache Tez
> Issue Type: Improvement
> Reporter: Harshit Gupta
> Assignee: Ayush Saxena
> Priority: Major
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> Dump IO Statistics for each of the tasks in the log.
> This will requires upgrading Tez to use Hadoop-3.3.9-SNAPSHOT
>
> cc: [~rbalamohan] [~abstractdog] [~mthakur]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)