Created 10-19-2017 11:19 AM
Hello -
I am trying to run the hdfs dfsadmin -fetchImage command to get a back up of our Namenode.
It is failing similar to this thread ->
http://community.cloudera.com/t5/CDH-Manual-Installation/Backing-up-Namenode-FSImage/m-p/27268#M727
In that post, there is the suggestion below...about adding users to the dfs.cluster.adminstrators property (see snippet below).
We are on CM 5.11 and I am not finding this property. Does anyone know how to set it? Or, do i have to just update some config ini/xml file?
Thanks...d
=== from link ===
In clusters managed by Cloudera Manager 5.x, the property is set to "hdfs" by default. So if this command is run as the hdfs user on any node on the cluster, the command will succeed.
You can try setting dfs.cluster.administrators to the list of users and groups who are allowed to perform this operation and then try again. It will require a restart of the Namenode(s) to take effect.
<property>
<name>dfs.cluster.administrators</name>
<value>user1,user2,user3 group1,group2,group3</value>
</property>
Created 10-19-2017 11:39 AM
Created 10-19-2017 11:39 AM
Created 10-19-2017 01:00 PM
Thanks so much for the help.
That worked. I was able to get the backup of the fsimage.