hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Junping Du (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-3276) Refactor and fix null casting in some map cast for TimelineEntity (old and new)
Date Fri, 06 Mar 2015 17:46:38 GMT

    [ https://issues.apache.org/jira/browse/YARN-3276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14350624#comment-14350624
] 

Junping Du commented on YARN-3276:
----------------------------------

Another reason that we cannot merge two TimelineUtils is: the existing YARN-COMMON one has
dependency on org.apache.hadoop.yarn.webapp.YarnJacksonJaxbJsonProvider which is in YARN-COMMON
now. It will cause cycle dependency if we do the merge work. [~zjshen], mind to check it again?

> Refactor and fix null casting in some map cast for TimelineEntity (old and new)
> -------------------------------------------------------------------------------
>
>                 Key: YARN-3276
>                 URL: https://issues.apache.org/jira/browse/YARN-3276
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: timelineserver
>            Reporter: Junping Du
>            Assignee: Junping Du
>         Attachments: YARN-3276-v2.patch, YARN-3276.patch
>
>
> Per discussion in YARN-3087, we need to refactor some similar logic to cast map to hashmap
and get rid of NPE issue.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message