Return-Path: X-Original-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9293317E4B for ; Fri, 6 Mar 2015 17:46:38 +0000 (UTC) Received: (qmail 88374 invoked by uid 500); 6 Mar 2015 17:46:38 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 88326 invoked by uid 500); 6 Mar 2015 17:46:38 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: yarn-issues@hadoop.apache.org Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 88224 invoked by uid 99); 6 Mar 2015 17:46:38 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Mar 2015 17:46:38 +0000 Date: Fri, 6 Mar 2015 17:46:38 +0000 (UTC) From: "Junping Du (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-3276) Refactor and fix null casting in some map cast for TimelineEntity (old and new) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)