ambari-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anisha Agarwal <aagar...@hexiscyber.com>
Subject Error while adding new service to existing cluster
Date Thu, 30 Jan 2014 00:07:58 GMT
Hi,

I am trying to add a new service to an existing cluster, and getting a server error in response.
Any ideas on what I need to fix this? I followed the instructions here : https://cwiki.apache.org/confluence/display/AMBARI/Adding+a+New+Service+to+an+Existing+Cluster

Using this API:
curl -u admin:admin -i -X POST -d '{"ServiceInfo":{"service_name”:”<service_name>"}}'
http://<ambari-server>:8080/api/v1/clusters/<cluster-name>/services

I see this error :
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
<title>Error 500 Server Error</title>
</head>
<body>
<h2>HTTP ERROR: 500</h2>
<p>Problem accessing /api/v1/clusters/c1/services. Reason:
<pre>    Server Error</pre></p>
<hr /><i><small>Powered by Jetty://</small></i>

Attaching a file with the errors I see in the log file.

Thanks,
Anisha

Mime
View raw message