hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 无名氏 <sitong1...@gmail.com>
Subject Re: Received RetriesExhaustedException when write to hbase table, or received WrongRegionException when read from hbase table.
Date Thu, 08 Apr 2010 03:35:43 GMT
I am anxious how to repair the region, or recreate the region for continue
write.
No need to recover data.

thks


2010/4/8 Jean-Daniel Cryans <jdcryans@apache.org>

> I would also like to know why your region server went bad, but I'm
> missing a lot of information here ;) Like the version of hadoop/hbase,
> size of your cluster, the hardware, what/how much are you trying to
> insert, and definitely some master and region server logs either in a
> pastebin or on a web server, not directly into the email.
>
> Thx,
>
> J-D
>
> On Wed, Apr 7, 2010 at 1:33 AM, 无名氏 <sitong1978@gmail.com> wrote:
> > Some region server bad, I doubt.
> >
> > When I write record to HBase table, throw RetriesExhaustedException:
> >
> > Exception in thread "main"
> > org.apache.hadoop.hbase.client.RetriesExhaustedException: Trying to
> > contact region server Some server, retryOnlyOne=true, index=0,
> > islastrow=true, tries=9, numtries=10, i=0, listsize=1,
> >
> region=web_info,r:http:\x2F\x2Fcom.ccidnet.linux.bbs\x2Fread.php\x3Ftid\x3D593055\x26fpage\x3D0\x26toread\x3D\x26page\x3D1,1270529565993
> > for region
> web_info,r:http:\x2F\x2Fcom.ccidnet.linux.bbs\x2Fread.php\x3Ftid\x3D593055\x26fpage\x3D0\x26toread\x3D\x26page\x3D1,1270529565993,
> > row
> 'r:http:\x2F\x2Fcom.ccidnet.linux.bbs\x2Fread.php\x3Ftid\x3D665064\x26page\x3De\x26fpage\x3D19',
> > but failed after 10 attempts.
> > Exceptions:
> >        at
> org.apache.hadoop.hbase.client.HConnectionManager$TableServers$Batch.process(HConnectionManager.java:1120)
> >        at
> org.apache.hadoop.hbase.client.HConnectionManager$TableServers.processBatchOfRows(HConnectionManager.java:1201)
> >        at
> org.apache.hadoop.hbase.client.HTable.flushCommits(HTable.java:605)
> >        at storage.client.FeedSchema.flushCommits(FeedSchema.java:72)
> >
> > When I read info from HBase table.
> > org.apache.hadoop.hbase.regionserver.WrongRegionException:
> > org.apache.hadoop.hbase.regionserver.WrongRegionException: Requested row
> out
> > of range for HRegion
> >
> web_info,r:http:\x2F\x2Fcom.ccidnet.linux.bbs\x2Fread.php\x3Ftid\x3D593055\x26fpage\x3D0\x26toread\x3D\x26page\x3D1,1270529565993,
> >
> startKey='r:http:\x2F\x2Fcom.ccidnet.linux.bbs\x2Fread.php\x3Ftid\x3D593055\x26fpage\x3D0\x26toread\x3D\x26page\x3D1',
> >
> getEndKey()='r:http:\x2F\x2Fcom.ccidnet.linux.bbs\x2Fread.php\x3Ftid\x3D643994',
> >
> row='r:http:\x2F\x2Fcom.ccidnet.linux.bbs\x2Fread.php\x3Ftid\x3D665064\x26page\x3De\x26fpage\x3D19'
> >        at
> > org.apache.hadoop.hbase.regionserver.HRegion.checkRow(HRegion.java:1522)
> >        at
> >
> org.apache.hadoop.hbase.regionserver.HRegion.obtainRowLock(HRegion.java:1554)
> >        at
> > org.apache.hadoop.hbase.regionserver.HRegion.getLock(HRegion.java:1622)
> >        at
> > org.apache.hadoop.hbase.regionserver.HRegion.get(HRegion.java:2285)
> >        at
> >
> org.apache.hadoop.hbase.regionserver.HRegionServer.get(HRegionServer.java:1788)
> >        at sun.reflect.GeneratedMethodAccessor7.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:648)
> >        at
> > org.apache.hadoop.hbase.ipc.HBaseServer$Handler.run(HBaseServer.java:915)
> >
> > I get META info through hbase shell.
> > command:
> >  get '.META.',
> >
> "web_info,r:http:\x2F\x2Fcom.ccidnet.linux.bbs\x2Fread.php\x3Ftid\x3D593055\x26fpage\x3D0\x26toread\x3D\x26page\x3D1,1270529565993"
> > result :
> > COLUMN
> > CELL
> >
> >  info:regioninfo             timestamp=1270529567780, value=REGION =>
> {NAME
> > => 'web_info,r:http:\\x2F\\x2Fcom.
> >
> >
> ccidnet.linux.bbs\\x2Fread.php\\x3Ftid\\x3D593055\\x26fpage\\x3D0\\x26toread\\x3D
> >                             \\x26page\\x3D1,1270529565993', STARTKEY =>
> > 'r:http:\\x2F\\x2Fcom.ccidnet.linux.b
> >
> >
> bs\\x2Fread.php\\x3Ftid\\x3D593055\\x26fpage\\x3D0\\x26toread\\x3D\\x26page\\x3D1
> >                             ', ENDKEY =>
> > 'r:http:\\x2F\\x2Fcom.ccidnet.linux.bbs\\x2Fread.php\\x3Ftid\\x3D643
> >                             994', ENCODED => 1771513916, TABLE => {{NAME
> =>
> > 'web_info', FAMILIES => [{NAME =>
> >                              'article_dedup', VERSIONS => '2',
> COMPRESSION
> > => 'NONE', TTL => '2147483647', BL
> >                             OCKSIZE => '65536', IN_MEMORY => 'false',
> > BLOCKCACHE => 'true'}, {NAME => 'dedup'
> >                             , VERSIONS => '2', COMPRESSION => 'NONE', TTL
> > => '2147483647', BLOCKSIZE => '6553
> >                             6', IN_MEMORY => 'false', BLOCKCACHE =>
> > 'true'}, {NAME => 'global', VERSIONS => '
> >                             2', COMPRESSION => 'NONE', TTL =>
> '2147483647',
> > BLOCKSIZE => '65536', IN_MEMORY =
> >                             > 'true', BLOCKCACHE => 'true'}, {NAME =>
> > 'page_type', VERSIONS => '2', COMPRESSI
> >                             ON => 'NONE', TTL => '2147483647', BLOCKSIZE
> =>
> > '65536', IN_MEMORY => 'false', BL
> >                             OCKCACHE => 'true'}, {NAME => 'parser',
> > VERSIONS => '2', COMPRESSION => 'GZ', TTL
> >                              => '2147483647', BLOCKSIZE => '65536',
> > IN_MEMORY => 'false', BLOCKCACHE => 'true
> >                             '}, {NAME => 'pid_match', VERSIONS => '2',
> > COMPRESSION => 'NONE', TTL => '2147483
> >                             647', BLOCKSIZE => '65536', IN_MEMORY =>
> > 'false', BLOCKCACHE => 'true'}, {NAME =>
> >                              'raw', VERSIONS => '2', COMPRESSION => 'GZ',
> > TTL => '2147483647', BLOCKSIZE => '
> >                             65536', IN_MEMORY => 'false', BLOCKCACHE =>
> > 'true'}, {NAME => 'score', VERSIONS =
> >                             > '2', COMPRESSION => 'NONE', TTL =>
> > '2147483647', BLOCKSIZE => '65536', IN_MEMOR
> >                             Y => 'false', BLOCKCACHE =>
> > 'true'}]}}
> >  info:server                 timestamp=1270624032527, value=
> > 172.23.50.3:60020
> >  info:serverstartcode        timestamp=1270624032527, value=1270623960260
> >
> > Now, I want to know why region server bad,  and especially how to repair
> my
> > table.
> >
> > thks.
> >
>

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