Home Forums Ambari Ambari MAPREDUCE_SERVICE_CHECK

This topic contains 1 reply, has 2 voices, and was last updated by  Koelli Mungee 10 months, 4 weeks ago.

  • Creator
    Topic
  • #25523

    Pal J
    Participant

    I getting below error when I start “MapReduce” service via Ambari. The error occurs during Execute MAPREDUCE_SERVICE_CHECK”
    ERROR security.UserGroupInformation: PriviledgedActionException as:ambari_qa cause:java.io.IOException: The ownership/permissions on the staging directory hdfs://hdpbox:8020/user/ambari_qa/.staging is not as expected.It is owned by ambari_qa and permissions are rwxrwx—. The directory must be owned by the submitter ambari_qa or by ambari_qa and permissions must be rwx——
    Below are permission details of (I haven’t changed any permission after ambary install)
    drwxrwx— – ambari_qa hdfs 0 2013-05-15 09:18 /user/ambari_qa
    drwxrwx— – ambari_qa hdfs 0 2013-05-15 10:00 /user/ambari_qa/.Trash
    drwxrwx— – ambari_qa hdfs 0 2013-04-24 13:17 /user/ambari_qa/.staging
    drwxrwx— – ambari_qa hdfs 0 2013-04-24 13:18 /user/ambari_qa/examples
    drwxrwx— – ambari_qa hdfs 0 2013-04-24 13:19 /user/ambari_qa/input-data
    -rw——- 3 ambari_qa hdfs 2286 2013-05-15 09:18 /user/ambari_qa/mapredsmokeinput
    drwxrwx— – ambari_qa hdfs 0 2013-04-24 13:18 /user/ambari_qa/oozie-oozi
    -rw-rw—- 3 ambari_qa hdfs 2286 2013-04-23 10:47 /user/ambari_qa/passwd
    drwxrwx— – ambari_qa hdfs 0 2013-04-23 10:50 /user/ambari_qa/pigsmoke.out

    thanks
    Pal

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.

  • Author
    Replies
  • #39375

    Koelli Mungee
    Moderator

    Hi Pal.

    Is this HDP 1.3.2? These are the permissions I have on my HDP 1.3.2 system installed by Ambari,

    bash-4.1$ hadoop fs -ls /user/ambari-qa
    Found 9 items
    drwxrwx— – ambari-qa hdfs 0 2013-09-24 05:00 /user/ambari-qa/.Trash
    drwx—— – ambari-qa hdfs 0 2013-09-23 22:38 /user/ambari-qa/.staging
    drwxrwx— – ambari-qa hdfs 0 2013-09-11 14:11 /user/ambari-qa/examples
    drwxrwx— – ambari-qa hdfs 0 2013-09-11 14:11 /user/ambari-qa/input-data
    -rwx—— 3 ambari-qa hdfs 1742 2013-09-23 22:38 /user/ambari-qa/mapredsmokeinput
    drwxrwx— – ambari-qa hdfs 0 2013-09-23 22:38 /user/ambari-qa/mapredsmokeoutput
    drwxrwx— – ambari-qa hdfs 0 2013-09-11 14:11 /user/ambari-qa/oozie-oozi
    -rwxrwx— 3 ambari-qa hdfs 1662 2013-09-10 22:49 /user/ambari-qa/passwd
    drwxrwx— – ambari-qa hdfs 0 2013-09-10 22:50 /user/ambari-qa/pigsmoke.out

    The mapreduce service starts fine. Also, I have this

    [root@hdp132 ~]# groups ambari-qa
    ambari-qa : hadoop users

    Thanks
    Koelli

    Collapse
Viewing 1 replies (of 1 total)