[ https://issues.apache.org/jira/browse/YARN-2118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14014481#comment-14014481 ]
Zhijie Shen commented on YARN-2118: ----------------------------------- Ted, good catch! Do you want to pick this issue? > Type mismatch in contains() check of TimelineWebServices#injectOwnerInfo() > -------------------------------------------------------------------------- > > Key: YARN-2118 > URL: https://issues.apache.org/jira/browse/YARN-2118 > Project: Hadoop YARN > Issue Type: Bug > Reporter: Ted Yu > > {code} > if (timelineEntity.getPrimaryFilters() != null && > timelineEntity.getPrimaryFilters().containsKey( > TimelineStore.SystemFilter.ENTITY_OWNER)) { > throw new YarnException( > {code} > getPrimaryFilters() returns a Map keyed by String. > However, TimelineStore.SystemFilter.ENTITY_OWNER is an enum. > Their types don't match. -- This message was sent by Atlassian JIRA (v6.2#6252)