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

Jason Lowe commented on YARN-4814:
----------------------------------

Sorry I missed this before it went in.  Don't we have an issue where we're no 
longer flushing the json generator?  The flush thread flushes the output stream 
directly and _not_ the json generator, so don't we risk missing data that has 
been buffered in the generator itself?  I think we either need to call flush on 
the json generator when the flush timer task executes or set 
FLUSH_PASSED_TO_STREAM to false on the json generator rather than setting 
FLUSH_AFTER_WRITE_VALUE on the object mapper.


> ATS 1.5 timelineclient impl call flush after every event write
> --------------------------------------------------------------
>
>                 Key: YARN-4814
>                 URL: https://issues.apache.org/jira/browse/YARN-4814
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: timelineserver
>            Reporter: Xuan Gong
>            Assignee: Xuan Gong
>             Fix For: 2.8.0
>
>         Attachments: YARN-4814.1.patch
>
>
> ATS 1.5 timelineclient impl call flush after every event write.



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

Reply via email to