The Hortonworks Community Connection is now live. A completely rebuilt Q&A forum, Knowledge Base, Code Hub and more, backed by the experts in the industry.

You will be redirected here in 10 seconds. If your are not redirected, click here to visit the new site.

The legacy Hortonworks Forum is now closed. You can view a read-only version of the former site by clicking here. The site will be taken offline on January 31,2016

Ambari Forum

Ambari MAPREDUCE_SERVICE_CHECK

  • #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

  • 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

The forum ‘Ambari’ is closed to new topics and replies.

Support from the Experts

A HDP Support Subscription connects you experts with deep experience running Apache Hadoop in production, at-scale on the most demanding workloads.

Enterprise Support »

Become HDP Certified

Real world training designed by the core architects of Hadoop. Scenario-based training courses are available in-classroom or online from anywhere in the world

Training »

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.