tephra-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arcflash (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (TEPHRA-197) Unable to start HRegionServer
Date Tue, 08 Nov 2016 09:10:59 GMT

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

Arcflash resolved TEPHRA-197.
-----------------------------
       Resolution: Fixed
    Fix Version/s: 0.10.0-incubating

> Unable to start HRegionServer 
> ------------------------------
>
>                 Key: TEPHRA-197
>                 URL: https://issues.apache.org/jira/browse/TEPHRA-197
>             Project: Tephra
>          Issue Type: Bug
>          Components: tephra-hbase-compat-1.1
>    Affects Versions: 0.10.0-incubating
>         Environment: HBase-1.1.1
> hadoop-2.6.0
>            Reporter: Arcflash
>            Assignee: Poorna Chandra
>             Fix For: 0.10.0-incubating
>
>
> When used Tephra on the HBase regionserver *TransactionProcessor* can throw an  exception
like :
> {noformat}
> 2016-11-07 10:50:29,329 ERROR [RS_OPEN_META-master-0:16020-0] coprocessor.CoprocessorHost:
The coprocessor org.apache.tephra.hbase.coprocessor.TransactionProcessor threw java.lang.NoClassDefFoundError:
org/apache/tephra/Transaction
> java.lang.NoClassDefFoundError: org/apache/tephra/Transaction
>         at java.lang.Class.getDeclaredMethods0(Native Method)
>         at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
>         at java.lang.Class.getDeclaredMethod(Class.java:2128)
>         at org.apache.hadoop.hbase.coprocessor.CoprocessorHost.useLegacyMethod(CoprocessorHost.java:598)
>         at org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost.access$000(RegionCoprocessorHost.java:95)
>         at org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost$RegionEnvironment.<init>(RegionCoprocessorHost.java:135)
>         at org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost.createEnvironment(RegionCoprocessorHost.java:389)
>         at org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost.createEnvironment(RegionCoprocessorHost.java:93)
>         at org.apache.hadoop.hbase.coprocessor.CoprocessorHost.loadInstance(CoprocessorHost.java:251)
>         at org.apache.hadoop.hbase.coprocessor.CoprocessorHost.loadSystemCoprocessors(CoprocessorHost.java:156)
>         at org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost.<init>(RegionCoprocessorHost.java:230)
>         at org.apache.hadoop.hbase.regionserver.HRegion.<init>(HRegion.java:711)
>         at org.apache.hadoop.hbase.regionserver.HRegion.<init>(HRegion.java:620)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
>         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>         at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
>         at org.apache.hadoop.hbase.regionserver.HRegion.newHRegion(HRegion.java:5833)
>         at org.apache.hadoop.hbase.regionserver.HRegion.openHRegion(HRegion.java:6143)
>         at org.apache.hadoop.hbase.regionserver.HRegion.openHRegion(HRegion.java:6115)
>         at org.apache.hadoop.hbase.regionserver.HRegion.openHRegion(HRegion.java:6071)
>         at org.apache.hadoop.hbase.regionserver.HRegion.openHRegion(HRegion.java:6022)
>         at org.apache.hadoop.hbase.regionserver.handler.OpenRegionHandler.openRegion(OpenRegionHandler.java:362)
>         at org.apache.hadoop.hbase.regionserver.handler.OpenRegionHandler.process(OpenRegionHandler.java:129)
>         at org.apache.hadoop.hbase.executor.EventHandler.run(EventHandler.java:128)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>         at java.lang.Thread.run(Thread.java:745)
> Caused by: java.lang.ClassNotFoundException: org.apache.tephra.Transaction
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>         ... 28 more
> {noformat}
> then HRegionServer will down.
> I find *Transaction* is in tephra-core-*.jar,and try to put it into the $HBASE_HOME/lib,but
doesn't work.
> How can I configure it?
> Anything is help,Thanks.



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

Mime
View raw message