Repository: hadoop Updated Branches: refs/heads/branch-2.8 ad70e929b -> 0f9f7bb0c
YARN-6770. A small mistake in the example of TimelineClient. Contributed by Jinjiang Ling. (cherry picked from commit ba5b056e8a151fad9d7573c6e62cffc40cde7da3) Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/0f9f7bb0 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/0f9f7bb0 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/0f9f7bb0 Branch: refs/heads/branch-2.8 Commit: 0f9f7bb0c675cc892387d937c321390718df589c Parents: ad70e92 Author: Naganarasimha <[email protected]> Authored: Sun Jul 9 21:28:24 2017 +0530 Committer: Naganarasimha <[email protected]> Committed: Sun Jul 9 21:40:16 2017 +0530 ---------------------------------------------------------------------- .../hadoop-yarn-site/src/site/markdown/TimelineServer.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/0f9f7bb0/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/TimelineServer.md ---------------------------------------------------------------------- diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/TimelineServer.md b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/TimelineServer.md index efea80b..80f012d 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/TimelineServer.md +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/TimelineServer.md @@ -284,7 +284,7 @@ Here is an example: try { TimelineDomain myDomain = new TimelineDomain(); - myDomain.setID("MyDomain"); + myDomain.setId("MyDomain"); // Compose other Domain info .... client.putDomain(myDomain); @@ -292,7 +292,7 @@ Here is an example: TimelineEntity myEntity = new TimelineEntity(); myEntity.setDomainId(myDomain.getId()); myEntity.setEntityType("APPLICATION"); - myEntity.setEntityID("MyApp1") + myEntity.setEntityId("MyApp1"); // Compose other entity info TimelinePutResponse response = client.putEntities(entity); --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
