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 723E818E0C for ; Fri, 5 Feb 2016 14:29:40 +0000 (UTC) Received: (qmail 10206 invoked by uid 500); 5 Feb 2016 14:29:40 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 10176 invoked by uid 500); 5 Feb 2016 14:29:40 -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 10027 invoked by uid 99); 5 Feb 2016 14:29:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Feb 2016 14:29:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 10FEC2C14F7 for ; Fri, 5 Feb 2016 14:29:40 +0000 (UTC) Date: Fri, 5 Feb 2016 14:29:40 +0000 (UTC) From: "Aleksandr Kovalenko (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-14937) Show error message when installing registered version which does not have repo defined for the OS 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-14937?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15134251#comment-15134251 ] Aleksandr Kovalenko commented on AMBARI-14937: ---------------------------------------------- committed to branch-2.2 > Show error message when installing registered version which does not have repo defined for the OS > ------------------------------------------------------------------------------------------------- > > Key: AMBARI-14937 > URL: https://issues.apache.org/jira/browse/AMBARI-14937 > Project: Ambari > Issue Type: Bug > Components: ambari-web > Affects Versions: 2.2.1 > Reporter: Aleksandr Kovalenko > Assignee: Aleksandr Kovalenko > Priority: Critical > Fix For: 2.2.2 > > Attachments: AMBARI-14837.patch > > > On my cluster i registered HDP stack 2.4.0.0 but entered URL's for CentOS 6 instead of 7. When i tried installing the version no error was shown on the UI and nothing happened. > We had a 500 returned from the versions api > {code} > 28 Jan 2016 04:51:57,296 ERROR [qtp-ambari-client-284] BaseManagementHandler:57 - Caught a system exception while attempting to create a resource: An internal system exception occurred: Stack data, stackN > ame=HDP, stackVersion= 2.4, osType=redhat7, repoId= HDP-2.4.0.0-142 > org.apache.ambari.server.controller.spi.SystemException: An internal system exception occurred: Stack data, stackName=HDP, stackVersion= 2.4, osType=redhat7, repoId= HDP-2.4.0.0-142 > at org.apache.ambari.server.controller.internal.AbstractResourceProvider.createResources(AbstractResourceProvider.java:282) > at org.apache.ambari.server.controller.internal.RepositoryResourceProvider.createResources(RepositoryResourceProvider.java:186) > at org.apache.ambari.server.controller.internal.ClusterControllerImpl.createResources(ClusterControllerImpl.java:289) > at org.apache.ambari.server.api.services.persistence.PersistenceManagerImpl.create(PersistenceManagerImpl.java:76) > at org.apache.ambari.server.api.handlers.CreateHandler.persist(CreateHandler.java:36) > at org.apache.ambari.server.api.handlers.BaseManagementHandler.handleRequest(BaseManagementHandler.java:72) > at org.apache.ambari.server.api.services.BaseRequest.process(BaseRequest.java:135) > at org.apache.ambari.server.api.services.BaseService.handleRequest(BaseService.java:106) > at org.apache.ambari.server.api > {code} > Which never made it to the end user. We should make sure this gets relayed to the user. -- This message was sent by Atlassian JIRA (v6.3.4#6332)