Skip to main content
Srinivas-M
Silver ⭐️⭐️
September 6, 2023
Solved

How to add custom properties for hadoop.proxyuser. in CDP 7.1.x

I have a requirement to add custom user for allowing impersonation. I can see that CDH 6.3 documentation has some references to it. However, I could not see how I can add similar entries through Cloudera Manager in CDP 7.x. Can someone help with that information ?

Essentially, I would like to add the entries like this.

 

 

<property>
<name>hadoop.proxyuser.super.hosts</name>
<value>10.222.0.0/16,10.113.221.221</value>
</property>
<property>
<name>hadoop.proxyuser.super.users</name>
<value>user1,user2</value>
</property>

or something like this.

<property>
<name>hadoop.proxyuser.alice.hosts</name>
<value>host_a,host_b</value>
</property>

 

 

Is there a way to achieve the same through Cloudera Manager in CDP 7.x ? I am not sure if I should be editing the core-site.xml on the nodes directly as those were Auto Generated by the Cloudera Manager.

smruti
smrutiAnswer
Gold ⭐️⭐️⭐️
September 30, 2023

@Srinivas-M You may set these properties in a safety valve for core-site.xml.

CM UI > HDFS > Configuration > Cluster-wide Advanced Configuration Snippet (Safety Valve) for core-site.xml

1 reply

smruti
Gold ⭐️⭐️⭐️
smrutiAnswer
Gold ⭐️⭐️⭐️
September 30, 2023

@Srinivas-M You may set these properties in a safety valve for core-site.xml.

CM UI > HDFS > Configuration > Cluster-wide Advanced Configuration Snippet (Safety Valve) for core-site.xml

Translate