hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Grover <grover.markgro...@gmail.com>
Subject Re: hive-0.10 and nullpointerexception
Date Mon, 04 Mar 2013 16:26:37 GMT
Sorry for the delayed response, Marcin, I was away.

This error in the Gist means that the jar containing the class in
question is not on your classpath.
Exception in thread "Thread-39" java.lang.NoClassDefFoundError:
org/apache/hadoop/mapreduce/util/HostUtil
	at org.apache.hadoop.hive.shims.Hadoop23Shims.getTaskAttemptLogUrl(Hadoop23Shims.java:53)
	at org.apache.hadoop.hive.ql.exec.JobDebugger$TaskInfoGrabber.getTaskInfos(JobDebugger.java:186)
	at org.apache.hadoop.hive.ql.exec.JobDebugger$TaskInfoGrabber.run(JobDebugger.java:142)
	at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.ClassNotFoundException:
org.apache.hadoop.mapreduce.util.HostUtil
	at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
	... 4 more

So if you add the appropriate jar (hadoop-mapreduce jar?) to your
classpath, that should take you further.Have you tried that?

On Mon, Feb 25, 2013 at 4:01 AM, Marcin Cylke <mcl@touk.pl> wrote:
> On 25/02/13 10:05, Marcin Cylke wrote:
>
>> I'll build the trunk and try to test it. Then I'll let you know if that
>> helped.
>
> I've just performed the test on current trunk. The problem is still
> there, no changes.
>
> Any ideas? Perhaps my config says something interesting? I've added it
> to the GIST: https://gist.github.com/zygm0nt/5028591#file-hive-site-xml
>
> The config consists some addidional parameters, but I don't think they
> would influence MapReduce behavior.
>
> Regards
> Marcin
>

Mime
View raw message