caused by: java.lang.outofmemory_hadoop运行java.lang.OutOfMemoryError:java heap space错误。

在map任务中,导入了99M的文件,运行时出现下面的问题:

java.lang.RuntimeException:java.lang.reflect.InvocationTargetException

at

org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:81)

at

org.apache.hadoop.io.WritableUtils.clone(WritableUtils.java:231)

at

com.***.***.ajoin.Exception.regroup(ExecReducer.java:239)

at

com.***.***.ajoin.Exception.reduce(ExecReducer.java:263)

at

com.***.***.ajoin.Exception.regroup(ExecReducer.java:1)

at

org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:430)

at

org.apache.hadoop.mapred.child.main(Child.java:155)

Caused by:java.lang.reflect.InvocationTargetException

at

sun.reflect.GeneratedConstructorAccessor6.newInstance(Unknow

Source)

at

sun.reflect.DelegationConstructorAccessorImp1.newInstance(DelegatingConstructor

你可能感兴趣的:(caused,by:)