You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tez.apache.org by "Zhiyuan Yang (JIRA)" <ji...@apache.org> on 2016/07/12 22:41:20 UTC

[jira] [Updated] (TEZ-3337) Not log empty fields of TaskAttemptFinishedEvent to avoid confusion

     [ https://issues.apache.org/jira/browse/TEZ-3337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zhiyuan Yang updated TEZ-3337:
------------------------------
    Attachment: TEZ-3337.1.patch

> Not log empty fields of TaskAttemptFinishedEvent to avoid confusion
> -------------------------------------------------------------------
>
>                 Key: TEZ-3337
>                 URL: https://issues.apache.org/jira/browse/TEZ-3337
>             Project: Apache Tez
>          Issue Type: Bug
>            Reporter: Zhiyuan Yang
>            Assignee: Zhiyuan Yang
>         Attachments: TEZ-3337.1.patch
>
>
> For successful task attempt, we don't record the containerId, which cause "containerId=," in the INFO logs. We should avoid logging this field if it's empty.
> {code}
> 2016-07-07 22:49:44,935 [INFO] [Dispatcher thread {Central}] |history.HistoryEventHandler|: [HISTORY][DAG:dag_1467855578616_0044_1][Event:TASK_ATTEMPT_FINISHED]: vertexName=Map 1, taskAttemptId=attempt_1467855578616_0044_1_07_000000_0, creationTime=1467956979891, allocationTime=1467956980426, startTime=1467956982433, finishTime=1467956984933, timeTaken=2500, status=SUCCEEDED, errorEnum=, diagnostics=, containerId=, nodeId=, nodeHttpAddress=
> 2016-07-07 22:49:44,937 [INFO] [Dispatcher thread {Central}] |history.HistoryEventHandler|: [HISTORY][DAG:dag_1467855578616_0044_1][Event:TASK_ATTEMPT_FINISHED]: vertexName=Map 11, taskAttemptId=attempt_1467855578616_0044_1_02_000000_0, creationTime=1467956979894, allocationTime=1467956980427, startTime=1467956982437, finishTime=1467956984936, timeTaken=2499, status=SUCCEEDED, errorEnum=, diagnostics=, containerId=, nodeId=, nodeHttpAddress=
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)