ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (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 16:57:39 GMT

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

Hudson commented on AMBARI-14937:
---------------------------------

SUCCESS: Integrated in Ambari-branch-2.2 #296 (See [https://builds.apache.org/job/Ambari-branch-2.2/296/])
AMBARI-14937. Show error message when installing registered version (akovalenko: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=89be2a4629b4db0abff028cf902a2c4a74b75161])
* ambari-web/app/controllers/main/admin/stack_and_upgrade_controller.js


> 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