hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 茅旭峰 <m9s...@gmail.com>
Subject Re: The whole key space is not covered by the .META.
Date Mon, 11 Apr 2011 13:16:16 GMT
more input

from the hbase shell, I used scan '.META', I got

===
 table1,LC3MILeAUy8HmRFgU5-ESE-9T7w=,130 column=info:regioninfo,
timestamp=1300519437064, value=REGION => {NAME =>
'table1,LC3MILeAUy8HmRFgU5-ESE-9T7w=,13005
 0519432575.0bdd3d8fa7fc710860a4ee51fc9c
19432575.0bdd3d8fa7fc710860a4ee51fc9c8625.', STARTKEY =>
'LC3MILeAUy8HmRFgU5-ESE-9T7w=', ENDKEY => 'LD4jOJWFyt4m7A3K
 8625.                                   GFST6d-uj3A=', ENCODED =>
0bdd3d8fa7fc710860a4ee51fc9c8625, TABLE => {{NAME => 'table1', FAMILIES =>
[{NAME => 'cfES
                                         tore', BLOOMFILTER => 'NONE',
REPLICATION_SCOPE => '0', VERSIONS => '3', COMPRESSION => 'NONE', TTL =>
'2147483647',
                                          BLOCKSIZE => '65536', IN_MEMORY =>
'false', BLOCKCACHE => 'true'}]}}

 table1,LC3MILeAUy8HmRFgU5-ESE-9T7w=,130 column=info:server,
timestamp=1302521420981, value=cloud134:60020

 0519432575.0bdd3d8fa7fc710860a4ee51fc9c


 8625.


 table1,LC3MILeAUy8HmRFgU5-ESE-9T7w=,130 column=info:serverstartcode,
timestamp=1302521420981, value=1302520792395

 0519432575.0bdd3d8fa7fc710860a4ee51fc9c


 8625.


 table1,LC3MILeAUy8HmRFgU5-ESE-9T7w=,130 column=info:server,
timestamp=1300672190023, value=cloud140:60020

 0594695996.d534c265dca68bb262e1dbe223d5


 e93d.


 table1,LC3MILeAUy8HmRFgU5-ESE-9T7w=,130 column=info:serverstartcode,
timestamp=1300672190023, value=1300671116560

 0594695996.d534c265dca68bb262e1dbe223d5


 e93d.


 table1,LC_vN8JYweYYsnKaKbpOo67kUNA=,130 column=info:server,
timestamp=1300672190144, value=cloud140:60020

 0594695996.ba8e0bffb79bda039f6800f78ad2


 2dcd.


 table1,LC_vN8JYweYYsnKaKbpOo67kUNA=,130 column=info:serverstartcode,
timestamp=1300672190144, value=1300671116560

 0594695996.ba8e0bffb79bda039f6800f78ad2


 2dcd.


 table1,LD4jOJWFyt4m7A3KGFST6d-uj3A=,130 column=info:regioninfo,
timestamp=1300583209179, value=REGION => {NAME =>
'table1,LD4jOJWFyt4m7A3KGFST6d-uj3A=,13005
 0583204256.b7d6e116d91d516a0c1709fb29e7
83204256.b7d6e116d91d516a0c1709fb29e765b4.', STARTKEY =>
'LD4jOJWFyt4m7A3KGFST6d-uj3A=', ENDKEY => 'LDaGUgQLscCTC477
 65b4.                                   1l9Rq4MHORs=', ENCODED =>
b7d6e116d91d516a0c1709fb29e765b4, TABLE => {{NAME => 'table1', FAMILIES =>
[{NAME => 'cfES
                                         tore', BLOOMFILTER => 'NONE',
REPLICATION_SCOPE => '0', VERSIONS => '3', COMPRESSION => 'NONE', TTL =>
'2147483647',
                                          BLOCKSIZE => '65536', IN_MEMORY =>
'false', BLOCKCACHE => 'true'}]}}

 table1,LD4jOJWFyt4m7A3KGFST6d-uj3A=,130 column=info:server,
timestamp=1302521420744, value=cloud134:60020

 0583204256.b7d6e116d91d516a0c1709fb29e7


 65b4.


 table1,LD4jOJWFyt4m7A3KGFST6d-uj3A=,130 column=info:serverstartcode,
timestamp=1302521420744, value=1302520792395

 0583204256.b7d6e116d91d516a0c1709fb29e7


 65b4.


===

Looks like we do have the region ''LC3MILeAUy8HmRFgU5-ESE-9T7w='  to
'LD4jOJWFyt4m7A3KGFST6d-uj3A='.

I've tried flush '.META.' and major compact '.META.' in the shell, as link
http://www.mail-archive.com/hbase-dev@hadoop.apache.org/msg12210.html
suggested, but it did not work for me.

On Mon, Apr 11, 2011 at 7:50 PM, 茅旭峰 <m9suns@gmail.com> wrote:

> Hi,
>
> Is it possible that some table cannot cover the whole key space. What I saw
> was like
>
> ====
> hbase(main):006:0> put 'table1', 'abc', 'cfEStore:dasd', '123'
>
> 0 row(s) in 0.3030 seconds
>
> hbase(main):007:0> put 'table1', 'LCgwzrx2XTFkB2Ymz9HeJWPY0Ok=',
> 'cfEStore:dasd', '123'
>
> ERROR: java.io.IOException: HRegionInfo was null or empty in .META.,
> row=keyvalues={table1,LC_vN8JYweYYsnKaKbpOo67kUNA=,1300594695996.ba8e0bffb79bda039f6800f78ad22dcd./info:server/1300672190144/Put/vlen=14,
> table1,LC_vN8JYweYYsnKaKbpOo67kUNA=,1300594695996.ba8e0bffb79bda039f6800f78ad22dcd./info:serverstartcode/1300672190144/Put/vlen=8}
>
> Here is some help for this command:
> Put a cell 'value' at specified table/row/column and optionally
> timestamp coordinates.  To put a cell value into table 't1' at
> row 'r1' under column 'c1' marked with the time 'ts1', do:
>
>   hbase> put 't1', 'r1', 'c1', 'value', ts1
>
> ====
>
> I guess this means our table has lost some key range for the specific
> key 'LCgwzrx2XTFkB2Ymz9HeJWPY0Ok=',
> is this reasonable? I wonder what might cause this issue? How can I check
> it?
>
> One weird thing, I can see such lines like
>
> ====
>
> table1,LC3MILeAUy8HmRFgU5-ESE-9T7w=,1300519432575.0bdd3d8fa7fc710860a4ee51fc9c8625.
> LC3MILeAUy8HmRFgU5-ESE-9T7w= LD4jOJWFyt4m7A3KGFST6d-uj3A=
> ====
>
> from the web UI, which I think means the table has holds the key range for
> key 'LCgwzrx2XTFkB2Ymz9HeJWPY0Ok='
>
> I also have not seen any errors/warnings in the log file. Any suggestions?
>
> Thanks in advance.
>

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