[ 
https://issues.apache.org/jira/browse/TEZ-2226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14387047#comment-14387047
 ] 

Chang Li commented on TEZ-2226:
-------------------------------

[~hitesh] Thanks for helping me understand the problem better. My current way 
to fix is adding exception throw when fail to createDomain. Tez client will 
catch that exception and set TIMELINE_SERVICE_ENABLED to false in amconfig. I 
have verified that in the scenario of failing to create domain, AM code will 
stop publishing data to ATS.

> Disable writing history to timeline if domain creation fails.
> -------------------------------------------------------------
>
>                 Key: TEZ-2226
>                 URL: https://issues.apache.org/jira/browse/TEZ-2226
>             Project: Apache Tez
>          Issue Type: Sub-task
>            Reporter: Hitesh Shah
>            Assignee: Chang Li
>            Priority: Blocker
>         Attachments: TEZ-2226.patch, TEZ-2226.wip.2.patch, TEZ-2226.wip.patch
>
>




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

Reply via email to