hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 永江梁 <liangyongji...@summba.com>
Subject Re: some region Could not seek StoreFileScanner[HFileScanner for reader
Date Thu, 19 Apr 2012 05:54:36 GMT
hi :
      recently, i use OffMetaRepair to rebulid meta table, but some region
 Could not seek StoreFileScanner[HFileScanner for reader.
     Then i prefix scan rows of the table, it will wait with some row until
scannertimeout。I try to delete the error row with Delete(),but not
worked。how i can repair the failed region?
      Bellow is the error log.

Error log  :

java.io.IOException: java.io.IOException: Could not seek
StoreFileScanner[HFileScanner for reader
reader=hdfs://namenode:54321/hbase/csmt.table/340943837/meta/6858363498326682689,
compression=none, inMemory=false,
firstKey=p|f243e3d21568d0e30f59c71c7bfbbb59|180268928|web|dc5dc417d0bfa516b5fa515b8d4b8d2d/meta:author/1296107871180/Put,
lastKey=p|fffeecfcc47b6ca4539acb31d1e772c3|182428928|web|19c76044a0b44a0340aca423b946fbc4/meta:score/1319101921758/Put,
avgKeyLen=103, avgValueLen=33, entries=5847768, length=856754428, cur=null]

     at
org.apache.hadoop.hbase.regionserver.StoreFileScanner.seek(StoreFileScanner.java:104)

     at
org.apache.hadoop.hbase.regionserver.StoreScanner.<init>(StoreScanner.java:77)

     at
org.apache.hadoop.hbase.regionserver.Store.getScanner(Store.java:1398)

     at
org.apache.hadoop.hbase.regionserver.HRegion$RegionScanner.<init>(HRegion.java:2392)

     at
org.apache.hadoop.hbase.regionserver.HRegion.instantiateInternalScanner(HRegion.java:1140)

     at
org.apache.hadoop.hbase.regionserver.HRegion.getScanner(HRegion.java:1132)

     at
org.apache.hadoop.hbase.regionserver.HRegion.getScanner(HRegion.java:1116)

     at org.apache.hadoop.hbase.regionserver.HRegion.get(HRegion.java:3117)

     at org.apache.hadoop.hbase.regionserver.HRegion.get(HRegion.java:3019)

     at
org.apache.hadoop.hbase.regionserver.HRegionServer.get(HRegionServer.java:1669)

     at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)

     at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

     at java.lang.reflect.Method.invoke(Method.java:597)

     at org.apache.hadoop.hbase.ipc.HBaseRPC$Server.call(HBaseRPC.java:570)

     at
org.apache.hadoop.hbase.ipc.HBaseServer$Handler.run(HBaseServer.java:1039)

Caused by: java.io.IOException: Cannot open filename
/hbase/csmt.table/340943837/meta/6858363498326682689

     at
org.apache.hadoop.hdfs.DFSClient$DFSInputStream.openInfo(DFSClient.java:1526)

     at
org.apache.hadoop.hdfs.DFSClient$DFSInputStream.chooseDataNode(DFSClient.java:1894)

     at
org.apache.hadoop.hdfs.DFSClient$DFSInputStream.fetchBlockByteRange(DFSClient.java:1915)

     at
org.apache.hadoop.hdfs.DFSClient$DFSInputStream.read(DFSClient.java:1992)

     at
org.apache.hadoop.fs.FSDataInputStream.read(FSDataInputStream.java:46)

     at
org.apache.hadoop.hbase.io.hfile.BoundedRangeFileInputStream.read(BoundedRangeFileInputStream.java:101)

     at java.io.BufferedInputStream.read1(BufferedInputStream.java:256)

     at java.io.BufferedInputStream.read(BufferedInputStream.java:317)

     at org.apache.hadoop.io.IOUtils.readFully(IOUtils.java:102)

     at
org.apache.hadoop.hbase.io.hfile.HFile$Reader.decompress(HFile.java:1094)

     at
org.apache.hadoop.hbase.io.hfile.HFile$Reader.readBlock(HFile.java:1036)

     at
org.apache.hadoop.hbase.io.hfile.HFile$Reader$Scanner.loadBlock(HFile.java:1442)

     at
org.apache.hadoop.hbase.io.hfile.HFile$Reader$Scanner.seekTo(HFile.java:1299)

     at
org.apache.hadoop.hbase.regionserver.StoreFileScanner.seekAtOrAfter(StoreFileScanner.java:136)

     at
org.apache.hadoop.hbase.regionserver.StoreFileScanner.seek(StoreFileScanner.java:96)

     ... 14 more

org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.getRegionServerWithRetries(HConnectionManager.java:1024)

     at org.apache.hadoop.hbase.client.HTable.get(HTable.java:555)

     at cn.goo5.web.api.Goo5Interface.getReview(Goo5Interface.java:140)

     at
cn.goo5.web.api.Goo5Interface.getReviewListByID(Goo5Interface.java:302)

     at
cn.goo5.web.product.util.ProductUtils.getReviews(ProductUtils.java:601)


-- 
best.
yongjiang

www.yeezhao.com
购物不用淘,一找全知道!*  *

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message