ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anisha Agarwal <>
Subject HDP cluster takeover
Date Tue, 20 Aug 2013 19:09:31 GMT
Hi All,

I am working on

My current progress: I have been able to install Ambari on a working HDP cluster using the
APIs, and skip the UI install wizard to go to monitoring dashboard directly. I see the correct
component – host mapping.

After this, I need to indicate to the ambari-server that the services are started. But, the
state transition rules prevent me from going to started from init.

>From what I see there are 2 ways to fix this:
1. When we create the services, we create them with the state "Installed"
2. Allow state transition from "Init" to "Started"

I think the first way is cleaner. What are your thoughts?

I have a couple of questions:

1.Can anyone please point me to the code where initialization of the services is done, and
the state is set?
2. Where are the state transition rules defined? I found some defined here : controller/src/main/java/org/apache/ambari/resource/statemachine/
Is there anything I am missing?

Also, any other pointers will be highly appreciated.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message