<?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: How to add hdfs property using cm rest api in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-add-hdfs-property-using-cm-rest-api/m-p/41639#M30329</link>
    <description>Always better to have one Q per topic, for easy searchability/context. But in any case, YARN service in CM also includes MR2 properties. The page at &lt;A href="http://www.cloudera.com/documentation/enterprise/latest/topics/cm_props_cdh570_yarn_mr2included_.html" target="_blank"&gt;http://www.cloudera.com/documentation/enterprise/latest/topics/cm_props_cdh570_yarn_mr2included_.html&lt;/A&gt; lists all available CM configs for YARN+MR2 service.&lt;BR /&gt;&lt;BR /&gt;You are looking for the config in CM named "mapreduce_application_classpath" with default value '$HADOOP_MAPRED_HOME/*, $HADOOP_MAPRED_HOME/lib/*, $MR2_CLASSPATH'?</description>
    <pubDate>Fri, 03 Jun 2016 08:42:50 GMT</pubDate>
    <dc:creator>Harsh J</dc:creator>
    <dc:date>2016-06-03T08:42:50Z</dc:date>
    <item>
      <title>How to add hdfs property using cm rest api</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-add-hdfs-property-using-cm-rest-api/m-p/41513#M30324</link>
      <description>&lt;P&gt;We need to add proxyuser properties to hdfs-site.xml during installation of our product.&lt;/P&gt;&lt;P&gt;CM REST API allows only update of existing property.&lt;/P&gt;&lt;P&gt;Does anyone know how to add property without GUI?&lt;/P&gt;&lt;P&gt;I tried the gollowing statement, but it fails:&lt;/P&gt;&lt;P&gt;curl -iv -X PUT -H "Content-Type:application/json" -H "Accept:application/json" -d '{"items":[{ "name": "ztsps_hadoop_proxyuser_groups_list","value": "*", "required": false, "default": "*", "displayName": "PS Proxy User Hosts", "description" : "PS user groups", "relatedName": "hadoop.proxyuser.ztsps.groups", "validationState" : "OK", "validationWarningsSuppressed" : false}]}' &lt;A href="http://admin:admin@10.1.0.1:7180/api/v12/clusters/cluster/services/hdfs/config" target="_blank"&gt;http://admin:admin@10.1.0.1:7180/api/v12/clusters/cluster/services/hdfs/config&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It returns:&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"message" : "Unknown configuration attribute 'ztsps_hadoop_proxyuser_groups_list'."&lt;BR /&gt;* Connection #0 to host 10.1.0.1 left intact&lt;BR /&gt;* Closing connection #0&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help will be greatly appreciated,&lt;/P&gt;&lt;P&gt;Igor Kiselev.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 10:22:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-add-hdfs-property-using-cm-rest-api/m-p/41513#M30324</guid>
      <dc:creator>ikiselev</dc:creator>
      <dc:date>2022-09-16T10:22:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to add hdfs property using cm rest api</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-add-hdfs-property-using-cm-rest-api/m-p/41576#M30325</link>
      <description>Any non-defined property would need to be added verbatim (in XML property tag form) to the Advanced Configuration Snippets. In your case you need to add the entry into the HDFS config fields named "Cluster-wide Advanced Configuration Snippet (Safety Valve) for core-site.xml", i.e. CM name "core_site_safety_valve" [1].&lt;BR /&gt;&lt;BR /&gt;[1] - &lt;A href="http://www.cloudera.com/documentation/enterprise/latest/topics/cm_props_cdh570_hdfs.html" target="_blank"&gt;http://www.cloudera.com/documentation/enterprise/latest/topics/cm_props_cdh570_hdfs.html&lt;/A&gt;</description>
      <pubDate>Thu, 02 Jun 2016 07:49:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-add-hdfs-property-using-cm-rest-api/m-p/41576#M30325</guid>
      <dc:creator>Harsh J</dc:creator>
      <dc:date>2016-06-02T07:49:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to add hdfs property using cm rest api</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-add-hdfs-property-using-cm-rest-api/m-p/41615#M30326</link>
      <description>&lt;P&gt;Harsh,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you very much for your response. I looked at the doc and it instructs how to add property through GUI.&lt;/P&gt;&lt;P&gt;We are looking for command line capability. Does it exist? Anything, REST API or some script(Ambari has one)?&lt;/P&gt;&lt;P&gt;Please, let me know even if the only way is GUI. I would need to rethink our approach, if Cloudera does not provide command line capability to add properties.&lt;/P&gt;&lt;P&gt;I will really appreciate your answer, since it will spare me from fruitless research attemts and will save me time.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Igor Kiselev.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jun 2016 19:56:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-add-hdfs-property-using-cm-rest-api/m-p/41615#M30326</guid>
      <dc:creator>ikiselev</dc:creator>
      <dc:date>2016-06-02T19:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to add hdfs property using cm rest api</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-add-hdfs-property-using-cm-rest-api/m-p/41625#M30327</link>
      <description>Apologies if the post was ambiguous. I was speaking on the API lines, in that you need to add it in XML form into that quoted field name, rather than try to add a new property name that it won't accept (your original curl).&lt;BR /&gt;&lt;BR /&gt;You require to do something like this (notice the name of the config being the safety valve described earlier, and that the value is in XML form with the contents of what you are trying to add in):&lt;BR /&gt;&lt;BR /&gt;curl -iv -X PUT -H "Content-Type:application/json" -H "Accept:application/json" -d '{"items":[{ "name": "core_site_safety_valve","value": "&amp;lt;property&amp;gt;&amp;lt;name&amp;gt;hadoop.proxyuser.ztsps.users&amp;lt;/name&amp;gt;&amp;lt;value&amp;gt;*&amp;lt;/value&amp;gt;&amp;lt;/property&amp;gt;&amp;lt;property&amp;gt;&amp;lt;name&amp;gt;hadoop.proxyuser.ztsps.groups&amp;lt;/name&amp;gt;&amp;lt;value&amp;gt;*&amp;lt;/value&amp;gt;&amp;lt;/property&amp;gt;"}]}' http://admin:admin@10.1.0.1:7180/api/v12/clusters/cluster/services/hdfs/config</description>
      <pubDate>Fri, 03 Jun 2016 00:08:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-add-hdfs-property-using-cm-rest-api/m-p/41625#M30327</guid>
      <dc:creator>Harsh J</dc:creator>
      <dc:date>2016-06-03T00:08:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to add hdfs property using cm rest api</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-add-hdfs-property-using-cm-rest-api/m-p/41635#M30328</link>
      <description>&lt;P&gt;Harsh,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you very much. I was glad to find out after reading your response that solution that I came to right one while waiting for the response.&lt;/P&gt;&lt;P&gt;May I ask you another question. I also need to modify value of&amp;nbsp;&lt;SPAN&gt;mapreduce.application.&lt;/SPAN&gt;&lt;SPAN&gt;classpath property. It is in mapred-site.xml. I cannot find API ways to do this. I cannot even retrieve any mapred properties with API. There is no mapred service. Only yarn.&amp;nbsp;Could you, please, help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Or should I open another topic?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Igor Kiselev.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jun 2016 07:33:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-add-hdfs-property-using-cm-rest-api/m-p/41635#M30328</guid>
      <dc:creator>ikiselev</dc:creator>
      <dc:date>2016-06-03T07:33:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to add hdfs property using cm rest api</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-add-hdfs-property-using-cm-rest-api/m-p/41639#M30329</link>
      <description>Always better to have one Q per topic, for easy searchability/context. But in any case, YARN service in CM also includes MR2 properties. The page at &lt;A href="http://www.cloudera.com/documentation/enterprise/latest/topics/cm_props_cdh570_yarn_mr2included_.html" target="_blank"&gt;http://www.cloudera.com/documentation/enterprise/latest/topics/cm_props_cdh570_yarn_mr2included_.html&lt;/A&gt; lists all available CM configs for YARN+MR2 service.&lt;BR /&gt;&lt;BR /&gt;You are looking for the config in CM named "mapreduce_application_classpath" with default value '$HADOOP_MAPRED_HOME/*, $HADOOP_MAPRED_HOME/lib/*, $MR2_CLASSPATH'?</description>
      <pubDate>Fri, 03 Jun 2016 08:42:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-add-hdfs-property-using-cm-rest-api/m-p/41639#M30329</guid>
      <dc:creator>Harsh J</dc:creator>
      <dc:date>2016-06-03T08:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to add hdfs property using cm rest api</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-add-hdfs-property-using-cm-rest-api/m-p/41661#M30330</link>
      <description>&lt;P&gt;Harsh,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you again and yes, I am looking for&amp;nbsp;&lt;SPAN&gt;mapreduce_application_classpath. I need to append the value. Unfortunately&amp;nbsp;curl -X GET -i http://admin:admin@10.1.0.1:7180/api/v12/clusters/cluster/services/yarn/config?view=full does not return this property at all. And there is no mapred service.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How I can get and modify this value through API?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;As usual, your answer will be greatly appreaciated. This looks like my last problem.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Igor Kiselev.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jun 2016 18:37:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-add-hdfs-property-using-cm-rest-api/m-p/41661#M30330</guid>
      <dc:creator>ikiselev</dc:creator>
      <dc:date>2016-06-03T18:37:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to add hdfs property using cm rest api</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-add-hdfs-property-using-cm-rest-api/m-p/41714#M30331</link>
      <description>This is certainly interesting and I can reproduce it.&lt;BR /&gt;&lt;BR /&gt;I do find that if I query the GATEWAY role directly it shows up the MR2 configs. Given that MR2 is a purely GATEWAY + JOBHISTORYSERVER aspect in YARN, this would make sense, but I agree the service-level exhaustive config ought to show it too, and I'll report this internally to see what's up and if it can be changed to show the values in the future.&lt;BR /&gt;&lt;BR /&gt;Something such as the below would work in the meantime:&lt;BR /&gt;&lt;BR /&gt;curl -k -iv -X GET 'http://admin:admin@HOST:7180/api/v12/clusters/cluster/services/yarn/roles/YARN-GATEWAY-1/config?view=full'&lt;BR /&gt;&lt;BR /&gt;You can grab your gateway rolename from the services/yarn/roles endpoint first, in case its something custom. In my example above the rolename was "YARN-GATEWAY-1".</description>
      <pubDate>Mon, 06 Jun 2016 15:42:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-add-hdfs-property-using-cm-rest-api/m-p/41714#M30331</guid>
      <dc:creator>Harsh J</dc:creator>
      <dc:date>2016-06-06T15:42:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to add hdfs property using cm rest api</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-add-hdfs-property-using-cm-rest-api/m-p/41854#M30332</link>
      <description>&lt;P&gt;Harsh,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you very much for all your help. I found how how to create and use roles through API.&lt;/P&gt;&lt;P&gt;Everything works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Igor Kiselev.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jun 2016 18:10:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-add-hdfs-property-using-cm-rest-api/m-p/41854#M30332</guid>
      <dc:creator>ikiselev</dc:creator>
      <dc:date>2016-06-09T18:10:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to add hdfs property using cm rest api</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-add-hdfs-property-using-cm-rest-api/m-p/41866#M30333</link>
      <description>In checking with CM Engg. internally, it appears I was mistaken in believing that the service/config endpoint was supposed to return *all* configs. Its only designed to emit service config, and the gateway configs which are separately maintained in each service should be gotten from the role group config endpoint instead. This is by design.</description>
      <pubDate>Fri, 10 Jun 2016 07:38:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-add-hdfs-property-using-cm-rest-api/m-p/41866#M30333</guid>
      <dc:creator>Harsh J</dc:creator>
      <dc:date>2016-06-10T07:38:46Z</dc:date>
    </item>
    <item>
      <title>Configure a cluster with the REST API (was: How to add hdfs property using cm rest api)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-add-hdfs-property-using-cm-rest-api/m-p/77657#M30334</link>
      <description>&lt;P&gt;Is there some place where the Cloudera&amp;nbsp; property / configuration grouping is documented for the API?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to set up a script using the RESTful API that can repeatedly, consistently configure a complete Cloudera cluster. For instance, given a cluster with only (say) ten hosts configured but no services (yet), how would I use the API to configure and set up the HDFS NameNode, SecondaryNameNode, DataNodes, Gateway, etc? I can figure out the parameters, but can't figure out how to assign roles.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jul 2018 18:21:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-add-hdfs-property-using-cm-rest-api/m-p/77657#M30334</guid>
      <dc:creator>mikefisch</dc:creator>
      <dc:date>2018-07-27T18:21:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to fetch mapreduce properties using cm rest api</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-add-hdfs-property-using-cm-rest-api/m-p/89920#M30335</link>
      <description>&lt;P&gt;Hi Harsh, In my case, i am trying to fetch all mapreduce related properties. But in the yarn, there is no role of type Gateway for my cluster.&amp;nbsp; So is there any other way to fetch mapreduce properties?&lt;/P&gt;&lt;P&gt;Also if i try to fetch mapreduce-site.xm file from other roles like node manager or resourcemanager, it is just givivng the xml file with 2 properties only:&lt;/P&gt;&lt;P&gt;mapreduce.jobhistory.webapp.address&lt;BR /&gt;mapreduce.jobhistory.webapp.https.address&lt;BR /&gt;Could you please explain what could be the reason for that?&lt;/P&gt;&lt;P&gt;And how can i fetch all the properties.&lt;/P&gt;</description>
      <pubDate>Sun, 05 May 2019 14:31:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-add-hdfs-property-using-cm-rest-api/m-p/89920#M30335</guid>
      <dc:creator>priyanka2</dc:creator>
      <dc:date>2019-05-05T14:31:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to fetch mapreduce properties using cm rest api</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-add-hdfs-property-using-cm-rest-api/m-p/89924#M30336</link>
      <description>&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/33826"&gt;@priyanka2&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;&amp;gt; But in the yarn, there is no role of type Gateway for my cluster.&lt;BR /&gt;&amp;gt; So is there any other way to fetch mapreduce properties?&lt;BR /&gt;&lt;BR /&gt;There may still be a role config group for it. You can use the roleConfigGroups endpoint to access its configs:&lt;BR /&gt;&lt;BR /&gt;Something like `curl -u auth:props -v &lt;A href="http://cm-host.com:7180/api/v15/clusters/MyClusterName/services/YARN-1/roleConfigGroups/YARN-1-GATEWAY-BASE/config?view=full" target="_blank"&gt;http://cm-host.com:7180/api/v15/clusters/MyClusterName/services/YARN-1/roleConfigGroups/YARN-1-GATEWAY-BASE/config?view=full&lt;/A&gt;`&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Could you please explain what could be the reason for that?&lt;BR /&gt;&lt;BR /&gt;The NodeManagers do not require MR client-side properties, just properties related to services it may need to contact and the MR shuffle service plugin configs. The NM is not involved in the MR app-side framework execution, so its mapred-site.xml only carries a subset as you've observed.&lt;BR /&gt;&lt;BR /&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/24719"&gt;@mikefisch&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;IIUC, you are looking for a way to assign roles to specific hosts?&lt;BR /&gt;&lt;BR /&gt;Use the POST call described here, for each service endpoint: &lt;A href="https://cloudera.github.io/cm_api/apidocs/v19/path__clusters_-clusterName-_services_-serviceName-_roles.html" target="_blank"&gt;https://cloudera.github.io/cm_api/apidocs/v19/path__clusters_-clusterName-_services_-serviceName-_roles.html&lt;/A&gt; -- Specifically, the roles list needs a structure that also requires a host reference ID that you can grab from the cluster hosts endpoint prior to this step.&lt;BR /&gt;&lt;BR /&gt;There's a simpler auto-assign feature also available: &lt;A href="https://cloudera.github.io/cm_api/apidocs/v19/path__clusters_-clusterName-_autoAssignRoles.html" target="_blank"&gt;https://cloudera.github.io/cm_api/apidocs/v19/path__clusters_-clusterName-_autoAssignRoles.html&lt;/A&gt;</description>
      <pubDate>Mon, 06 May 2019 01:08:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-add-hdfs-property-using-cm-rest-api/m-p/89924#M30336</guid>
      <dc:creator>Harsh J</dc:creator>
      <dc:date>2019-05-06T01:08:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to fetch mapreduce properties using cm rest api</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-add-hdfs-property-using-cm-rest-api/m-p/89925#M30337</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/213"&gt;@Harsh J&lt;/a&gt;&amp;nbsp; Thanks for the reply. Yes&amp;nbsp;&lt;A href="http://cm-host.com:7180/api/v15/clusters/MyClusterName/services/YARN-1/roleConfigGroups/YARN-1-GATEWAY-BASE/config?view=full" target="_blank"&gt;http://cm-host.com:7180/api/v15/clusters/MyClusterName/services/YARN-1/roleConfigGroups/YARN-1-GATEWAY-BASE/config?view=full&lt;/A&gt;&amp;nbsp;api is giving all the mapreduce properties.&lt;/P&gt;&lt;P&gt;So If i want to fetch all defined mapreduce properties,can i use this Api or it does have any pre-requisites?&lt;/P&gt;&lt;P&gt;By prerequisites i mean, as in my cluster there was no role of gateway type for YARN service, even then using above api is giving me all mapred properties.&lt;/P&gt;&lt;P&gt;Also does it require any privileges to access this api?&lt;/P&gt;</description>
      <pubDate>Mon, 06 May 2019 02:47:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-add-hdfs-property-using-cm-rest-api/m-p/89925#M30337</guid>
      <dc:creator>priyanka2</dc:creator>
      <dc:date>2019-05-06T02:47:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to fetch mapreduce properties using cm rest api</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-add-hdfs-property-using-cm-rest-api/m-p/89926#M30338</link>
      <description>&amp;gt; So If i want to fetch all defined mapreduce properties,can i use this Api&lt;BR /&gt;or it does have any pre-requisites?&lt;BR /&gt;&lt;BR /&gt;Yes you can. The default role group mostly always exists even if role&lt;BR /&gt;instances do not, but if not (such as in a heavily API driven install) you&lt;BR /&gt;can create one before you fetch.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Also does it require any privileges to access this api?&lt;BR /&gt;&lt;BR /&gt;A read-only user should also be able to fetch configs as a GET call over&lt;BR /&gt;API. However, if there are configs marked as secured (such as configs that&lt;BR /&gt;carry passwords, etc.) then the value retrieval will require admin&lt;BR /&gt;privileges - they will otherwise appear redacted.&lt;BR /&gt;</description>
      <pubDate>Mon, 06 May 2019 03:58:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-add-hdfs-property-using-cm-rest-api/m-p/89926#M30338</guid>
      <dc:creator>Harsh J</dc:creator>
      <dc:date>2019-05-06T03:58:44Z</dc:date>
    </item>
  </channel>
</rss>

