Reply
Highlighted
New Contributor
Posts: 5
Registered: ‎10-21-2017

Cloudera Manager API to update yarn gateway configs

I want to update the cloudera manager yarn gateway configs and yarn service-wide configs using cloudera manager python API. Below are the gateway config properties that I am not able to get using API:

1. Gateway Client Environment Advanced Configuration Snippet (Safety Valve) for hadoop-env.sh

2. mapreduce.reduce.java.opts

3. mapreduce.map.java.opts

 

I can't see gateway configs using below script:

yarn = cluster.get_service('yarn')

yarn.get_config(view='full')

 

Is there any way to update these configs using python API.

Announcements