Using the Cloudera Manager API to Set Advanced Configuration Snippets
(Safety Valves)
You can use the Cloudera Manager API to set service configuration
properties.
You must have network access to the Cloudera Manager Admin
Console.
Find the name of the configuration property.
Go to the Cloudera Manager Configuration Property
Reference and navigate to the page for the Cloudera
Runtime version and service you want to configure.
Search through the page for the Advanced Configuration
Snippet property.
Copy the value of the API Name.
Log into a host with network access to the Cloudera Manager Admin
Console using ssh, and run the following command:
The following command changes the value of the HDFS
Replication Environment Advanced Configuration Snippet (Safety
Valve) in the HDFS-1 service in Cluster 1 to
test=2: