<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Not able to create jobhsitory server using curl command in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Not-able-to-create-jobhsitory-server-using-curl-command/m-p/305646#M222531</link>
    <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;I am trying to move mapreduce history server to another instance using curl command .&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;curl -u admin:admin -H "X-Requested-By:ambari" -i -X POST -d&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;'{ "Credential" : { "principal" : "&amp;lt;orincipal", "key" : "&amp;lt;keyadmin&amp;gt;", "type" : "persisted" } }' '{RequestInfo":{"context":"Install MapReduce "}, "Body":{"HostRoles":{"state":"INSTALLED"}}}' 'http://node1:8080/api/v1/clusters/&amp;lt;clustername&amp;gt;/services/MAPREDUCE2'.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Unfortunately I am getting below error::&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;curl: (3) [globbing] nested braces not supported at pos 16&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;HTTP/1.1 400 Bad Request&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;X-Frame-Options: DENY&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;X-XSS-Protection: 1; mode=block&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;X-Content-Type-Options: nosniff&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Cache-Control: no-store&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Pragma: no-cache&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Set-Cookie: AMBARISESSIONID=1djqii0d05hby3zpi0xa3v9l8;Path=/;HttpOnly&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Expires: Thu, 01 Jan 1970 00:00:00 GMT&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;User: admin&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Content-Type: text/plain&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Content-Length: 195&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;"status" : 400,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;"message" : "The properties [Credential/key, Credential/type, Credential/principal] specified in the request or predicate are not supported for the resource type Service."&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Where&amp;nbsp; I am going wrong .&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Apacahe ambari -2.6.1.2&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 09 Nov 2020 11:04:51 GMT</pubDate>
    <dc:creator>shilshet</dc:creator>
    <dc:date>2020-11-09T11:04:51Z</dc:date>
  </channel>
</rss>

