You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Dmitry Lysnichenko (JIRA)" <ji...@apache.org> on 2015/04/16 19:40:59 UTC

[jira] [Updated] (AMBARI-10542) Webhcat tests failing with NoClassDefFoundError

     [ https://issues.apache.org/jira/browse/AMBARI-10542?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dmitry Lysnichenko updated AMBARI-10542:
----------------------------------------
    Attachment: AMBARI-10542.patch

> Webhcat tests failing with NoClassDefFoundError
> -----------------------------------------------
>
>                 Key: AMBARI-10542
>                 URL: https://issues.apache.org/jira/browse/AMBARI-10542
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>            Reporter: Dmitry Lysnichenko
>            Assignee: Dmitry Lysnichenko
>             Fix For: 2.1.0
>
>         Attachments: AMBARI-10542.patch
>
>
> 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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)