hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhijie Shen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-2118) Type mismatch in contains() check of TimelineWebServices#injectOwnerInfo()
Date Sat, 31 May 2014 06:29:01 GMT

     [ https://issues.apache.org/jira/browse/YARN-2118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Zhijie Shen updated YARN-2118:
------------------------------

    Issue Type: Sub-task  (was: Bug)
        Parent: YARN-1935

> 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: Sub-task
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>         Attachments: yarn-2118-v1.txt
>
>
> {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)

Mime
View raw message