You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Marcelo Vanzin (JIRA)" <ji...@apache.org> on 2014/08/23 00:26:11 UTC

[jira] [Created] (YARN-2445) ATS does not reflect changes to uploaded TimelineEntity

Marcelo Vanzin created YARN-2445:
------------------------------------

             Summary: 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.2#6252)