You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@tez.apache.org by Grandl Robert <rg...@yahoo.com> on 2014/07/04 01:27:53 UTC
Tez counters are null
Hi guys,
I am running Tez 0.5 compiled from master. In VertexImpl.java, when a TASK_STATUS_UPDATE_EVENT happens, I am trying to print the whole counters for the task.
The way I did it in tez-0.4 was simply:
TaskStatusUpdateEvent sEvent = (TaskStatusUpdateEvent) tezEvent.getEvent();
LOG.info(sEvent.getCounters().toString());
However, whenever a TASK_STATUS_UPDATE_EVENT happens, in Tez-0.5 compiled from master, it shows that sEvent.getCounters() is null.
Do I miss something ?
Robert
Re: Tez counters are null
Posted by Grandl Robert <rg...@yahoo.com>.
Nevermind. It seems that initially, some TASK_UPDATE_EVENT have null counters, but later they are starting to appear.
Robert
On Thursday, July 3, 2014 4:28 PM, Grandl Robert <rg...@yahoo.com> wrote:
Hi guys,
I am running Tez 0.5 compiled from master. In VertexImpl.java, when a TASK_STATUS_UPDATE_EVENT happens, I am trying to print the whole counters for the task.
The way I did it in tez-0.4 was simply:
TaskStatusUpdateEvent sEvent = (TaskStatusUpdateEvent) tezEvent.getEvent();
LOG.info(sEvent.getCounters().toString());
However, whenever a TASK_STATUS_UPDATE_EVENT happens, in Tez-0.5 compiled from master, it shows that sEvent.getCounters() is null.
Do I miss something ?
Robert