You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Pankaj Kumar (JIRA)" <ji...@apache.org> on 2019/04/01 16:37:00 UTC

[jira] [Resolved] (HBASE-21525) java.io.IOException: java.lang.ClassNotFoundException: clone_snapshot from hbase2.0.0 to hbase1.2.0

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

Pankaj Kumar resolved HBASE-21525.
----------------------------------
    Resolution: Duplicate

Closing this as a duplicate of HBASE-16189

> java.io.IOException: java.lang.ClassNotFoundException:  clone_snapshot from hbase2.0.0 to hbase1.2.0
> ----------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-21525
>                 URL: https://issues.apache.org/jira/browse/HBASE-21525
>             Project: HBase
>          Issue Type: Bug
>          Components: snapshots
>    Affects Versions: 1.2.0, 2.0.0
>            Reporter: huan
>            Priority: Minor
>
> When I use 
> {code:java}
> hbase org.apache.hadoop.hbase.snapshot.ExportSnapshot -snapshot "wh_scan_issue_monitor_on_snap_1" -copy-from hdfs://xxxx:8020/hbase  -copy-to hdfs://xxx:8020/hbase
> {code}
> to copy snapshot from hbase2.0.0 to hbase 1.2.0 and then use
> {code:java}
> clone_snapshot 'wh_scan_issue_monitor_on_snap_1',"wh_scan_issue_monitor_table"{code}
> to restore the table;
> There are no errors on client and hbase master.
> but I can not scan any data in this new table.
> So when I search the log in regionserver which that region running on .I find the below error log
>  
> {code:java}
> 2018-11-29 13:39:45,826 ERROR org.apache.hadoop.hbase.regionserver.StoreFile$Reader: Error reading bloom filter meta for GENERAL_BLOOM_META -- proceeding without
> java.io.IOException: java.lang.ClassNotFoundException:
> at org.apache.hadoop.hbase.io.hfile.FixedFileTrailer.getComparatorClass(FixedFileTrailer.java:581)
> at org.apache.hadoop.hbase.io.hfile.FixedFileTrailer.createComparator(FixedFileTrailer.java:588)
> at org.apache.hadoop.hbase.util.CompoundBloomFilter.<init>(CompoundBloomFilter.java:73)
> at org.apache.hadoop.hbase.util.BloomFilterFactory.createFromMeta(BloomFilterFactory.java:109)
> at org.apache.hadoop.hbase.regionserver.StoreFile$Reader.loadBloomfilter(StoreFile.java:1469)
> at org.apache.hadoop.hbase.regionserver.StoreFile$Reader.access$000(StoreFile.java:1088)
> at org.apache.hadoop.hbase.regionserver.StoreFile.open(StoreFile.java:465)
> at org.apache.hadoop.hbase.regionserver.StoreFile.createReader(StoreFile.java:509)
> at org.apache.hadoop.hbase.regionserver.StoreFile.createReader(StoreFile.java:499)
> at org.apache.hadoop.hbase.regionserver.HStore.createStoreFileAndReader(HStore.java:676)
> at org.apache.hadoop.hbase.regionserver.HStore.access$000(HStore.java:119)
> at org.apache.hadoop.hbase.regionserver.HStore$1.call(HStore.java:543)
> at org.apache.hadoop.hbase.regionserver.HStore$1.call(HStore.java:540)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at java.lang.Thread.run(Thread.java:748)
> Caused by: java.lang.ClassNotFoundException:
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:264)
> at org.apache.hadoop.hbase.io.hfile.FixedFileTrailer.getComparatorClass(FixedFileTrailer.java:578)
> ... 18 more
> {code}
>  
>  
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)