Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 1C9E8200C5C for ; Thu, 20 Apr 2017 20:37:09 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 1B60C160BB0; Thu, 20 Apr 2017 18:37:09 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 622EB160B90 for ; Thu, 20 Apr 2017 20:37:08 +0200 (CEST) Received: (qmail 71562 invoked by uid 500); 20 Apr 2017 18:37:07 -0000 Mailing-List: contact issues-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 issues@ambari.apache.org Received: (qmail 71552 invoked by uid 99); 20 Apr 2017 18:37:07 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Apr 2017 18:37:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 247B6CDB88 for ; Thu, 20 Apr 2017 18:37:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id t4HbdpQeguZE for ; Thu, 20 Apr 2017 18:37:05 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id D7B165FB64 for ; Thu, 20 Apr 2017 18:37:04 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 5ECA9E05A2 for ; Thu, 20 Apr 2017 18:37:04 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 145BB21B53 for ; Thu, 20 Apr 2017 18:37:04 +0000 (UTC) Date: Thu, 20 Apr 2017 18:37:04 +0000 (UTC) From: "Hadoop QA (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-20811) Trying to upgrade HDF 2.0.2.0 to HDF 3.0.0.0 fails with NPE MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 20 Apr 2017 18:37:09 -0000 [ https://issues.apache.org/jira/browse/AMBARI-20811?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15977237#comment-15977237 ] Hadoop QA commented on AMBARI-20811: ------------------------------------ {color:red}-1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12864325/AMBARI-20811.patch against trunk revision . {color:green}+1 @author{color}. The patch does not contain any @author tags. {color:red}-1 tests included{color}. The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. {color:green}+1 release audit{color}. The applied patch does not increase the total number of release audit warnings. {color:green}+1 javac{color}. The applied patch does not increase the total number of javac compiler warnings. {color:red}-1 core tests{color}. The patch failed these unit tests in ambari-server: org.apache.ambari.server.state.UpgradeHelperTest Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/11434//console This message is automatically generated. > Trying to upgrade HDF 2.0.2.0 to HDF 3.0.0.0 fails with NPE > ----------------------------------------------------------- > > Key: AMBARI-20811 > URL: https://issues.apache.org/jira/browse/AMBARI-20811 > Project: Ambari > Issue Type: Bug > Components: ambari-server > Affects Versions: 2.5.0 > Reporter: Dmitry Lysnichenko > Assignee: Dmitry Lysnichenko > Priority: Blocker > Fix For: 2.5.1 > > Attachments: AMBARI-20811.patch > > > The following steps were followed. > 1. Installed ambari 2.4.1.0 > 2. Installed HDF 2.0.2.0 > 3. Upgraded ambari to 2.5.0.3 > 4 Upgraded mpack to 3.0.0.0-169 is installed. > 5. Ambari launches successfully and HDF 2.0.2.0 shows correctly > 6. Registered and installed the new version 3.0.0.0-169 > 7. Click on express upgrade. Throws 500 > Ambari-server has the following exception in the logs > {code:None} > 11 Apr 2017 08:11:59,794 ERROR [ambari-client-thread-194] ContainerResponse:419 - The RuntimeException could not be mapped to a response, re-throwing to the HTTP container > java.lang.NullPointerException > at org.apache.ambari.server.state.stack.ConfigUpgradePack.merge(ConfigUpgradePack.java:124) > at org.apache.ambari.server.controller.internal.UpgradeResourceProvider$ConfigurationPackBuilder.build(UpgradeResourceProvider.java:1839) > at org.apache.ambari.server.controller.internal.UpgradeResourceProvider.createUpgrade(UpgradeResourceProvider.java:812) > at org.apache.ambari.server.controller.internal.UpgradeResourceProvider$1.invoke(UpgradeResourceProvider.java:382) > at org.apache.ambari.server.controller.internal.UpgradeResourceProvider$1.invoke(UpgradeResourceProvider.java:350) > at org.apache.ambari.server.controller.internal.AbstractResourceProvider.invokeWithRetry(AbstractResourceProvider.java:455) > at org.apache.ambari.server.controller.internal.AbstractResourceProvider.createResources(AbstractResourceProvider.java:278) > at org.apache.ambari.server.controller.internal.UpgradeResourceProvider.createResources(UpgradeResourceProvider.java:350) > at org.apache.ambari.server.controller.internal.ClusterControllerImpl.createResources(ClusterControllerImpl.java:298) > at org.apache.ambari.server.api.services.persistence.PersistenceManagerImpl.create(PersistenceManagerImpl.java:97) > at org.apache.ambari.server.api.handlers.CreateHandler.persist(CreateHandler.java:37) > at org.apache.ambari.server.api.handlers.BaseManagementHandler.handleRequest(BaseManagementHandler.java:73) > at org.apache.ambari.server.api.services.BaseRequest.process(BaseRequest.java:144) > at org.apache.ambari.server.api.services.BaseService.handleRequest(BaseService.java:126) > at org.apache.ambari.server.api.services.BaseService.handleRequest(BaseService.java:90) > at org.apache.ambari.server.api.services.UpgradeService.createUpgrade(UpgradeService.java:58) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > {code} -- This message was sent by Atlassian JIRA (v6.3.15#6346)