André Kelpe created HADOOP-9923:
-----------------------------------
Summary: yarn staging area on hdfs has wrong permission and is
created by the wrong user
Key: HADOOP-9923
URL: https://issues.apache.org/jira/browse/HADOOP-9923
Project: Hadoop Common
Issue Type: Bug
Affects Versions: 2.1.0-beta
Reporter: André Kelpe
I am setting up a cluster with hadoop 2.1-beta that consists of the following
components:
master: runs the namenode, the resourcemanager and the job history server.
hadoop1, hadoop2, hadoop3: run datanodes and node managers
I created 3 system users for the different components, like explained in the
docs:
hdfs: runs all things hdfs
yarn: runs all things yarn
mapred: runs the job history server
If I now boot up the cluster, I cannot submit jobs since the yarn staging area
permissions do not allow it.
What I found out is, that the job-history-server is creating the staging
directory while starting. This first of all causes it to be owned by the wrong
user (mapred) and having the wrong permision (770). The docs are not really
clear if I am supposed to start hdfs first, then create the staging area by
hand and then start the job-history-server or if this is supposed to happen
automatically by itself.
In any case, either the docs should be updated or the job-history-server should
not create the directory.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira