ambari-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Levas <>
Subject Re: how to automate kerberos using REST API
Date Thu, 07 Jan 2016 19:47:57 GMT
Hi Fay…

I think that data is outdated… You should follow the instructions at


From: Fay Wang <<>>
Reply-To: "<>" <<>>,
Fay Wang <<>>
Date: Thursday, January 7, 2016 at 2:42 PM
To: "<>" <<>>
Subject: how to automate kerberos using REST API

     I need to automate kerberos on my cluster using REST API. Following the document attached
in AMBARI-7204 to register and kerberize the cluster, I got the error below:

(1) curl -u admin:admin -H "X-Requested-By: ambari" -X POST -d /tmp/kerberos_plan.json http://localhost:8081/api/v1/kerberos/MyKerberos

(2) curl -u admin:admin -H 'X-Requested-By: ambari' -X PUT -d {"RequestInfo":{"context":"Enable
kerberos"},"Body":{"kerberos-enabled":"true", "kerberos-plan":"EHaasKerberos"}}' http://localhost:8081/api/v1/clusters/MyCluster

  "status" : 400,
  "message" : "org.apache.ambari.server.controller.spi.UnsupportedPropertyException: The properties
[kerberos-enabled, kerberos-plan] specified in the request or predicate are not supported
for the resource type Cluster."

Any help is highly appreciated!



View raw message