Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E47171762E for ; Sun, 5 Oct 2014 21:38:33 +0000 (UTC) Received: (qmail 9341 invoked by uid 500); 5 Oct 2014 21:38:33 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 9305 invoked by uid 500); 5 Oct 2014 21:38:33 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 9293 invoked by uid 99); 5 Oct 2014 21:38:33 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 05 Oct 2014 21:38:33 +0000 Date: Sun, 5 Oct 2014 21:38:33 +0000 (UTC) From: "jun aoki (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-7442) ServiceCheck cannot be run if there is only one stack definition MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMBARI-7442?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] jun aoki updated AMBARI-7442: ----------------------------- Attachment: AMBARI-7442_branch-1.7.0.patch > ServiceCheck cannot be run if there is only one stack definition > ---------------------------------------------------------------- > > Key: AMBARI-7442 > URL: https://issues.apache.org/jira/browse/AMBARI-7442 > Project: Ambari > Issue Type: Bug > Components: ambari-server > Affects Versions: 1.7.0 > Reporter: Mingjiang Shi > Assignee: Alexander Denissov > Fix For: 1.7.0 > > Attachments: AMBARI-7442-3.patch, AMBARI-7442_branch-1.7.0.patch, AMBR-7442.patch > > > Reproduce step: > 1. Remove all the stack definitions in HDP except HDP 2.0.6, and mark HDP2.0.6 as active in the metainfo.xml > 2. Install a cluster using HDP2.0.6 include the basic service hdfs and zookeeper > 3. Once installed, in the dashboard, select Zookeeper, and click Run Service Check under Service Actions. > Nothing will happen in the webui, but in the ambari-server log, the following error is found: > 02:47:04,586 INFO [qtp697653916-20] AmbariManagementControllerImpl:2984 - Received action execution request, clusterName=hdp, request=isCommand :true, action :null, command :ZOOKEEPER_QUORUM_SERVICE_CHECK, inputs :{}, resourceFilters: [RequestResourceFilter{serviceName='ZOOKEEPER', componentName='null', hostNames=[]}], exclusive: false, clusterName :hdp > 02:47:04,586 ERROR [qtp697653916-20] AbstractResourceProvider:280 - Caught AmbariException when creating a resource > org.apache.ambari.server.AmbariException: Unsupported action ZOOKEEPER_QUORUM_SERVICE_CHECK for Service: ZOOKEEPER and Component: null > at org.apache.ambari.server.controller.AmbariCustomCommandExecutionHelper.validateAction(AmbariCustomCommandExecutionHelper.java:783) > at org.apache.ambari.server.controller.AmbariManagementControllerImpl.createAction(AmbariManagementControllerImpl.java:2991) > at org.apache.ambari.server.controller.internal.RequestResourceProvider$1.invoke(RequestResourceProvider.java:121) > at org.apache.ambari.server.controller.internal.RequestResourceProvider$1.invoke(RequestResourceProvider.java:118) > at org.apache.ambari.server.controller.internal.AbstractResourceProvider.createResources(AbstractResourceProvider.java:273) > at org.apache.ambari.server.controller.internal.RequestResourceProvider.createResources(RequestResourceProvider.java:118) > at org.apache.ambari.server.controller.internal.ClusterControllerImpl.createResources(ClusterControllerImpl.java:274) > 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) -- This message was sent by Atlassian JIRA (v6.3.4#6332)