<?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: Howto use CM API to reset values from standard configuration/distribution? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Howto-use-CM-API-to-reset-values-from-standard-configuration/m-p/45841#M42298</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Perform the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. SSH to your instance of Cloudera Manager.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. After the proper modifications, enter the following command:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;curl -X PUT -H "Content-Type:application/json" -u admin:admin -d '{ "items": [ { "name": "hbase_regionserver_msginterval", "value": "25" } ] }' 'http://localhost:7180/api/v10/clusters/Cluster%201/services/HBASE-1/roleConfigGroups/HBASE-1-REGIONSERVER-BASE/config'&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Proper modifications:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- If your credentials are not "admin:admin," then replace "admin:admin" with the credentials you are using.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- If your cluster name is not "Cluster 1," &amp;nbsp;then change "Cluster%201" to the name of your cluster. &amp;nbsp;If you don't know the name of your cluster, issue the following command:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;curl -u admin:admin 'http://localhost:7180/api/v10/clusters'&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- If your HBASE service name is not "HBASE-1," then change it to the name you are using. &amp;nbsp; If you do not know the name of your HBASE service, issue the following command:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;curl -u admin:admin 'http://localhost:7180/api/v10/clusters/Cluster%201/services' | grep displayName&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- If your RoleConfigGroupName is not "HBASE-1-REGIONSERVER-BASE," then change it to the name you are using. &amp;nbsp;If you do not know your RoleConfigGroupName, then enter the following command:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;curl -u admin:admin 'http://localhost:7180/api/v10/clusters/Cluster%201/services/HBASE-1/roleConfigGroups' | grep name&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. Go to the home page of Cloudera Manager. &amp;nbsp;On the page, you should see a stale configuration icon next to the HBASE service. &amp;nbsp;Click the icon to refresh the configuration.&lt;/P&gt;</description>
    <pubDate>Sun, 02 Oct 2016 02:01:30 GMT</pubDate>
    <dc:creator>rufusayeni</dc:creator>
    <dc:date>2016-10-02T02:01:30Z</dc:date>
    <item>
      <title>Howto use CM API to reset values from standard configuration/distribution?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Howto-use-CM-API-to-reset-values-from-standard-configuration/m-p/45766#M42297</link>
      <description>&lt;P&gt;Having configured a base system on AWS with CM, I want to programtically update the environment - hoefully through the use of the configuration file, to update specific paramaters.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found the API relevant names, example, hbase_regionserver_msginterval and want to change this from the default to 25.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How is this to be done?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 10:42:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Howto-use-CM-API-to-reset-values-from-standard-configuration/m-p/45766#M42297</guid>
      <dc:creator>jnlkds</dc:creator>
      <dc:date>2022-09-16T10:42:23Z</dc:date>
    </item>
    <item>
      <title>Re: Howto use CM API to reset values from standard configuration/distribution?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Howto-use-CM-API-to-reset-values-from-standard-configuration/m-p/45841#M42298</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Perform the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. SSH to your instance of Cloudera Manager.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. After the proper modifications, enter the following command:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;curl -X PUT -H "Content-Type:application/json" -u admin:admin -d '{ "items": [ { "name": "hbase_regionserver_msginterval", "value": "25" } ] }' 'http://localhost:7180/api/v10/clusters/Cluster%201/services/HBASE-1/roleConfigGroups/HBASE-1-REGIONSERVER-BASE/config'&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Proper modifications:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- If your credentials are not "admin:admin," then replace "admin:admin" with the credentials you are using.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- If your cluster name is not "Cluster 1," &amp;nbsp;then change "Cluster%201" to the name of your cluster. &amp;nbsp;If you don't know the name of your cluster, issue the following command:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;curl -u admin:admin 'http://localhost:7180/api/v10/clusters'&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- If your HBASE service name is not "HBASE-1," then change it to the name you are using. &amp;nbsp; If you do not know the name of your HBASE service, issue the following command:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;curl -u admin:admin 'http://localhost:7180/api/v10/clusters/Cluster%201/services' | grep displayName&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- If your RoleConfigGroupName is not "HBASE-1-REGIONSERVER-BASE," then change it to the name you are using. &amp;nbsp;If you do not know your RoleConfigGroupName, then enter the following command:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;curl -u admin:admin 'http://localhost:7180/api/v10/clusters/Cluster%201/services/HBASE-1/roleConfigGroups' | grep name&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. Go to the home page of Cloudera Manager. &amp;nbsp;On the page, you should see a stale configuration icon next to the HBASE service. &amp;nbsp;Click the icon to refresh the configuration.&lt;/P&gt;</description>
      <pubDate>Sun, 02 Oct 2016 02:01:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Howto-use-CM-API-to-reset-values-from-standard-configuration/m-p/45841#M42298</guid>
      <dc:creator>rufusayeni</dc:creator>
      <dc:date>2016-10-02T02:01:30Z</dc:date>
    </item>
    <item>
      <title>Re: Howto use CM API to reset values from standard configuration/distribution?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Howto-use-CM-API-to-reset-values-from-standard-configuration/m-p/45852#M42299</link>
      <description>Curious.. can't we set the values for Hbase, HDFS, etc using the configuration file with the "Configs {} section after we identify the services?</description>
      <pubDate>Sun, 02 Oct 2016 12:35:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Howto-use-CM-API-to-reset-values-from-standard-configuration/m-p/45852#M42299</guid>
      <dc:creator>jnlkds</dc:creator>
      <dc:date>2016-10-02T12:35:32Z</dc:date>
    </item>
  </channel>
</rss>

