How to set execute permissions on windows

to create new topics or reply. | New User Registration

This topic contains 3 replies, has 3 voices, and was last updated by  Bill Carroll 1 year, 3 months ago.

  • Creator
  • #50736

    Bill Carroll

    Installed HDP 2.0 windows on windows server 2012 successfully and running simple wordcount mapreduce and get an exception from container-launch. Looking at syslog I see I have a FSPermissions check failure on the account, wcarroll, running wordcount. What is the proper configuration to give the user permission on windows? The wcarroll user is a member of HadoopUsers group.

    Application application_1395680080745_0004 failed 2 times due to AM Container for appattempt_1395680080745_0004_000002 exited with exitCode: 1 due to: Exception from container-launch:
    at org.apache.hadoop.util.Shell.runCommand(

    2014-03-28 14:30:51,307 INFO [main] org.apache.hadoop.service.AbstractService: Service JobHistoryEventHandler failed in state INITED; cause: org.apache.hadoop.yarn.exceptions.YarnRuntimeException: Permission denied: user=wcarroll, access=EXECUTE, inode=”/mapred”:hadoop:hdfs:drwxrwx—
    at org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.check(
    at org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.checkTraverse(
    at org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.checkPermission(
    at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.checkPermission(
    at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.checkPermission(
    at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.checkTraverse(
    at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getFileInfo(
    at org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.getFileInfo(
    at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.getFileInfo(
    at org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(
    at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$
    at org.apache.hadoop.ipc.RPC$
    at org.apache.hadoop.ipc.Server$Handler$
    at org.apache.hadoop.ipc.Server$Handler$
    at Method)
    at org.apache.hadoop.ipc.Server$

    org.apache.hadoop.yarn.exceptions.YarnRuntimeException: Permission denied: user=wcarroll, access=EXECUTE, inode=”/mapred”:hadoop:hdfs:drwxrwx—

Viewing 3 replies - 1 through 3 (of 3 total)

You must be to reply to this topic. | Create Account

  • Author
  • #51194

    Bill Carroll

    Thanks everyone! I created a local group named hdfs and added the local user hadoop to it and wordcount ran successful. Would be nice if the install created the group and added the user!


    Vinay Shukla

    Thanks to Timothee for great debugging. You can add a user to a group on Windows as follows.

    net localgroup group_name UserLoginName /add


    Timothee Gautheron

    Hi Bill, i’m just another HDP user, but maybe I can help you with this.

    You said “The wcaroll user is a member of HadoopUsers group” , okay, but by default this group is “hadoop” right ? Browsing you log, i saw that the folder you are trying to use with your “wcaroll” user is under this acl : ”/mapred”:hadoop:hdfs:drwxrwx—
    Meaning “hadoop” is the user, “hdfs” is the group. So of course “wcaroll” cannot access it, and since the default group is not set here you cannot access it through the group either.

    Juste my 2cents.

Viewing 3 replies - 1 through 3 (of 3 total)
Hortonworks Data Platform
The Hortonworks Data Platform is a 100% open source distribution of Apache Hadoop that is truly enterprise grade having been built, tested and hardened with enterprise rigor.
Get started with Sandbox
Hortonworks Sandbox is a self-contained virtual machine with Apache Hadoop pre-configured alongside a set of hands-on, step-by-step Hadoop tutorials.
Modern Data Architecture
Tackle the challenges of big data. Hadoop integrates with existing EDW, RDBMS and MPP systems to deliver lower cost, higher capacity infrastructure.