一直无法加载 Failed to load coprocessor 5C

异常如下,请各位帮忙看下。
2016-06-07 18:04:08,588 INFO [StoreOpener-e4a517d6203a02a8a270731dcc887077-1] hfile.CacheConfig: Created cacheConfig for info: CacheConfig:enabled [cacheDataOnRead=true] [cacheDataOnWrite=false] [cacheIndexesOnWrite=false] [cacheBloomsOnWrite=false] [cacheEvictOnClose=false] [cacheDataCompressed=false] [prefetchOnOpen=false]
2016-06-07 18:04:08,583 ERROR [RS_OPEN_REGION-ubuntu:60020-1] regionserver.RegionCoprocessorHost: Failed to load coprocessor dal.emailFullText.endPoint.FullTextEndpoint
org.apache.hadoop.hbase.coprocessor.CoprocessorException: Must be loaded on a table region!
at dal.emailFullText.endPoint.FullTextEndpoint.start(FullTextEndpoint.java:39)
at org.apache.hadoop.hbase.coprocessor.CoprocessorHost$Environment.startup(CoprocessorHost.java:715)
at org.apache.hadoop.hbase.coprocessor.CoprocessorHost.loadInstance(CoprocessorHost.java:278)
at org.apache.hadoop.hbase.coprocessor.CoprocessorHost.load(CoprocessorHost.java:231)
at org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost.loadTableCoprocessors(RegionCoprocessorHost.java:370)
at org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost.(RegionCoprocessorHost.java:232)
at org.apache.hadoop.hbase.regionserver.HRegion.(HRegion.java:650)
at org.apache.hadoop.hbase.regionserver.HRegion.(HRegion.java:557)
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:4497)
at org.apache.hadoop.hbase.regionserver.HRegion.openHRegion(HRegion.java:4808)
at org.apache.hadoop.hbase.regionserver.HRegion.openHRegion(HRegion.java:4781)
at org.apache.hadoop.hbase.regionserver.HRegion.openHRegion(HRegion.java:4737)
at org.apache.hadoop.hbase.regionserver.HRegion.openHRegion(HRegion.java:4688)
at org.apache.hadoop.hbase.regionserver.handler.OpenRegionHandler.openRegion(OpenRegionHandler.java:489)
at org.apache.hadoop.hbase.regionserver.handler.OpenRegionHandler.process(OpenRegionHandler.java:149)
at org.apache.hadoop.hbase.executor.EventHandler.run(EventHandler.java:129)
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)

-------------------------------------------------------------------------

在endpoint的这段代码中抛出的异常,代码如下:

 @Override

public void start(CoprocessorEnvironment env) throws IOException {
if (env instanceof RegionCoprocessorEnvironment) {
this.env = (RegionCoprocessorEnvironment)env;
} else {
throw new CoprocessorException("Must be loaded on a table region!");
}
}

1个回答

4:08,588 INFO [StoreOpener-e4a517d6203a02a8a270731dcc887077-1] hfile.CacheConfig: Created cacheConfig for info: CacheConfig:enabled [cacheDataOnRead=true] [cacheDataOnWrite=false] [cacheIndexesOnWrite=false] [cacheBloomsOnWrite=false] [cacheEvictOnClose=false] [cacheDataCompressed=false] [prefetchOnOpen=false]
2016-06-07 18:04:08,583 ERROR [RS_OPEN_REGION-ubuntu:60020-1] regionserver.RegionCoprocessorHost: Failed to load coprocessor dal.emailFullText.endPoint.FullTextEndpoint
org.apache.hadoop.hbase.coprocessor.CoprocessorException: Must be loaded on a table region!
at dal.emailFullText.endPoint.FullTextEndpoint.start(FullTextEndpoint.java:39)
at org.apache.hadoop.hbase.coprocessor.CoprocessorHost$Environment.startup(CoprocessorHost.java:715)
at org.apache.hadoop.hbase.coprocessor.CoprocessorHost.loadInstance(CoprocessorHost.java:278)
at org.apache.hadoop.hbase.coprocessor.CoprocessorHost.load(CoprocessorHost.java:231)
at org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost.loadTableCoprocessors(RegionCoprocessorHost.java:370)
at org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost.(RegionCoprocessorHost.java:232)
at org.apache.hadoop.hbase.regionserver.HRegion.(HRegion.java:650)
at org.apache.hadoop.hbase.regionserver.HRegion.(HRegion.java:557)
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:4497)
at org.apache.hadoop.hbase.regionserver.HRegion.openHRegion(HRegion.java:4808)
at org.apache.hadoop.hbase.regionserver.HRegion.openHRegion(H

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!