- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Namenode backup help
- Labels:
-
HDFS
Created ‎10-19-2017 11:19 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
'NameNode Advanced Configuration Snippet (Safety Valve) for hdfs-site.xml'
field.
For more on what the 'Advanced Configuration Snippet' / 'Safety Valve'
fields are:
https://www.cloudera.com/documentation/enterprise/latest/topics/cm_mc_config_snippet.html#xd_583c10b...
Created ‎10-19-2017 11:39 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
'NameNode Advanced Configuration Snippet (Safety Valve) for hdfs-site.xml'
field.
For more on what the 'Advanced Configuration Snippet' / 'Safety Valve'
fields are:
https://www.cloudera.com/documentation/enterprise/latest/topics/cm_mc_config_snippet.html#xd_583c10b...
Created ‎10-19-2017 01:00 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks so much for the help.
That worked. I was able to get the backup of the fsimage.
