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

MapReduce Forum

Previlaged Error While Running Map reduce job on hortonworks from eclipse

  • #41176
    Synthia Raj
    Member

    Hi,
    I have set up a 4 node hadoop cluster . I am currently trying to run a MR job as user Synthia(drwxr-xr-x ) from windows eclipse, it gives me the following error :
    i tried exporting jar and run it in cluster its working.
    13/10/21 15:38:47 WARN mapred.JobClient: Use GenericOptionsParser for parsing the arguments. Applications should implement Tool for the same.
    13/10/21 15:38:48 INFO input.FileInputFormat: Total input paths to process : 1
    13/10/21 15:38:48 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform… using builtin-java classes where applicable
    13/10/21 15:38:48 WARN snappy.LoadSnappy: Snappy native library not loaded
    13/10/21 15:38:48 INFO mapred.JobClient: Cleaning up the staging area hdfs://COLORADO.IQUADRA.COM:8020/user/Synthia/.staging/job_201310190016_0038
    13/10/21 15:38:48 ERROR security.UserGroupInformation: PriviledgedActionException as:Synthia cause:org.apache.hadoop.ipc.RemoteException: java.io.IOException: job_201310190016_0038(-1 memForMapTasks -1 memForReduceTasks): Invalid job requirements.
    at org.apache.hadoop.mapred.JobTracker.checkMemoryRequirements(JobTracker.java:4914)
    at org.apache.hadoop.mapred.JobTracker.submitJob(JobTracker.java:3645)
    at org.apache.hadoop.mapred.JobTracker.submitJob(JobTracker.java:3561)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:587)
    at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1444)
    at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1440)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAs(Subject.java:396)
    at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1232)
    at org.apache.hadoop.ipc.Server$Handler.run(Server.java:1438)Exception in thread “main” org.apache.hadoop.ipc.RemoteException: java.io.IOException: job_201310190016_0038(-1 memForMapTasks -1 memForReduceTasks): Invalid job requirements.
    at org.apache.hadoop.mapred.JobTracker.checkMemoryRequirements(JobTracker.java:4914)
    at org.apache.hadoop.mapred.JobTracker.submitJob(JobTracker.java:3645)
    at org.apache.hadoop.mapred.JobTracker.submitJob(JobTracker.java:3561)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:587)
    at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1444)
    at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1440)

  • Author
    Replies
  • #41421
    abdelrahman
    Moderator

    Hi Synthia,

    Can you try running basic MapReduce job on the cluster as user “Synthia” and mapred without Eclipse to isolate the issue?

    Thanks
    -Abdelrahman

The forum ‘MapReduce’ 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.