Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 03-19-2014 10:02 PM
Hi Graham,
This is a service-level property of HDFS. The rest endpoint to find it looks like this:
http://<cm_host>:7180/api/v5/clusters/<cluster_name>/services/<hdfs_service_hame>/config?view=full
To modify it using the python api, get a handle to the HDFS service and call hdfs.update_config({"core_site_safety_valve": core_site_safety_valve_value }).
See more on using the python API here:
http://cloudera.github.io/cm_api/docs/python-client/
Thanks,
Darren