[
https://issues.apache.org/jira/browse/YARN-7236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sen Zhao updated YARN-7236:
---------------------------
Attachment: YARN-7236.001.patch
> [Docs] In the TimelineClient example, there are some confusing logic
> --------------------------------------------------------------------
>
> Key: YARN-7236
> URL: https://issues.apache.org/jira/browse/YARN-7236
> Project: Hadoop YARN
> Issue Type: Bug
> Components: docs, timelineclient
> Reporter: Sen Zhao
> Assignee: Sen Zhao
> Priority: Trivial
> Attachments: YARN-7236.001.patch
>
>
> Firstly, the entity and timelineClient are not defined in the example;
> Secondly, "TimelinePutResponse response" is defined twice;
> Finally, there is a problem with sequential logic.
> Like this:
> {quote}
> TimelinePutResponse response = client.putEntities(entity);
> ...
> myEntity.addEvent(event);
> TimelinePutResponse response = timelineClient.putEntities(entity);
> {quote}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]