hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sen Zhao (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-7236) [Docs] In the TimelineClient example, there are some confusing logic
Date Thu, 21 Sep 2017 11:37:00 GMT

     [ 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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org


Mime
View raw message