[jira] [Updated] (YARN-7236) [Docs] In the TimelineClient example, there are some confusing logic
[ 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: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org
[jira] [Updated] (YARN-7236) [Docs] In the TimelineClient example, there are some confusing logic
[ https://issues.apache.org/jira/browse/YARN-7236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sen Zhao updated YARN-7236: --- Description: 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} was: Firstly, the entity is 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} > [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 > > 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: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org
[jira] [Updated] (YARN-7236) [Docs] In the TimelineClient example, there are some confusing logic
[ https://issues.apache.org/jira/browse/YARN-7236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sen Zhao updated YARN-7236: --- Description: Firstly, the entity is 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} was: Firstly, the entity is not defined in the example; Secondly, "TimelinePutResponse response" is defined twice; Finally, there is a problem with sequential logic. Like this: TimelinePutResponse response = client.putEntities(entity); ... myEntity.addEvent(event); TimelinePutResponse response = timelineClient.putEntities(entity); > [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 > > Firstly, the entity is 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: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org
[jira] [Updated] (YARN-7236) [Docs] In the TimelineClient example, there are some confusing logic
[ https://issues.apache.org/jira/browse/YARN-7236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sen Zhao updated YARN-7236: --- Description: Firstly, the entity is not defined in the example; Secondly, "TimelinePutResponse response" is defined twice; Finally, there is a problem with sequential logic. Like this: TimelinePutResponse response = client.putEntities(entity); ... myEntity.addEvent(event); TimelinePutResponse response = timelineClient.putEntities(entity); > [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 > > Firstly, the entity is not defined in the example; > Secondly, "TimelinePutResponse response" is defined twice; > Finally, there is a problem with sequential logic. > Like this: > TimelinePutResponse response = client.putEntities(entity); > ... > myEntity.addEvent(event); > TimelinePutResponse response = timelineClient.putEntities(entity); -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org