Member since
10-29-2014
3
Posts
1
Kudos Received
0
Solutions
05-11-2015
07:48 AM
Hi all, I'm trying to backup fsimage on a secure cluster with the -fetchImage command. I want to execute it without using hdfs user, but with an administrative user(adminUser) which belongs to hdfs' supergroup (dfs.permissions.supergroup, dfs.permissions.superusergroup = supergroup) adminUser is local to the machine. When I try the command: kinit adminUser hdfs dfsadmin -fetchImage /backup_folder I obtain the following error: 15/05/11 16:38:42 WARN security.UserGroupInformation: PriviledgedActionException as:adminUser@<DOMAIN.LOCAL> (auth:KERBEROS) cause:org.apache.hadoop.hdfs.server.namenode.TransferFsImage$HttpGetFailedException: Image transfer servlet at http://<namenode>:50070/imagetransfer?getimage=1&txid=latest failed with status code 403 Response message: Only Namenode, Secondary Namenode, and administrators may access this servlet fetchImage: Image transfer servlet at http://<namenode>:50070/imagetransfer?getimage=1&txid=latest failed with status code 403 Response message: Only Namenode, Secondary Namenode, and administrators may access this servlet However, others dfsadmin commands (like -report) work fine with adminUser. Thanks in advance
... View more
Labels:
- Labels:
-
Apache Hadoop
-
HDFS
-
Kerberos
-
Security