org.apache.hadoop.security.AccessControlException: Permission denied at org.apache.hadoop.hdfs.server.namenode.FSPermissio nChecker.checkOwner(FSPermissionChecker.java:201) at org.apache.hadoop.hdfs.server.namenode.FSPermissio nChecker.checkPermission(FSPermissionChecker.java: 191) at org.apache.hadoop.hdfs.server.namenode.FSNamesyste m.checkPermission(FSNamesystem.java:5607) at org.apache.hadoop.hdfs.server.namenode.FSNamesyste m.checkPermission(FSNamesystem.java:5589) at org.apache.hadoop.hdfs.server.namenode.FSNamesyste m.checkOwner(FSNamesystem.java:5545) at org.apache.hadoop.hdfs.server.namenode.FSNamesyste m.setPermissionInt(FSNamesystem.java:1559) at org.apache.hadoop.hdfs.server.namenode.FSNamesyste m.setPermission(FSNamesystem.java:1540) at org.apache.hadoop.hdfs.server.namenode.NameNodeRpc Server.setPermission(NameNodeRpcServer.java:542) at org.apache.hadoop.hdfs.protocolPB.ClientNamenodePr otocolServerSideTranslatorPB.setPermission(ClientN amenodeProtocolServerSideTranslatorPB.java:401) at org.apache.hadoop.hdfs.protocol.proto.ClientNameno deProtocolProtos$ClientNamenodeProtocol$2.callBloc kingMethod(ClientNamenodeProtocolProtos.java)

cloudera.com | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Permissions issue writing to managed Hive partitio... - Cloudera Community

    cloudera.com | 7 months ago
    org.apache.hadoop.security.AccessControlException: Permission denied at org.apache.hadoop.hdfs.server.namenode.FSPermissio nChecker.checkOwner(FSPermissionChecker.java:201) at org.apache.hadoop.hdfs.server.namenode.FSPermissio nChecker.checkPermission(FSPermissionChecker.java: 191) at org.apache.hadoop.hdfs.server.namenode.FSNamesyste m.checkPermission(FSNamesystem.java:5607) at org.apache.hadoop.hdfs.server.namenode.FSNamesyste m.checkPermission(FSNamesystem.java:5589) at org.apache.hadoop.hdfs.server.namenode.FSNamesyste m.checkOwner(FSNamesystem.java:5545) at org.apache.hadoop.hdfs.server.namenode.FSNamesyste m.setPermissionInt(FSNamesystem.java:1559) at org.apache.hadoop.hdfs.server.namenode.FSNamesyste m.setPermission(FSNamesystem.java:1540) at org.apache.hadoop.hdfs.server.namenode.NameNodeRpc Server.setPermission(NameNodeRpcServer.java:542) at org.apache.hadoop.hdfs.protocolPB.ClientNamenodePr otocolServerSideTranslatorPB.setPermission(ClientN amenodeProtocolServerSideTranslatorPB.java:401) at org.apache.hadoop.hdfs.protocol.proto.ClientNameno deProtocolProtos$ClientNamenodeProtocol$2.callBloc kingMethod(ClientNamenodeProtocolProtos.java)
  2. 0

    Combining HBase and HDFS results in Exception in makeDirOnFileSystem

    Stack Overflow | 3 years ago | 185140777
    org.apache.hadoop.security.AccessControlException: Permission denied: user=hbase, access=WRITE, inode="/":vagrant:supergroup:drwxr-xr-x at org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.check(FSPe rmissionChecker.java:224) at org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.check(FSPe rmissionChecker.java:204) at org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.checkPermi ssion(FSPermissionChecker.java:149) at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.checkPermission(F SNamesystem.java:4891) at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.checkPermission(F SNamesystem.java:4873) at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.checkAncestorAcce ss(FSNamesystem.java:4847) at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.mkdirsInternal(FS Namesystem.java:3192) at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.mkdirsInt(FSNames ystem.java:3156) at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.mkdirs(FSNamesyst em.java:3137) at org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.mkdirs(NameN odeRpcServer.java:669) at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTra nslatorPB.mkdirs(ClientNamenodeProtocolServerSideTranslatorPB.java:419) at org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$Cl ientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.java:4497 0)
  3. 0

    Caused by: org.apache.hadoop.security.AccessControlException: Permission denied: user=root, access=WRITE, inode="/user":hdfs:supergroup:drwxr-xr-x - Grokbase

    grokbase.com | 8 months ago
    org.apache.hadoop.security.AccessControlException: Permission denied: user=mapred, access=WRITE, inode="/":hdfs:supergroup:drwxr-xr-x at org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.check(FSPermissionChecker.java:205) at org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.check(FSPermissionChecker.java:186) at org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.checkPermission(FSPermissionChecker.java:135) at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.checkPermission(FSNamesystem.java:4265) at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.checkAncestorAccess(FSNamesystem.java:4236) at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.mkdirsInternal(FSNamesystem.java:2628) at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.mkdirs(FSNamesystem.java:2592) at org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.mkdirs(NameNodeRpcServer.java:638) at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.mkdirs(ClientNamenodeProtocolServerSideTranslatorPB.java:412) at org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.java:42618) at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:427)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Permission denied: user=hadoop, access=EXECUTE, inode="/user":admin:supergroup:drwx------ - Grokbase

    grokbase.com | 8 months ago
    org.apache.hadoop.security.AccessControlException: Permission denied: user=hadoop, access=EXECUTE, inode="/user":admin:supergroup:drwx------ at org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.check(FSPermissionChecker.java:224) at org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.checkTraverse(FSPermissionChecker.java:177) at org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.checkPermission(FSPermissionChecker.java:142) at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.checkPermission(FSNamesystem.java:4705) at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.checkPermission(FSNamesystem.java:4687) at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.checkOwner(FSNamesystem.java:4643) at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.setPermissionInt(FSNamesystem.java:1179) at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.setPermission(FSNamesystem.java:1159) at org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.setPermission(NameNodeRpcServer.java:475) at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.setPermission(ClientNamenodeProtocolServerSideTranslatorPB.java:255) at org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.java:44948) at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:453)

    Root Cause Analysis

    1. org.apache.hadoop.security.AccessControlException

      Permission denied at org.apache.hadoop.hdfs.server.namenode.FSPermissio nChecker.checkOwner(FSPermissionChecker.java:201) at org.apache.hadoop.hdfs.server.namenode.FSPermissio nChecker.checkPermission(FSPermissionChecker.java: 191) at org.apache.hadoop.hdfs.server.namenode.FSNamesyste m.checkPermission(FSNamesystem.java:5607) at org.apache.hadoop.hdfs.server.namenode.FSNamesyste m.checkPermission(FSNamesystem.java:5589) at org.apache.hadoop.hdfs.server.namenode.FSNamesyste m.checkOwner(FSNamesystem.java:5545) at org.apache.hadoop.hdfs.server.namenode.FSNamesyste m.setPermissionInt(FSNamesystem.java:1559) at org.apache.hadoop.hdfs.server.namenode.FSNamesyste m.setPermission(FSNamesystem.java:1540) at org.apache.hadoop.hdfs.server.namenode.NameNodeRpc Server.setPermission(NameNodeRpcServer.java:542) at org.apache.hadoop.hdfs.protocolPB.ClientNamenodePr otocolServerSideTranslatorPB.setPermission(ClientN amenodeProtocolServerSideTranslatorPB.java:401) at org.apache.hadoop.hdfs.protocol.proto.ClientNameno deProtocolProtos$ClientNamenodeProtocol$2.callBloc kingMethod(ClientNamenodeProtocolProtos.java)

      at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call()
    2. Hadoop
      Server$Handler$1.run
      1. org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:585)
      2. org.apache.hadoop.ipc.RPC$Server.call(RPC.java:1026)
      3. org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1986)
      4. org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1982)
      4 frames
    3. Java RT
      Subject.doAs
      1. java.security.AccessController.doPrivileged(Native Method)
      2. javax.security.auth.Subject.doAs(Subject.java:415)
      2 frames