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 "Ted Yu (JIRA)" <ji...@apache.org> on 2014/05/31 02:33:01 UTC

[jira] [Created] (YARN-2118) Type mismatch in contains() check of TimelineWebServices#injectOwnerInfo()

Ted Yu created YARN-2118:
----------------------------

             Summary: 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
            Priority: Minor


{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)