Return-Path: X-Original-To: apmail-ambari-user-archive@www.apache.org Delivered-To: apmail-ambari-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8391A18BDF for ; Wed, 17 Jun 2015 14:17:17 +0000 (UTC) Received: (qmail 35155 invoked by uid 500); 17 Jun 2015 14:17:17 -0000 Delivered-To: apmail-ambari-user-archive@ambari.apache.org Received: (qmail 35122 invoked by uid 500); 17 Jun 2015 14:17:17 -0000 Mailing-List: contact user-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ambari.apache.org Delivered-To: mailing list user@ambari.apache.org Received: (qmail 35110 invoked by uid 99); 17 Jun 2015 14:17:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Jun 2015 14:17:17 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of dvasilen@gmail.com designates 209.85.217.178 as permitted sender) Received: from [209.85.217.178] (HELO mail-lb0-f178.google.com) (209.85.217.178) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Jun 2015 14:15:00 +0000 Received: by lbbwc1 with SMTP id wc1so32774455lbb.2 for ; Wed, 17 Jun 2015 07:16:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=f3p3fOqNZb9S1icCVxhZ1x2/stoN1aEUUZHdgsH4lb4=; b=WPgMdLvjQFHrvtfom8//RJDdLEvBvMzT36PHxy+K0AUivEF4DrAvtebxbQTF0SRKW/ eXFO/inGX+CZ1WNIEnv9n9brHA+fAMSqMf+0edaIhC455mtNbvEBibgTcBgkyowqN9/U AtdMwa8pmfQyyvixwfQz517kg8j2miP3oaEzP63QeOyKnawTSLQRhBfkqhPdwgt6RL+w pka4OVBVhljE/BsvydG8LOuMGvq/LTbpRcygaEp7z6pQZrTu0NKTR+EDZ0nwUZn/5ByY FLzYz/aGjHFZz3kdKeU56sE37QmFJ1l8w7jR+EB6WncJHA+cZbOOBIbMWMfshlRAM9sP GP1A== MIME-Version: 1.0 X-Received: by 10.112.83.135 with SMTP id q7mr8233944lby.13.1434550609076; Wed, 17 Jun 2015 07:16:49 -0700 (PDT) Received: by 10.25.197.67 with HTTP; Wed, 17 Jun 2015 07:16:49 -0700 (PDT) In-Reply-To: <2A69E4F6-2153-4A1E-A262-5DC6ADF776E4@gmail.com> References: <2A69E4F6-2153-4A1E-A262-5DC6ADF776E4@gmail.com> Date: Wed, 17 Jun 2015 09:16:49 -0500 Message-ID: Subject: Re: Possible to have custom command name with spaces in custom service From: Dmitry Vasilenko To: user@ambari.apache.org, Christopher Jackson Content-Type: multipart/alternative; boundary=001a113459227769110518b757fb X-Virus-Checked: Checked by ClamAV on apache.org --001a113459227769110518b757fb Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable We are facing the same problem. Submitted https://issues.apache.org/jira/browse/AMBARI-11974 to track the issue. Regards Dmitry Vasilenko On Fri, Jun 12, 2015 at 10:53 AM, Christopher Jackson < jackson.christopher.lee@gmail.com> wrote: > I have a custom service with a custom command as shown below: > > > Remove_Sample_Data > > > PYTHON > 600 > > > > I would like for this custom command to be shown in the service actions > drop down as =E2=80=98Remove Sample Data=E2=80=99. Is this possible? It s= eems not since the > name of the custom command should match the name of the function in the > script. Is there another element nested under customCommand to achieve wh= at > I want, something like or the like? > > Regards, > > Christopher Jackson --001a113459227769110518b757fb Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
We are facing the same problem. Submitted

https://issues.apac= he.org/jira/browse/AMBARI-11974

to track the issue.

Regar= ds
Dmitry Vasilenko


On Fri, Jun 12, 2015 at 10:53 AM, Christopher Jackson <jackson.christopher.lee@gmail.com> wrote:
I have a custom service with = a custom command as shown below:

<customCommand>
=C2=A0 <name>Remove_Sample_Data</name>
=C2=A0 <commandScript>
=C2=A0 =C2=A0 <script>scripts/server.py</script>
=C2=A0 =C2=A0 <scriptType>PYTHON</scriptType>
=C2=A0 =C2=A0 <timeout>600</timeout>
=C2=A0 </commandScript>
</customCommand>

I would like for this custom command to be shown in the service actions dro= p down as =E2=80=98Remove Sample Data=E2=80=99. Is this possible? It seems = not since the name of the custom command should match the name of the funct= ion in the script. Is there another element nested under customCommand to a= chieve what I want, something like <displayName> or the like?

Regards,

Christopher Jackson

--001a113459227769110518b757fb--