ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonenko Alexander (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-14937) Show error message when installing registered version which does not have repo defined for the OS
Date Fri, 05 Feb 2016 12:58:40 GMT

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

Antonenko Alexander commented on AMBARI-14937:
----------------------------------------------

+1 for the patch

> 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)

Mime
View raw message