[
https://issues.apache.org/jira/browse/AMBARI-16080?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15255440#comment-15255440
]
Hadoop QA commented on AMBARI-16080:
------------------------------------
{color:red}-1 overall{color}. Here are the results of testing the latest
attachment
http://issues.apache.org/jira/secure/attachment/12800380/AMBARI-16080.patch
against trunk revision .
{color:green}+1 @author{color}. The patch does not contain any @author
tags.
{color:green}+1 tests included{color}. The patch appears to include 1 new
or modified test files.
{color:green}+1 javac{color}. The applied patch does not increase the
total number of javac compiler warnings.
{color:green}+1 release audit{color}. The applied patch does not increase
the total number of release audit warnings.
{color:red}-1 core tests{color}. The patch failed these unit tests in
ambari-server:
org.apache.ambari.server.state.ServiceTest
Test results:
https://builds.apache.org/job/Ambari-trunk-test-patch/6628//testReport/
Console output:
https://builds.apache.org/job/Ambari-trunk-test-patch/6628//console
This message is automatically generated.
> Delete Service: Deleting Hive fails with 500 error
> --------------------------------------------------
>
> Key: AMBARI-16080
> URL: https://issues.apache.org/jira/browse/AMBARI-16080
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 2.4.0
> Reporter: Sumit Mohanty
> Assignee: Sumit Mohanty
> Fix For: 2.4.0
>
> Attachments: AMBARI-16080.patch
>
>
> *STR:*
> # Stop all components of Hive service
> # Delete service from UI
> API fails with message
> {code}
> {
> "status" : 500,
> "message" : "org.apache.ambari.server.controller.spi.SystemException: An
> internal system exception occurred: Could not delete service from cluster,
> clusterName=c1, serviceName=HIVE"
> }
> {code}
> {code:title=ambari-server.log}
> 23 Apr 2016 02:14:38,714 ERROR [qtp-ambari-client-100]
> AbstractResourceProvider:343 - Caught AmbariException when modifying a
> resource
> org.apache.ambari.server.AmbariException: Could not delete service from
> cluster, clusterName=c1, serviceName=HIVE
> at
> org.apache.ambari.server.state.cluster.ClusterImpl.deleteService(ClusterImpl.java:2207)
> at
> org.apache.ambari.server.controller.internal.ServiceResourceProvider.deleteServices(ServiceResourceProvider.java:810)
> at
> org.apache.ambari.server.controller.internal.ServiceResourceProvider$3.invoke(ServiceResourceProvider.java:244)
> at
> org.apache.ambari.server.controller.internal.ServiceResourceProvider$3.invoke(ServiceResourceProvider.java:241)
> at
> org.apache.ambari.server.controller.internal.AbstractResourceProvider.invokeWithRetry(AbstractResourceProvider.java:455)
> at
> org.apache.ambari.server.controller.internal.AbstractResourceProvider.modifyResources(AbstractResourceProvider.java:336)
> at
> org.apache.ambari.server.controller.internal.ServiceResourceProvider.deleteResourcesAuthorized(ServiceResourceProvider.java:241)
> at
> org.apache.ambari.server.controller.internal.AbstractAuthorizedResourceProvider.deleteResources(AbstractAuthorizedResourceProvider.java:335)
> at
> org.apache.ambari.server.controller.internal.ClusterControllerImpl.deleteResources(ClusterControllerImpl.java:339)
> at
> org.apache.ambari.server.api.services.persistence.PersistenceManagerImpl.delete(PersistenceManagerImpl.java:132)
> at
> org.apache.ambari.server.api.handlers.DeleteHandler.persist(DeleteHandler.java:49)
> at
> org.apache.ambari.server.api.handlers.BaseManagementHandler.handleRequest(BaseManagementHandler.java:73)
> at
> org.apache.ambari.server.api.services.BaseRequest.process(BaseRequest.java:145)
> at
> org.apache.ambari.server.api.services.BaseService.handleRequest(BaseService.java:119)
> at
> org.apache.ambari.server.api.services.BaseService.handleRequest(BaseService.java:83)
> at
> org.apache.ambari.server.api.services.ServiceService.deleteService(ServiceService.java:178)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)