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.

Unsupported or invalid service in stack using ambari REST API

Unsupported or invalid service in stack using ambari REST API

New Contributor

While I am trying to add a service using ambari REST API, I am getting the error as [{ "status" : 400, "message" : "Unsupported or invalid service in stack, clusterName=clustername, serviceName=MNM Service, stackInfo=HDP-9.8" }]

2 REPLIES 2

Re: Unsupported or invalid service in stack using ambari REST API

Super Mentor
@N S

Looks like you are trying to deploy your "Custom Servicve" MNM Service.

Also the strange thing i see in the output is "stackInfo=HDP-9.8" What is 9.8? From where did you get this information?

Looks like your Custom Service "MNM Service" has some issue. As I do not see any such Stack "HDP-9.8" (the latest HDP stack version is 3.1)

The Stack version in your case seems to be abnormal ? From where did you get this ?

Can you please share the complete "ambari-server.log" and the Operational Log where yoiu see the complete failure?

Also please share the output of the following dir:

# ls -l /var/lib/ambari-server/resources/stacks/HDP/
total 8
drwxr-xr-x. 4 root root   82 Jan 13 23:44 2.0
drwxr-xr-x. 6 root root 4096 Jan 13 23:44 2.0.6
drwxr-xr-x. 4 root root   82 Jan 13 23:44 2.0.6.GlusterFS
drwxr-xr-x. 5 root root   99 Jan 13 23:44 2.1
drwxr-xr-x. 5 root root   99 Jan 13 23:44 2.1.GlusterFS
drwxr-xr-x. 5 root root  102 Jan 13 23:44 2.2
drwxr-xr-x. 5 root root   97 Jan 13 23:44 2.3
drwxr-xr-x. 4 root root   82 Jan 13 23:44 2.3.ECS
drwxr-xr-x. 5 root root  102 Jan 13 23:44 2.3.GlusterFS
drwxr-xr-x. 5 root root   97 Jan 13 23:44 2.4
drwxr-xr-x. 5 root root   97 Jan 13 23:44 2.5
drwxr-xr-x. 5 root root  100 Jan 13 23:44 2.6
drwxr-xr-x. 7 root root 4096 Jan 13 23:44 3.0
drwxr-xr-x. 5 root root   67 Jan 14 00:28 3.1

.

Highlighted

Re: Unsupported or invalid service in stack using ambari REST API

New Contributor

Hi Jey

I wanted to delete my Hortonworks community account immediately.

How to contact site admin.

Pls help

Thanks

Don't have an account?
Coming from Hortonworks? Activate your account here