Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EC7EB176CD for ; Thu, 5 Feb 2015 17:14:35 +0000 (UTC) Received: (qmail 69808 invoked by uid 500); 5 Feb 2015 17:14:35 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 69712 invoked by uid 500); 5 Feb 2015 17:14:35 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 69406 invoked by uid 99); 5 Feb 2015 17:14:35 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Feb 2015 17:14:35 +0000 Date: Thu, 5 Feb 2015 17:14:35 +0000 (UTC) From: "Hudson (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-9489) An exception thrown during view deployment could skip deployment of multiple views. 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/AMBARI-9489?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14307575#comment-14307575 ] Hudson commented on AMBARI-9489: -------------------------------- SUCCESS: Integrated in Ambari-trunk-Commit #1695 (See [https://builds.apache.org/job/Ambari-trunk-Commit/1695/]) AMBARI-9489 - An exception thrown during view deployment could skip deployment of multiple views. (tbeerbower) (tbeerbower: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=72c8adfa42c25bb09c05460aa4acc4c7b1943e5e) * ambari-server/src/main/java/org/apache/ambari/server/view/ViewRegistry.java * ambari-server/src/test/java/org/apache/ambari/server/view/ViewRegistryTest.java > An exception thrown during view deployment could skip deployment of multiple views. > ----------------------------------------------------------------------------------- > > Key: AMBARI-9489 > URL: https://issues.apache.org/jira/browse/AMBARI-9489 > Project: Ambari > Issue Type: Bug > Reporter: Tom Beerbower > Assignee: Tom Beerbower > Fix For: 2.0.0 > > Attachments: AMBARI-9489.patch > > > An exception thrown while getting the view configuration from the archive file could cause other views not to deploy. The exception should be handled within readViewArchives() so that view deployment can proceed. > For example ... > {code} > java.lang.IllegalArgumentException: is parameter must not be null > at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:199) > at org.apache.ambari.server.view.ViewArchiveUtility.getViewConfigFromArchive(ViewArchiveUtility.java:73) > at org.apache.ambari.server.view.ViewRegistry.readViewArchives(ViewRegistry.java:1297) > at org.apache.ambari.server.view.ViewRegistry.readViewArchives(ViewRegistry.java:440) > at org.apache.ambari.server.controller.AmbariServer.run(AmbariServer.java:349){code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)