YARN-7986. ATSv2 REST API queries do not return results for uppercase application tags. Contributed by Charan Hebri.
(cherry picked from commit 75fc05f369929db768b767d79351bca8c13ad9ba) (cherry picked from commit 91791a8abdf3d46278ee7c15eeb3dddc43918742) Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/4ecb50a8 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/4ecb50a8 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/4ecb50a8 Branch: refs/heads/branch-3.1.0 Commit: 4ecb50a8abeb81fc2abe188b10abf185f3533e08 Parents: c30b026 Author: Rohith Sharma K S <[email protected]> Authored: Fri Mar 23 12:16:30 2018 +0530 Committer: Wangda Tan <[email protected]> Committed: Thu Mar 29 09:41:36 2018 -0700 ---------------------------------------------------------------------- .../hadoop-yarn-site/src/site/markdown/TimelineServiceV2.md | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/4ecb50a8/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/TimelineServiceV2.md ---------------------------------------------------------------------- diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/TimelineServiceV2.md b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/TimelineServiceV2.md index 28c4a91..f097b60 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/TimelineServiceV2.md +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/TimelineServiceV2.md @@ -486,6 +486,8 @@ You can provide the flow context via YARN application tags: appContext.setApplicationTags(tags); +Note : The Resource Manager converts YARN application tags to lowercase before storing them. Hence one should convert +Flow names and Flow versions to lowercase before using them in REST API queries. ## Timeline Service v.2 REST API --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
