Member since
11-09-2020
2
Posts
0
Kudos Received
0
Solutions
11-10-2020
05:07 AM
Since we added components for 2 hosts i was geting this error
... View more
11-09-2020
03:03 AM
Hi Team, I am trying to move mapreduce history server to another instance using curl command . curl -u admin:admin -H "X-Requested-By:ambari" -i -X POST -d '{ "Credential" : { "principal" : "<orincipal", "key" : "<keyadmin>", "type" : "persisted" } }' '{RequestInfo":{"context":"Install MapReduce "}, "Body":{"HostRoles":{"state":"INSTALLED"}}}' 'http://node1:8080/api/v1/clusters/<clustername>/services/MAPREDUCE2'. Unfortunately I am getting below error:: curl: (3) [globbing] nested braces not supported at pos 16 HTTP/1.1 400 Bad Request 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=1djqii0d05hby3zpi0xa3v9l8;Path=/;HttpOnly Expires: Thu, 01 Jan 1970 00:00:00 GMT User: admin Content-Type: text/plain Content-Length: 195 { "status" : 400, "message" : "The properties [Credential/key, Credential/type, Credential/principal] specified in the request or predicate are not supported for the resource type Service." } Where I am going wrong . Apacahe ambari -2.6.1.2
... View more
Labels:
- Labels:
-
Apache Ambari
-
Apache Hadoop
-
MapReduce