incubator-ambari-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From YingZhu <>
Subject Re:Re: Re: How to monitor added service in Ambari stack?
Date Mon, 08 Jul 2013 05:21:10 GMT
Hello Siddharth,
I have changed "config" to "desired_configs" but get the same error:
status: 400 message: UnsupportedException: The properties [desired_configs/mdss] specified
in the request or predicate are not supported for the resource type Cluster.

Ying Zhu

At 2013-07-05 23:40:46,"Siddharth Wagle" <> wrote:

Hello Ying,

Could you please provide the API call made for Step 4?
You might have to change "config" to "desired_configs"

curl -u admin:admin -i -X PUT -d '{"desired_configs": {"core-site": "version1363902625" }}'

Feel free to leave comments or update the wiki page.

On Step 6, the exception suggests that the API call is trying to Create a service that is
already installed. You can call this API to get the current state of the service,


Best Regards,


On Fri, Jul 5, 2013 at 3:35 AM, YingZhu <> wrote:

Hello Satish,
      Actually I broke down the work of adding service to ambari into two pieces, the client
side(writing the essential puppet ant python scripts) was handled to another guy in the team
and I'm trying to implement the server side, the previous mail was posted for him. However
after I finished the following steps I still can not add service to the server side, the ambari
version I'm using is, os is CentOS 6.3.
1. Add a new Role to, e.g. MDSS, and recompile the server side's jar package. 
2. Create the new service's metainfo.xml and configuration files in /var/lib/ambari-server/resources/stacks.

3. Restart ambari server using the jar package in step 1, and follow exactly the instructions
in this page:
Here was the problem:
I successfully passed step 1,2,3 but failed on step 4, the error message was:
status: 400 message: UnsupportedException: The properties [config/mdss] specified in the request
or predicate are not supported for the resource type Cluster.
Then I chose to skip step 4 but on step 6 I failed again, the error message was:
status: 400 message: Invalid desired state only INIT state allowed during creation, providedDesiredState
I'm wondering if anyone on this list has successfully add service to ambari, if so please
show me some tips on it?

          Ying Zhu

At 2013-07-04 02:24:40,"Satish Abburi" <> wrote:

Hi Ying, are you able to successfully add a custom service to Ambari stack and install/configure
this? We also have the similar requirement and seeing some null pointers…any tips are appreciated.


On Tue, Jul 2, 2013 at 11:08 PM, Mahadev Konar <> wrote:
Hi Ying,
 Thanks for looking into Ambari. On the monitoring side the doc is a little incomplete. You
can take a look at how hadoop works and you can replicate it with the service you are adding
for now unless Sid/Tom have sometime to update the doc.


On Tue, Jul 2, 2013 at 5:38 AM, YingZhu <> wrote:

Hello list,
      I'm working on adding new services to Ambari stack according to this guide
But unfortunately it lacks the steps about how to enable monitoring capabilities for the newly
added services using 
ganglia. Is there any clue on how can I do this? Thanks in advance.

Ying Zhu

View raw message