ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <>
Subject [jira] [Commented] (AMBARI-19156) Install Packages fails with the old stack has services removed in the new stack
Date Wed, 14 Dec 2016 11:50:58 GMT


Hadoop QA commented on AMBARI-19156:

{color:green}+1 overall{color}.  Here are the results of testing the latest attachment
  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 8 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:green}+1 core tests{color}.  The patch passed unit tests in ambari-server.

Test results:
Console output:

This message is automatically generated.

> Install Packages fails with the old stack has services removed in the new stack
> -------------------------------------------------------------------------------
>                 Key: AMBARI-19156
>                 URL:
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: trunk, 2.5.0
>            Reporter: Di Li
>            Assignee: Di Li
>         Attachments: AMBARI-19156-v2.patch, AMBARI-19156-v3.patch, AMBARI-19156.patch
> Install packages step (before RU/EU) fails with err "Cannot enumerate services" if the
current stack has services that have been removed in the new stack. For example, mystack-1.0
has Spark, but mystakc-2.0 only has Spark2, where Spark's metainfo.xml in mystack-2.0 has
the <deleted>true</deleted> section.
> Workaround is to remove Spark before attempting the install packages.
> The error is below:
> 02 Dec 2016 12:53:43,928 ERROR [ambari-client-thread-27] BaseManagementHandler:61 - Caught
a system exception while attempting to create a resource: Cannot enumerate services
> org.apache.ambari.server.controller.spi.SystemException: Cannot enumerate services
>         at org.apache.ambari.server.controller.internal.ClusterStackVersionResourceProvider.getHostVersionInstallCommand(
>         at org.apache.ambari.server.controller.internal.ClusterStackVersionResourceProvider.createResourcesAuthorized(
>         at org.apache.ambari.server.controller.internal.AbstractAuthorizedResourceProvider.createResources(
>         at org.apache.ambari.server.controller.internal.ClusterControllerImpl.createResources(
>         at
>         at org.apache.ambari.server.api.handlers.CreateHandler.persist(
>         at org.apache.ambari.server.api.handlers.BaseManagementHandler.handleRequest(
>         at
>         at
>         at
>         at
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(
>         at java.lang.reflect.Method.invoke(
>         at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(
>         at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(
>         at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(
>         at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(
>         at com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(
>         at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(

This message was sent by Atlassian JIRA

View raw message