ambari-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From priyanka gugale <>
Subject Re: Install script not getting invoked
Date Fri, 15 Apr 2016 05:35:50 GMT
Thanks a lot for revert Mithun.

When I try to add service from UI, the configuration and installation
wizard shows up and it completes within a second showing success. As you
correctly figured out, it actually doesn't try to install anything (not
sure what it does). I tried to make component as SLAVE as cardinality as 1+
as per suggestion, but that also didn't help. I would move this question to
Dev to reach to right audience.

About properties, I expect those properties to show up on UI, but if user
wish to leave them blank the installation should proceed. Right now the
fields turn red, indicating they are mandatory fields (when I don't have
any default values defined in config file).


On Thu, Apr 14, 2016 at 9:40 PM, Mithun Mathew <> wrote:

> Hi Priyanka
> - When you clicked Add Service from the UI, what did you see? Can you
> share the ambari log (stdout and stderr) which shows up on the UI when the
> component is being installed.
> - I see the component is marked as a CLIENT with cardinality 0. Not sure
> if you are very rigid about this. If it did not even attempt to install, I
> would try to force it to show up on the UI through the Add Service wizard.
> Make the component as SLAVE with cardinality 1+. This would force the Add
> Service wizard to choose the hosts on which you can install your component.
> Example of service which has only slave components:
> - What behavior do you expect, when a configuration parameter is optional?
> It should not show up on UI?
> - Posting this in the dev mailing list as well would get you more help.
> Regards
> Matt
> On Thu, Apr 14, 2016 at 2:14 AM, priyanka gugale <
>> wrote:
>> Hi,
>> I am trying to write a service to install our product package though
>> ambari. I have written simple scripts as per guidelines, here is the code
>> for same:
>> I am facing following problems:
>> 1. My install scripts are not getting invoked. I tried putting some
>> log/print messages to confirm that. When I run install service from UI, it
>> exits within a second giving green status.
>> (I have not written service_check script, could that be a problem?)
>> 2. What is the way to mark configurations parameters optional? Whatever
>> parameters I include in my config xml file, I need to provide them in UI,
>> if I haven't specified defaults. How can I mark them as optional?
>> Any help on this is really appreciated.
>> Thanks,
>> Priyanka
>> --
>> *Mithun Mathew* (Matt)
>>    -

View raw message