Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
ok, finally I was able to design MapReduce job and was also able to get configuration right to run it on hadoop. But for some reason, the job is failing for some reason.
Job is really simple - I've Invoice file stored on hdfs of size 1.5 GB approx, all I'm trying to do is make a copy of it...
tHDFSInput ----> tMap ----> tHDFSOutput
Job starts execution and when job is submitted to mapreduce - I get following error - Can someone please help me understand this issue.
Starting job MapRSample01 at 17:18 17/06/2013.
13/06/17 17:18:14 WARN mapred.JobClient: Use GenericOptionsParser for parsing the arguments. Applications should implement Tool for the same.
13/06/17 17:18:15 INFO mapred.FileInputFormat: Total input paths to process : 1
13/06/17 17:18:15 WARN conf.Configuration: fs.default.name is deprecated. Instead, use fs.defaultFS
13/06/17 17:18:15 INFO mapred.JobClient: Running job: job_201306171252_0006
13/06/17 17:18:16 INFO mapred.JobClient: map 0% reduce 0%
13/06/17 17:18:26 INFO mapred.JobClient: Task Id : attempt_201306171252_0006_m_000000_0, Status : FAILED
java.lang.RuntimeException: Error in configuring object
at org.apache.hadoop.util.ReflectionUtils.setJobConf(ReflectionUtils.java:106)
at org.apache.hadoop.util.ReflectionUtils.setConf(ReflectionUtils.java:72)
at org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:130)
at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:389)
at org.apache.hadoop.mapred.MapTask.run(MapTask.java:327)
at org.apache.hadoop.mapred.Child$4.run(Child.java:270)
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.mapred.Child.main(Child.java:264)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja
13/06/17 17:18:26 INFO mapred.JobClient: Task Id : attempt_201306171252_0006_m_000001_0, Status : FAILED
java.lang.RuntimeException: Error in configuring object
at org.apache.hadoop.util.ReflectionUtils.setJobConf(ReflectionUtils.java:106)
at org.apache.hadoop.util.ReflectionUtils.setConf(ReflectionUtils.java:72)
at org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:130)
at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:389)
at org.apache.hadoop.mapred.MapTask.run(MapTask.java:327)
at org.apache.hadoop.mapred.Child$4.run(Child.java:270)
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.mapred.Child.main(Child.java:264)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja
13/06/17 17:18:26 INFO mapred.JobClient: Task Id : attempt_201306171252_0006_m_000002_0, Status : FAILED
13/06/17 17:18:47 INFO mapred.JobClient: Job Counters
13/06/17 17:18:47 INFO mapred.JobClient: Failed map tasks=1
13/06/17 17:18:47 INFO mapred.JobClient: Launched map tasks=16
13/06/17 17:18:47 INFO mapred.JobClient: Data-local map tasks=16
13/06/17 17:18:47 INFO mapred.JobClient: Total time spent by all maps in occupied slots (ms)=102806
13/06/17 17:18:47 INFO mapred.JobClient: Total time spent by all reduces in occupied slots (ms)=0
13/06/17 17:18:47 INFO mapred.JobClient: Total time spent by all maps waiting after reserving slots (ms)=0
13/06/17 17:18:47 INFO mapred.JobClient: Total time spent by all reduces waiting after reserving slots (ms)=0
13/06/17 17:18:47 INFO mapred.JobClient: Job Failed: NA
13/06/17 17:18:47 ERROR security.UserGroupInformation: PriviledgedActionException as:hdfs (authIMPLE) cause:java.io.IOException: Job failed!
java.io.IOException: Job failed!
at org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:1323)
at talenddemosjava.maprsample01_1_0.MapRSample01$1.run(MapRSample01.java:2415)
at talenddemosjava.maprsample01_1_0.MapRSample01$1.run(MapRSample01.java:1)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:416)
at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1332)
at talenddemosjava.maprsample01_1_0.MapRSample01.tHDFSInput_1Process(MapRSample01.java:2369)
at talenddemosjava.maprsample01_1_0.MapRSample01.run(MapRSample01.java:2572)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
at talenddemosjava.maprsample01_1_0.MapRSample01.runJobInTOS(MapRSample01.java:2494)
at talenddemosjava.maprsample01_1_0.MapRSample01.main(MapRSample01.java:2465)
Job MapRSample01 ended at 17:18 17/06/2013.