hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashutosh Chauhan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-10490) HBase Snapshot IF fails at run time with missing dependency of MetricsRegistry
Date Sun, 26 Apr 2015 20:01:38 GMT

    [ https://issues.apache.org/jira/browse/HIVE-10490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14513227#comment-14513227
] 

Ashutosh Chauhan commented on HIVE-10490:
-----------------------------------------

otherwise you are treated with following stack trace :
{code}
109||||||Error: java.io.IOException: java.io.IOException: java.lang.NoClassDefFoundError:
com/yammer/metrics/core/MetricsRegistry
109||||||at org.apache.hadoop.hive.io.HiveIOExceptionHandlerChain.handleRecordReaderCreationException(HiveIOExceptionHandlerChain.java:97)
110||||||at org.apache.hadoop.hive.io.HiveIOExceptionHandlerUtil.handleRecordReaderCreationException(HiveIOExceptionHandlerUtil.java:57)
110||||||at org.apache.hadoop.hive.ql.io.HiveInputFormat.getRecordReader(HiveInputFormat.java:252)
110||||||at org.apache.hadoop.hive.ql.io.CombineHiveInputFormat.getRecordReader(CombineHiveInputFormat.java:697)
110||||||at org.apache.hadoop.mapred.MapTask$TrackedRecordReader.<init>(MapTask.java:169)
110||||||at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:432)
111||||||at org.apache.hadoop.mapred.MapTask.run(MapTask.java:343)
111||||||at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:163)
111||||||at java.security.AccessController.doPrivileged(Native Method)
111||||||at javax.security.auth.Subject.doAs(Subject.java:415)
111||||||at org.apache.hadoop.security.UserGrouprmation.doAs(UserGrouprmation.java:1657)
112||||||at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:158)
112||||||Caused by: java.io.IOException: java.lang.NoClassDefFoundError: com/yammer/metrics/core/MetricsRegistry
113||||||at org.apache.hadoop.hbase.regionserver.HRegion.initializeRegionStores(HRegion.java:913)
113||||||at org.apache.hadoop.hbase.regionserver.HRegion.initializeRegionInternals(HRegion.java:801)
113||||||at org.apache.hadoop.hbase.regionserver.HRegion.initialize(HRegion.java:776)
113||||||at org.apache.hadoop.hbase.regionserver.HRegion.openHRegion(HRegion.java:6095)
113||||||at org.apache.hadoop.hbase.regionserver.HRegion.openHRegion(HRegion.java:6056)
114||||||at org.apache.hadoop.hbase.regionserver.HRegion.openHRegion(HRegion.java:6027)
114||||||at org.apache.hadoop.hbase.client.ClientSideRegionScanner.<init>(ClientSideRegionScanner.java:58)
114||||||at org.apache.hadoop.hbase.mapreduce.TableSnapshotInputFormatImpl$RecordReader.initialize(TableSnapshotInputFormatImpl.java:190)
114||||||at org.apache.hadoop.hbase.mapred.TableSnapshotInputFormat$TableSnapshotRecordReader.<init>(TableSnapshotInputFormat.java:96)
115||||||at org.apache.hadoop.hbase.mapred.TableSnapshotInputFormat.getRecordReader(TableSnapshotInputFormat.java:150)
115||||||at org.apache.hadoop.hive.hbase.HiveHBaseTableSnapshotInputFormat.getRecordReader(HiveHBaseTableSnapshotInputFormat.java:74)
115||||||at org.apache.hadoop.hive.ql.io.HiveInputFormat.getRecordReader(HiveInputFormat.java:250)
115||||||... 9 more
115||||||Caused by: java.lang.NoClassDefFoundError: com/yammer/metrics/core/MetricsRegistry
116||||||at org.apache.hadoop.hbase.io.hfile.CacheStats.<clinit>(CacheStats.java:36)
116||||||at org.apache.hadoop.hbase.io.hfile.LruBlockCache.<init>(LruBlockCache.java:289)
116||||||at org.apache.hadoop.hbase.io.hfile.LruBlockCache.<init>(LruBlockCache.java:233)
116||||||at org.apache.hadoop.hbase.io.hfile.CacheConfig.getL1(CacheConfig.java:490)
117||||||at org.apache.hadoop.hbase.io.hfile.CacheConfig.instantiateBlockCache(CacheConfig.java:588)
117||||||at org.apache.hadoop.hbase.io.hfile.CacheConfig.<init>(CacheConfig.java:204)
117||||||at org.apache.hadoop.hbase.regionserver.HStore.<init>(HStore.java:252)
117||||||at org.apache.hadoop.hbase.regionserver.HRegion.instantiateHStore(HRegion.java:4840)
117||||||at org.apache.hadoop.hbase.regionserver.HRegion$1.call(HRegion.java:887)
118||||||at org.apache.hadoop.hbase.regionserver.HRegion$1.call(HRegion.java:884)
118||||||at java.util.concurrent.FutureTask.run(FutureTask.java:262)
118||||||at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
118||||||at java.util.concurrent.FutureTask.run(FutureTask.java:262)
119||||||at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
119||||||at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
119||||||at java.lang.Thread.run(Thread.java:745)
119||||||Caused by: java.lang.ClassNotFoundException: com.yammer.metrics.core.MetricsRegistry
119||||||at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
120||||||at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
120||||||at java.security.AccessController.doPrivileged(Native Method)
120||||||at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
120||||||at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
121||||||at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
121||||||at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
122||||||... 16 more

{code}

> HBase Snapshot IF fails at run time with missing dependency of MetricsRegistry
> ------------------------------------------------------------------------------
>
>                 Key: HIVE-10490
>                 URL: https://issues.apache.org/jira/browse/HIVE-10490
>             Project: Hive
>          Issue Type: Bug
>          Components: HBase Handler
>    Affects Versions: 1.2.0
>            Reporter: Jagruti Varia
>            Assignee: Ashutosh Chauhan
>         Attachments: HIVE-10490.patch
>
>




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

Mime
View raw message