hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Navis (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-4133) ClassNotFoundException for EventCounter in CDH3U1
Date Wed, 12 Nov 2014 01:28:33 GMT

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

Navis updated HIVE-4133:
------------------------
      Resolution: Won't Fix
    Release Note: hadoop-20 based versions would not be supported from hive-0.15
          Status: Resolved  (was: Patch Available)

> ClassNotFoundException for EventCounter in CDH3U1
> -------------------------------------------------
>
>                 Key: HIVE-4133
>                 URL: https://issues.apache.org/jira/browse/HIVE-4133
>             Project: Hive
>          Issue Type: Bug
>          Components: Shims
>         Environment: CDH3U1
>            Reporter: Navis
>            Assignee: Navis
>            Priority: Minor
>         Attachments: HIVE-4133.D9195.1.patch, HIVE.4133.git.patch
>
>
> Seemed regression from HIVE-3428
> {noformat}
> java.lang.RuntimeException: Could not load shims in class org.apache.hadoop.log.metrics.EventCounter
> 	at org.apache.hadoop.hive.shims.ShimLoader.createShim(ShimLoader.java:125)
> 	at org.apache.hadoop.hive.shims.ShimLoader.loadShims(ShimLoader.java:117)
> 	at org.apache.hadoop.hive.shims.ShimLoader.getEventCounter(ShimLoader.java:100)
> 	at org.apache.hadoop.hive.shims.HiveEventCounter.<init>(HiveEventCounter.java:16)
> 	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> 	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> 	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> 	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
> 	at java.lang.Class.newInstance0(Class.java:355)
> 	at java.lang.Class.newInstance(Class.java:308)
> 	at org.apache.log4j.helpers.OptionConverter.instantiateByClassName(OptionConverter.java:330)
> 	at org.apache.log4j.helpers.OptionConverter.instantiateByKey(OptionConverter.java:121)
> 	at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:664)
> 	at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:647)
> 	at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:544)
> 	at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:440)
> 	at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:476)
> 	at org.apache.log4j.PropertyConfigurator.configure(PropertyConfigurator.java:354)
> 	at org.apache.hadoop.hive.common.LogUtils.initHiveLog4jDefault(LogUtils.java:124)
> 	at org.apache.hadoop.hive.common.LogUtils.initHiveLog4jCommon(LogUtils.java:77)
> 	at org.apache.hadoop.hive.common.LogUtils.initHiveExecLog4j(LogUtils.java:69)
> 	at org.apache.hadoop.hive.ql.exec.ExecDriver.setupChildLog4j(ExecDriver.java:568)
> 	at org.apache.hadoop.hive.ql.exec.ExecDriver.main(ExecDriver.java:623)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.apache.hadoop.util.RunJar.main(RunJar.java:186)
> Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.log.metrics.EventCounter
> 	at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> 	at java.lang.Class.forName0(Native Method)
> 	at java.lang.Class.forName(Class.java:169)
> 	at org.apache.hadoop.hive.shims.ShimLoader.createShim(ShimLoader.java:122)
> 	... 27 more
> log4j:ERROR Could not instantiate appender named "EventCounter".
> {noformat}



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

Mime
View raw message