[
https://issues.apache.org/jira/browse/YARN-2445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Junping Du resolved YARN-2445.
------------------------------
Resolution: Won't Fix
Agree with [~billie.rinaldi]'s comments above, this is expected behavior.
> ATS does not reflect changes to uploaded TimelineEntity
> -------------------------------------------------------
>
> Key: YARN-2445
> URL: https://issues.apache.org/jira/browse/YARN-2445
> Project: Hadoop YARN
> Issue Type: Bug
> Components: timelineserver
> Reporter: Marcelo Vanzin
> Priority: Minor
> Attachments: ats2.java
>
>
> If you make a change to the TimelineEntity and send it to the ATS, that
> change is not reflected in the stored data.
> For example, in the attached code, an existing primary filter is removed and
> a new one is added. When you retrieve the entity from the ATS, it only
> contains the old value:
> {noformat}
> {"entities":[{"events":[],"entitytype":"test","entity":"testid-ad5380c0-090e-4982-8da8-21676fe4e9f4","starttime":1408746026958,"relatedentities":{},"primaryfilters":{"oldprop":["val"]},"otherinfo":{}}]}
> {noformat}
> Perhaps this is what the design wanted, but from an API user standpoint, it's
> really confusing, since to upload events I have to upload the entity itself,
> and the changes are not reflected.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)