[
https://issues.apache.org/jira/browse/TEZ-3856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16213568#comment-16213568
]
Prasanth Jayachandran commented on TEZ-3856:
--------------------------------------------
I can call it just getCounters(). TaskImpl seems to do the same.
TaskImpl.getCounters() returns its own counters + attempt counters.
> API to access counters in InputInitializerContext
> -------------------------------------------------
>
> Key: TEZ-3856
> URL: https://issues.apache.org/jira/browse/TEZ-3856
> Project: Apache Tez
> Issue Type: Bug
> Affects Versions: 0.9.1
> Reporter: Prasanth Jayachandran
> Assignee: Prasanth Jayachandran
> Attachments: TEZ-3856.1.patch
>
>
> Hive would like to publish some counters related to input splits during split
> generation. Tez doesn't expose TezCounters via InputIntializerContext. This
> ticket is to expose TezCounters via InputInitializerContext so that counters
> can be accessed during split generation.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)