From dev-return-111936-apmail-ambari-dev-archive=ambari.apache.org@ambari.apache.org Thu Mar 29 13:04:22 2018 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 1F4EE1831E for ; Thu, 29 Mar 2018 13:04:22 +0000 (UTC) Received: (qmail 31249 invoked by uid 500); 29 Mar 2018 13:04:17 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 31207 invoked by uid 500); 29 Mar 2018 13:04:17 -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 31191 invoked by uid 99); 29 Mar 2018 13:04:16 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Mar 2018 13:04:16 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 0A58F1A169E for ; Thu, 29 Mar 2018 13:04:16 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.898 X-Spam-Level: * X-Spam-Status: No, score=1.898 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id dZi_5fAV_nOc for ; Thu, 29 Mar 2018 13:04:13 +0000 (UTC) Received: from mail-vk0-f44.google.com (mail-vk0-f44.google.com [209.85.213.44]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 9357A5F59D for ; Thu, 29 Mar 2018 13:04:13 +0000 (UTC) Received: by mail-vk0-f44.google.com with SMTP id h134so3333613vke.2 for ; Thu, 29 Mar 2018 06:04:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=WppIk3VCk3ODlwCye9VLn+zKv5wtjYaM1eJxbC286U0=; b=jJO/zcRIZFZlE1/DrmG1hSkhreEjNFLxLrwyXlhTGb7sPeyqnt5g7pIk0XH301lJNO XCqndPfbOJSD8eEIa+lI0q0hdnhK/mirVoxlWBo4H5urm8E4qAS6I0wlI8NXqPOx4pCr +Ata2FCvGsZ2oFTtwTn28VUuUnL4Tk7MeZvYU8ZbtV2Il2sU/i2wnPduK0rK0c1rVENg 1hSfv21U1zXr/+CSTYpiYfr1CD5u0jrT9pM7iMGOt1aOIHNPN4ZdmH/JUcU9S6DwPOMa nRmH4ZuYRvMdeJv4k+tvZsv3dsXWdyrgrimEwJ/wOMvcGk2iurq4iMqMkWTfbjUftS/4 HEFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=WppIk3VCk3ODlwCye9VLn+zKv5wtjYaM1eJxbC286U0=; b=hRNCxHR13A8+8K5Umm3xPWXNyx8bj+c31B2jiCLTZq7/OUo1nVAmI7sd3bdFEpVTtT ae5JXhRAa8KjwFslrCLKazwVX63qx7VoXNVUamEUNEAXFTMKFMyxb5YVCskTMuvNCxPv ZcFvmqjMCDxcR50pu0mmrK0cHjjGtc6prVdxppAk5CHZcbYR0sVtwAyjEyfMJb4KG+9A MHZAlucH4wzN0KhYMLCpeUXaZyhcB3ch4lHJhMMMXLQdLqM8Pti/BOdJr0pIs2zRVls/ tO7WR1PMEhcM6S2r8kC5/GEKDrIjucbbHH/oDf2bDPWw6p82u6aoM7plH9K1Vebg7MfH igow== X-Gm-Message-State: ALQs6tCa37RhbINnSFsH0tB82W3KqF9qfMvU+841MQyKJkHQXtvCGy0Y rDI+aus0NG0paBl+dXPYYdreMr9EBUC9iSuWJcgllA== X-Google-Smtp-Source: AIpwx49Fk2M2TbKMfahz0nE7Gge1CLbd6YLclenVJSG6LfsFDeso51XO7Wwnu5yK5aJAbQG5jpmCtNLEGR+hIn4aETA= X-Received: by 10.31.106.134 with SMTP id f128mr3624691vkc.139.1522328653048; Thu, 29 Mar 2018 06:04:13 -0700 (PDT) MIME-Version: 1.0 Received: by 10.103.54.87 with HTTP; Thu, 29 Mar 2018 06:04:12 -0700 (PDT) In-Reply-To: <1893124843.1792489.1522307227942.JavaMail.zimbra@sky-data.cn> References: <1893124843.1792489.1522307227942.JavaMail.zimbra@sky-data.cn> From: Di Li Date: Thu, 29 Mar 2018 09:04:12 -0400 Message-ID: Subject: Re: Could custom client service add start/stop? To: dev@ambari.apache.org Content-Type: multipart/alternative; boundary="94eb2c0932b698b13e05688cc297" --94eb2c0932b698b13e05688cc297 Content-Type: text/plain; charset="UTF-8" Clients do not have start/stop. Start and stop shown on the UI are reserved actions from Ambari, you can't overwrite them. You can add custom actions (so long as they show up on the UI) to do similar things, but you will need to give them different names. On Thu, Mar 29, 2018 at 3:07 AM, wrote: > Hi! > > I follow https://cwiki.apache.org/confluence/display/AMBARI/ > Defining+a+Custom+Service and add a custom client service. > > I want add start/stop as customCommand, but i do not know how and when to > call them. > > Also, is there any possible to start/stop client service at web UI like > master service? > --94eb2c0932b698b13e05688cc297--