You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Dmitro Lisnichenko <dl...@hortonworks.com> on 2015/04/16 19:41:58 UTC

Review Request 33267: Webhcat tests failing with NoClassDefFoundError

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/33267/
-----------------------------------------------------------

Review request for Ambari and Eugene Koifman.


Bugs: AMBARI-10542
    https://issues.apache.org/jira/browse/AMBARI-10542


Repository: ambari


Description
-------

Webhcat tests are failing with below error from mapred job
Tests: TestStreaming_, TestMapRed_, TestPig_, JOBS_, TestHive_*
java.lang.NoClassDefFoundError: org/apache/hadoop/hive/common/JavaUtils
at org.apache.hive.hcatalog.templeton.tool.JobState.getStorageInstance(JobState.java:73)
at org.apache.hive.hcatalog.templeton.tool.JobState.getStorage(JobState.java:92)
at org.apache.hive.hcatalog.templeton.tool.JobState.<init>(JobState.java:53)
at org.apache.hive.hcatalog.templeton.tool.LaunchMapper$Watcher.run(LaunchMapper.java:414)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.hive.common.JavaUtils
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
... 7 more


Diffs
-----

  ambari-server/src/main/resources/stacks/HDP/2.3/services/HIVE/configuration/webhcat-site.xml PRE-CREATION 

Diff: https://reviews.apache.org/r/33267/diff/


Testing
-------

need to check qe test run


Thanks,

Dmitro Lisnichenko