Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase >> mail # user >> Risk about RS logs clean ?


Copy link to this message
-
Risk about RS logs clean ?
Hi,all
I want to know how RS eliminates the unnecessary hlogs.
lastSeqNum stores <RegionName, latest KV Seq id>
and
outputfiles stores <last Seq id before new hlog file, file path>

So, how does rs guarantee that the kv in the hlog to be cleared  have been
already flushed from memstore into hfile.
I have try to read source code to make sense, however, I am not sure
whether it is a source of the risk of data loss.

Thanks.
--
Bing Jiang
Tel:(86)134-2619-1361
weibo: http://weibo.com/jiangbinglover
BLOG: http://blog.sina.com.cn/jiangbinglover
National Research Center for Intelligent Computing Systems
Institute of Computing technology
Graduate University of Chinese Academy of Science
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB