Support Questions
Find answers, ask questions, and share your expertise

Editing hdfs-default.xml in HDP cluster using ambari UI

Explorer

I have a HBase cluster built using Hortonworks Data Platform 2.6.1 and I want to edit some properties in hdfs-default.xml.

I actually want to do the changes mentioned in this link.

Can we edit hdfs-default.xml using ambari UI?

If we edit the file manually in all nodes which services do we need to restart?

2 REPLIES 2

Hello @Thanuja Kularathna !
Did you try to add these properties in Custom HDFS-site?
You can do it by going to:
Ambari > HDFS > Config > Advanced > Custom hdfs-site > Go to the bottom of the Custom hdfs-site and Add Property
And then save the new properties added and restart the service.
Hope this helps!

Contributor

@Thanuja Kularathna

Making changes from backend is not recommended if you are using ambari managed cluster. However if you still want to do it, there is no need of restarting any service, but whenever you restart hdfs service from Ambari all your changes will be replaced by the configurations you see in Ambari UI.