<?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 Re: Ho do I restore an old service configratuion via REST API? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ho-do-I-restore-an-old-service-configratuion-via-REST-API/m-p/139189#M52124</link>
    <description>&lt;P&gt;@Neil Watson&lt;/P&gt;&lt;P&gt;You can with following REST API call&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;curl -u admin:admin -H 'X-Requested-By:admin' -X PUT '&amp;lt;a href="http://localhost:8080/api/v1/clusters/cc'"&amp;gt;http://localhost:8080/api/v1/clusters/clustername'&amp;lt;/a&amp;gt; -d '{ "Clusters": { "desired_service_config_versions": { "service_name" : "HDFS", "service_config_version" : 1, "service_config_version_note" : "REST API rollback to service config version 1 (HDFS)" } } }'&lt;/P&gt;&lt;P&gt;In this service_config_version - is the old version you would like to revert to.&lt;/P&gt;</description>
    <pubDate>Sat, 21 Jan 2017 02:53:52 GMT</pubDate>
    <dc:creator>apappu</dc:creator>
    <dc:date>2017-01-21T02:53:52Z</dc:date>
    <item>
      <title>Ho do I restore an old service configratuion via REST API?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ho-do-I-restore-an-old-service-configratuion-via-REST-API/m-p/139188#M52123</link>
      <description>&lt;P&gt;I know how to get service configurations (e.g. /api/v1/clusters/dev15/configurations?type=&amp;lt;service&amp;gt;), but how can I instruct REST to restore an older config to the current config if I know the old config's tag or version?&lt;/P&gt;</description>
      <pubDate>Sat, 21 Jan 2017 02:36:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ho-do-I-restore-an-old-service-configratuion-via-REST-API/m-p/139188#M52123</guid>
      <dc:creator>neil1</dc:creator>
      <dc:date>2017-01-21T02:36:37Z</dc:date>
    </item>
    <item>
      <title>Re: Ho do I restore an old service configratuion via REST API?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ho-do-I-restore-an-old-service-configratuion-via-REST-API/m-p/139189#M52124</link>
      <description>&lt;P&gt;@Neil Watson&lt;/P&gt;&lt;P&gt;You can with following REST API call&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;curl -u admin:admin -H 'X-Requested-By:admin' -X PUT '&amp;lt;a href="http://localhost:8080/api/v1/clusters/cc'"&amp;gt;http://localhost:8080/api/v1/clusters/clustername'&amp;lt;/a&amp;gt; -d '{ "Clusters": { "desired_service_config_versions": { "service_name" : "HDFS", "service_config_version" : 1, "service_config_version_note" : "REST API rollback to service config version 1 (HDFS)" } } }'&lt;/P&gt;&lt;P&gt;In this service_config_version - is the old version you would like to revert to.&lt;/P&gt;</description>
      <pubDate>Sat, 21 Jan 2017 02:53:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ho-do-I-restore-an-old-service-configratuion-via-REST-API/m-p/139189#M52124</guid>
      <dc:creator>apappu</dc:creator>
      <dc:date>2017-01-21T02:53:52Z</dc:date>
    </item>
  </channel>
</rss>

