I unzipped from the hbase-0.20.6.tar.gz file.

On Tue, Dec 21, 2010 at 6:12 AM, Ryan Rawson <ryano...@gmail.com> wrote:

> Generally speaking, method not found errors are build and deployment
> errors.
> Are you using a stock hbase tar ball?
> On Dec 19, 2010 5:54 PM, "陈加俊" <cjjvict...@gmail.com> wrote:
> > Hi ryan
> >
> > There is only one copy of hbase*.jar,and the md5sum is:
> > $ md5sum /app/cloud/hbase/hbase-0.20.6.jar
> > cb1af1f5df2e93ae58099a1608b22876 /app/cloud/hbase/hbase-0.20.6.jar
> >
> > In addition, i wonder if is the question on which I used
> > zookeeper-3.3.2.jar.
> >
> >
> > On Mon, Dec 20, 2010 at 9:25 AM, Ryan Rawson <ryano...@gmail.com> wrote:
> >
> >> If you are getting something like "java.lang.NoSuchMethodError"
> >> usually this is due to multiple jars or misdeployed hbase.
> >>
> >> check your hbase dir again, there should only be 1 copy of hbase*.jar,
> >> if there are 2 and they are different (you can use md5sum to compare)
> >> that could be the cause of the issue.
> >>
> >> -ryan
> >>
> >> On Sat, Dec 18, 2010 at 10:15 PM, 陈加俊 <cjjvict...@gmail.com> wrote:
> >> > 2010-12-18 18:11:00,333 DEBUG
> >> > org.apache.hadoop.hbase.regionserver.CompactSplitThread: Compaction
> >> > requested for region cjjBeeDocument,\x00\x00\x00\
> >> > x00\x00\x0F\xF7x,1292667057185/110111081 because: Region has
> references
> >> on
> >> > open
> >> > 2010-12-18 18:11:00,333 INFO
> >> org.apache.hadoop.hbase.regionserver.HRegion:
> >> > Starting compaction on region
> cjjBeeDocument,\x00\x00\x00\x00\x00\x0F\xF
> >> > 7x,1292667057185
> >> > 2010-12-18 18:11:00,335 DEBUG
> org.apache.hadoop.hbase.regionserver.Store:
> >> > audit: no store files to compact
> >> > 2010-12-18 18:11:00,341 INFO
> org.apache.hadoop.hbase.regionserver.Store:
> >> > Started compaction of 4 file(s) in data of
> >> cjjBeeDocument,\x00\x00\x00\x00
> >> > \x00\x0F\xF7x,1292667057185, hasReferences=true, into
> >> > /hbase/cjjBeeDocument/compaction.dir/110111081, seqid=21875682
> >> > 2010-12-18 18:11:06,795 WARN
> org.apache.hadoop.hbase.regionserver.HLog:
> >> IPC
> >> > Server handler 26 on 60020 took 1369ms appending an edit to hlog;
> >> > editcount=193499
> >> > 2010-12-18 18:11:10,854 ERROR
> >> > org.apache.hadoop.hbase.regionserver.CompactSplitThread: Compaction
> >> failed
> >> > for region cjjBeeDocument,\x00\x00\x00\x00\x00\x0F\xF7x,1292667057185
> >> > java.lang.NullPointerException
> >> > at java.nio.ByteBuffer.allocate(ByteBuffer.java:329)
> >> > at
> >> >
> org.apache.hadoop.hbase.io.hfile.HFile$Reader.decompress(HFile.java:1017)
> >> > at
> >> >
> org.apache.hadoop.hbase.io.hfile.HFile$Reader.readBlock(HFile.java:966)
> >> > at
> >> >
> >>
> org.apache.hadoop.hbase.io.hfile.HFile$Reader$Scanner.next(HFile.java:1159)
> >> > at
> >> >
> >>
> org.apache.hadoop.hbase.io.HalfHFileReader$1.next(HalfHFileReader.java:120)
> >> > at
> >> >
> >>
>
> org.apache.hadoop.hbase.regionserver.StoreFileScanner.next(StoreFileScanner.java:58)
> >> > at
> >> >
> >>
>
> org.apache.hadoop.hbase.regionserver.KeyValueHeap.next(KeyValueHeap.java:79)
> >> > at
> >> >
> >>
>
> org.apache.hadoop.hbase.regionserver.MinorCompactingStoreScanner.next(MinorCompactingStoreScanner.java:96)
> >> > at
> >> > org.apache.hadoop.hbase.regionserver.Store.compact(Store.java:922)
> >> > at
> >> > org.apache.hadoop.hbase.regionserver.Store.compact(Store.java:765)
> >> > at
> >> >
> >>
>
> org.apache.hadoop.hbase.regionserver.HRegion.compactStores(HRegion.java:833)
> >> > at
> >> >
> >>
>
> org.apache.hadoop.hbase.regionserver.HRegion.compactStores(HRegion.java:786)
> >> > at
> >> >
> >>
>
> org.apache.hadoop.hbase.regionserver.CompactSplitThread.run(CompactSplitThread.java:93)
> >> >
> >> >
> >> > at last there is the fatal log :
> >> >
> >> > 2010-12-18 20:04:34,271 FATAL
> >> > org.apache.hadoop.hbase.regionserver.HRegionServer: Set stop flag in
> >> > regionserver/192.168.0.173:60020.compactor
> >> > java.lang.NoSuchMethodError:
> >> > org.apache.hadoop.hbase.io.hfile.HFile$Reader.lastkey[B
> >> > at
> >> >
> org.apache.hadoop.hbase.io.hfile.HFile$Reader.decompress(HFile.java:1017)
> >> > at
> >> >
> org.apache.hadoop.hbase.io.hfile.HFile$Reader.readBlock(HFile.java:966)
> >> > at
> >> >
> >>
> org.apache.hadoop.hbase.io.hfile.HFile$Reader$Scanner.next(HFile.java:1159)
> >> > at
> >> >
> >>
> org.apache.hadoop.hbase.io.HalfHFileReader$1.next(HalfHFileReader.java:120)
> >> > at
> >> >
> >>
>
> org.apache.hadoop.hbase.regionserver.StoreFileScanner.next(StoreFileScanner.java:58)
> >> > at
> >> >
> >>
>
> org.apache.hadoop.hbase.regionserver.KeyValueHeap.next(KeyValueHeap.java:79)
> >> > at
> >> >
> >>
>
> org.apache.hadoop.hbase.regionserver.MinorCompactingStoreScanner.next(MinorCompactingStoreScanner.java:96)
> >> > at
> >> > org.apache.hadoop.hbase.regionserver.Store.compact(Store.java:922)
> >> > at
> >> > org.apache.hadoop.hbase.regionserver.Store.compact(Store.java:765)
> >> > at
> >> >
> >>
>
> org.apache.hadoop.hbase.regionserver.HRegion.compactStores(HRegion.java:833)
> >> > at
> >> >
> >>
>
> org.apache.hadoop.hbase.regionserver.HRegion.compactStores(HRegion.java:786)
> >> > at
> >> >
> >>
>
> org.apache.hadoop.hbase.regionserver.CompactSplitThread.run(CompactSplitThread.java:93)
> >> >
> >> >
> >> > Version: HBase 0.20.6 + HDFS 0.20.2
> >> >
> >> > --
> >> > Thanks & Best regards
> >> > jiajun
> >> >
> >>
> >
> >
> >
> > --
> > Thanks & Best regards
> > jiajun
>



-- 
Thanks & Best regards
jiajun

Reply via email to