ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emil Anca (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-10788) Cannot execute server-side action if the Ambari server host name contain uppercase characters
Date Tue, 28 Apr 2015 13:33:06 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-10788?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Emil Anca updated AMBARI-10788:
-------------------------------
    Attachment: AMBARI-10788_01.patch

> Cannot execute server-side action if the Ambari server host name contain uppercase characters
> ---------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-10788
>                 URL: https://issues.apache.org/jira/browse/AMBARI-10788
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.0.0
>            Reporter: Emil Anca
>            Assignee: Emil Anca
>            Priority: Critical
>             Fix For: 2.1.0
>
>         Attachments: AMBARI-10788_01.patch
>
>
> If the Ambari server is running on a host with uppercase characters in its name like
BUG-1234-1.novalocal, the following exception is thrown when creating a stage to execute a
server-side action.
> {code}
> ERROR [qtp-client-23] AbstractResourceProvider:280 - Caught AmbariException when creating
a resource
> org.apache.ambari.server.AmbariException: Host BUG-1234-2.novalocal doesn't exist in
database
>         at org.apache.ambari.server.actionmanager.ActionDBAccessorImpl.persistActions(ActionDBAccessorImpl.java:269)
>         at org.apache.ambari.server.orm.AmbariJpaLocalTxnInterceptor.invoke(AmbariJpaLocalTxnInterceptor.java:68)
>         at org.apache.ambari.server.actionmanager.ActionManager.sendActions(ActionManager.java:96)
>         at org.apache.ambari.server.controller.internal.RequestStageContainer.persist(RequestStageContainer.java:216)
>         at org.apache.ambari.server.controller.AmbariManagementControllerImpl.createAction(AmbariManagementControllerImpl.java:3043)
>         at org.apache.ambari.server.controller.internal.RequestResourceProvider$1.invoke(RequestResourceProvider.java:161)
>         at org.apache.ambari.server.controller.internal.RequestResourceProvider$1.invoke(RequestResourceProvider.java:158)
>         at org.apache.ambari.server.controller.internal.AbstractResourceProvider.createResources(AbstractResourceProvider.java:273)
>         at org.apache.ambari.server.controller.internal.RequestResourceProvider.createResources(RequestResourceProvider.java:158)
>         at org.apache.ambari.server.controller.internal.ClusterControllerImpl.createResources(ClusterControllerImpl.java:289)
>         at org.apache.ambari.server.api.services.persistence.PersistenceManagerImpl.create(PersistenceManagerImpl.java:75)
>         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:103)
>         at org.apache.ambari.server.api.services.BaseService.handleRequest(BaseService.java:72)
>         at org.apache.ambari.server.api.services.RequestService.createRequests(RequestService.java:145)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message