hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ChingShen <chingshenc...@gmail.com>
Subject About the Log entries?
Date Mon, 19 Apr 2010 06:54:09 GMT
Hi,

   I wrote a sequential put example(300,000 rows, the memstore will not
reach 64MB) to check how does the HLog work.

2010-04-19 13:51:25,340 INFO org.apache.hadoop.hbase.regionserver.HLog: *
Roll* /hbase/.logs/52-0980216-01,48562,1271656125926/hlog.dat.1271656125952,
entries=*291111*, calcsize=63753517, filesize=32619925. New hlog
/hbase/.logs/52-0980216-01,48562,1271656125926/hlog.dat.1271656285337

After I enter the "kill -9 master_pid" command and restart hbase:

2010-04-19 13:53:57,578 DEBUG org.apache.hadoop.hbase.regionserver.Store:
Added hdfs://localhost/hbase/test17/955259787/content/3876923764760772557,
entries=*291065*, sequenceid=32230123, memsize=48.9m, filesize=15.0m to
test17,,1271654370789

But why can I only get *291065* rather than *291111* rows? data loss?

Thanks.

Shen

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