Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

how to debug rest API command

how to debug rest API command

hi,

we want to install the GRAPHITE service on ambari cluster as the follwing

seems that API is succeeded but actually the GRAPHITE service in ambari cluster is with yellow state and not installed

how we can understand what was the problem during API and why GRAFHITE not installed ?

by the way when we installed the GRAPHITE service VIA Ambari GUI then its succeeded

curl -u  admin:admin   -H "X-Requested-By:ambari" -i -X PUT -d '{"ServiceInfo": {"state" : "INSTALLED"}}' http://126.23.4.78:8080/api/v1/clusters/HDP100/services/GRAPHITE


HTTP/1.1 200 OK
X-Frame-Options: DENY
X-XSS-Protection: 1; mode=block X-Content-Type-Options: nosniff Cache-Control: no-store
Pragma: no-cache
Set-Cookie: AMBARISESSIONID=15ghx4z6cch0o1xc3szshkah0q;Path=/;HttpOnly
Expires: Thu, 01 Jan 1970 00:00:00 GMT User: admin
Content-Type: text/plain Content-Length: 0
Server: Jetty(8.1.19.v20160209)
Michael-Bronson