[ https://issues.apache.org/jira/browse/YARN-2517?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14131087#comment-14131087 ]
Tsuyoshi OZAWA commented on YARN-2517: -------------------------------------- I see. I'll try to prototype the new async method to post entities. {quote} If you guys think there is a lot more functionality coming in an async class in the future, can we hear about some of them here? {quote} Currently, TimelineClient just have APIs to post entities. I think there is a possibility to have helper methods like {{TimelineCilent#getEntities()}} for applications of Timeline Server. > Implement TimelineClientAsync > ----------------------------- > > Key: YARN-2517 > URL: https://issues.apache.org/jira/browse/YARN-2517 > Project: Hadoop YARN > Issue Type: Sub-task > Reporter: Zhijie Shen > Assignee: Tsuyoshi OZAWA > Attachments: YARN-2517.1.patch > > > In some scenarios, we'd like to put timeline entities in another thread no to > block the current one. > It's good to have a TimelineClientAsync like AMRMClientAsync and > NMClientAsync. It can buffer entities, put them in a separate thread, and > have callback to handle the responses. -- This message was sent by Atlassian JIRA (v6.3.4#6332)