Prakash Ramachandran created YARN-3207:

             Summary: secondary filter matches entites which do not have the 
key being filtered for.
                 Key: YARN-3207
             Project: Hadoop YARN
          Issue Type: Bug
          Components: timelineserver
            Reporter: Prakash Ramachandran

in the leveldb implementation of the TimelineStore the secondary filter matches 
entities where the key being searched for is not present.

ex query from tez ui

will match and return the entity even though there is no entity with defined.

the issue seems to be in 
if (vs != null && !vs.contains(filter.getValue())) {
  filterPassed = false;
this should be IMHO
vs == null || !vs.contains(filter.getValue())

This message was sent by Atlassian JIRA

Reply via email to