Re: Is there a way to close automatically log deletion in HBase?

2013-02-04 Thread ramkrishna vasudevan
Hi Sorry for the delay in response. I don't have a working example with me for customized LogCleaner class. But you can add one using the property "hbase.master.logcleaner.plugins". Regards Ram On Sat, Feb 2, 2013 at 9:21 PM, yonghu wrote: > Thanks for your useful information. By the way, can

Re: Is there a way to close automatically log deletion in HBase?

2013-02-02 Thread yonghu
Thanks for your useful information. By the way, can you give me an example about how I can define the customized logcleaner class. regards! Yong On Sat, Feb 2, 2013 at 1:54 PM, ramkrishna vasudevan wrote: > Ya i think that is the property that controls the archiving of the logs. > So the other

Re: Is there a way to close automatically log deletion in HBase?

2013-02-02 Thread ramkrishna vasudevan
Ya i think that is the property that controls the archiving of the logs. So the other properties are wrt Log Rolling and no of logs that is needed before rolling happens. But these parameters determine the time taken for recovery in case of RS failure. Your purpose is to maintain the logs so that

Re: Is there a way to close automatically log deletion in HBase?

2013-02-02 Thread yonghu
Dear Ram, Thanks for your response. Yes Log means WAL logs. Now, I can define a postWALWrite trigger to write the WAL entries into the specific file as I want, however, it's too slow. The problem is that hbase automatically delete log entries. However, I found some properties such as hbase.maste

Re: Is there a way to close automatically log deletion in HBase?

2013-02-02 Thread ramkrishna vasudevan
Logs of hbase you mean the normal logging or the WAL logs. Sorry am not getting your question here. WAL trigger is for the WAL logs. Regards Ram On Sat, Feb 2, 2013 at 1:31 PM, yonghu wrote: > Hello, > > For some reasons, I need to analyze the log of hbase. However, the log > will be automatic