This is good to know. I think right now, my service would be added to an
existing Ambari setup.

On Thu, Feb 11, 2016 at 1:38 PM, Bhuvnesh Chaudhary <[email protected]>
wrote:

> Just to add:
> In case all the services are being installed together, in that case yes
> RCO will help.
>
> Thanks,
> Bhuvnesh Chaudhary
> Email: bchau <[email protected]>[email protected]
> Desk: +1-650-846-1696 | Mobile: +1-973-906-6976
>
> On Thu, Feb 11, 2016 at 1:36 PM, Bhuvnesh Chaudhary <[email protected]
> > wrote:
>
>> @Amanda,
>> I believe currently, there is no such flag which you could set which
>> allows to restart already installed services during install of service x.
>> Technically, you can run APIs to stop and start other services from
>> backend during install of service x but that might not be a good idea.
>> It might be a good feature to include such dependencies and make it
>> pluggable.
>> Just curious: What changes after the restart of hbase and zookeeper which
>> lets your service run  ?
>>
>> But yes, let's hear from other folks as well if there is any such
>> feature, i might not be aware.
>>
>> @Alejandro - Will RCO work if you are adding service X which depends on
>> restart of already installed service say Y. If X service is being added,
>> Ambari will schedule Install -> Start -> Service check only for Service X ?
>> Correct me if wrong.
>>
>>
>>
>>
>> Thanks,
>> Bhuvnesh Chaudhary
>> Email: bchau <[email protected]>[email protected]
>> Desk: +1-650-846-1696 | Mobile: +1-973-906-6976
>>
>> On Thu, Feb 11, 2016 at 1:25 PM, Alejandro Fernandez <
>> [email protected]> wrote:
>>
>>> Take a look at role_command_order.json
>>>
>>> It is specific to the stack, and it inherits from earlier stacks. E.g.,
>>> ambari-server/src/main/resources/stacks/HDP/2.0.6/role_command_order.json
>>> ambari-server/src/main/resources/stacks/HDP/2.1/role_command_order.json
>>> ambari-server/src/main/resources/stacks/HDP/2.2/role_command_order.json
>>> ambari-server/src/main/resources/stacks/HDP/2.3/role_command_order.json
>>>
>>> Thanks,
>>> Alejandro
>>>
>>> From: Amanda Moran <[email protected]>
>>> Reply-To: "[email protected]" <[email protected]>
>>> Date: Thursday, February 11, 2016 at 1:19 PM
>>> To: "[email protected]" <[email protected]>
>>> Subject: Ambari Stacks: Start of service requires another service
>>> restart
>>>
>>> Hi there All-
>>>
>>> I am currently working on adding a service via ambari stacks.
>>>
>>> My service requires another service (hbase and zookeeper) to be
>>> restarted  before my service will start.
>>>
>>> How can I do this?
>>>
>>> Note: Right now, my service installs fine but then fails the automatic
>>> start since HBase has not been restarted. I then restart HBase and I am
>>> able to start my service... I would like it so that my service doesn't
>>> "fail" the first time :)
>>>
>>> Thanks a bunch! I looked all over for this answer.. and couldn't seem to
>>> find.
>>> --
>>> Thanks,
>>>
>>> Amanda Moran
>>>
>>
>>
>


-- 
Thanks,

Amanda Moran

Reply via email to