Support Questions
Find answers, ask questions, and share your expertise
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Who agreed with this solution

Re: Cluster-wide Configuration Safety Valve for core-site.xml using python script and Cloudera API

Hi Graham,


This is a service-level property of HDFS. The rest endpoint to find it looks like this:



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:




View solution in original post

Who agreed with this solution