You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by samir das mohapatra <sa...@gmail.com> on 2012/05/24 20:26:57 UTC
While Running in cloudera version of hadoop getting error
Hi
I created application jar and i was trying to run in 2 node cluster using
cludera .20 version , it was running fine,
But when i am running that same jar in Deployment server (Cloudera version
.20.x ) having 40 node cluster I am getting error
cloude any one please help me with this.
12/05/24 09:39:09 WARN mapred.JobClient: Use GenericOptionsParser for
parsing the arguments. Applications should implement Tool for the same.
12/05/24 09:39:10 INFO mapred.FileInputFormat: Total input paths to process
: 1
12/05/24 09:39:10 INFO mapred.JobClient: Running job: job_201203231049_12426
12/05/24 09:39:11 INFO mapred.JobClient: map 0% reduce 0%
12/05/24 09:39:20 INFO mapred.JobClient: Task Id :
attempt_201203231049_12426_m_000000_0, Status : FAILED
java.lang.RuntimeException: Error in configuring object
at
org.apache.hadoop.util.ReflectionUtils.setJobConf(ReflectionUtils.java:93)
at
org.apache.hadoop.util.ReflectionUtils.setConf(ReflectionUtils.java:64)
at
org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:117)
at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:387)
at org.apache.hadoop.mapred.MapTask.run(MapTask.java:325)
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:1157)
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.jav
attempt_201203231049_12426_m_000000_0: getDefaultExtension()
12/05/24 09:39:20 INFO mapred.JobClient: Task Id :
attempt_201203231049_12426_m_000001_0, Status : FAILED
Thanks
samir
Re: While Running in cloudera version of hadoop getting error
Posted by Marcos Ortiz <ml...@uci.cu>.
Why don´t use the same Hadoop version in both clusters?
It will brings to you minor troubles.
On 05/24/2012 02:26 PM, samir das mohapatra wrote:
> Hi
> I created application jar and i was trying to run in 2 node cluster using
> cludera .20 version , it was running fine,
> But when i am running that same jar in Deployment server (Cloudera version
> .20.x ) having 40 node cluster I am getting error
>
> cloude any one please help me with this.
>
> 12/05/24 09:39:09 WARN mapred.JobClient: Use GenericOptionsParser for
> parsing the arguments. Applications should implement Tool for the same.
Like this says here, you should implement Tool for your MapReduce Job
>
> 12/05/24 09:39:10 INFO mapred.FileInputFormat: Total input paths to process
> : 1
>
> 12/05/24 09:39:10 INFO mapred.JobClient: Running job: job_201203231049_12426
>
> 12/05/24 09:39:11 INFO mapred.JobClient: map 0% reduce 0%
>
> 12/05/24 09:39:20 INFO mapred.JobClient: Task Id :
> attempt_201203231049_12426_m_000000_0, Status : FAILED
>
> java.lang.RuntimeException: Error in configuring object
>
> at
> org.apache.hadoop.util.ReflectionUtils.setJobConf(ReflectionUtils.java:93)
>
> at
> org.apache.hadoop.util.ReflectionUtils.setConf(ReflectionUtils.java:64)
>
> at
> org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:117)
>
> at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:387)
>
> at org.apache.hadoop.mapred.MapTask.run(MapTask.java:325)
>
> 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:1157)
>
> 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.jav
>
> attempt_201203231049_12426_m_000000_0: getDefaultExtension()
>
> 12/05/24 09:39:20 INFO mapred.JobClient: Task Id :
> attempt_201203231049_12426_m_000001_0, Status : FAILED
>
>
>
> Thanks
>
> samir
>
>
>
--
Marcos Luis Ortíz Valmaseda
Data Engineer&& Sr. System Administrator at UCI
http://marcosluis2186.posterous.com
http://www.linkedin.com/in/marcosluis2186
Twitter: @marcosluis2186
10mo. ANIVERSARIO DE LA CREACION DE LA UNIVERSIDAD DE LAS CIENCIAS INFORMATICAS...
CONECTADOS AL FUTURO, CONECTADOS A LA REVOLUCION
http://www.uci.cu
http://www.facebook.com/universidad.uci
http://www.flickr.com/photos/universidad_uci