[
https://issues.apache.org/jira/browse/HBASE-533?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12600575#action_12600575
]
Jean-Daniel Cryans commented on HBASE-533:
------------------------------------------
Example ouput of a region that is the product of 2 splits :
||Timestamp||Event||Description||
|Wed, 28 May 2008 14:30:59| creation |[loading,,1211999664938]
[loading,,1211999459183] Region creation|
|Wed, 28 May 2008 14:31:00| creation |[loading,,1211999664938]
[loading,,1211999459183] Region creation|
|Wed, 28 May 2008 14:31:00| compaction |[loading,,1211999664938]
[loading,,1211999459183] Region compaction|
|Wed, 28 May 2008 14:31:03| open |[loading,,1211999664938]
[loading,,1211999459183] Region opened on server : lasi-jd|
|Wed, 28 May 2008 14:31:48| compaction |[loading,,1211999664938]
[loading,,1211999459183] Region compaction|
|Wed, 28 May 2008 14:32:21| compaction |[loading,,1211999664938]
[loading,,1211999459183] Region compaction|
|Wed, 28 May 2008 14:33:47| compaction |[loading,,1211999664938]
[loading,,1211999459183] Region compaction|
|Wed, 28 May 2008 14:34:23| compaction |[loading,,1211999664938]
[loading,,1211999459183] Region compaction|
|Wed, 28 May 2008 14:34:37| creation |[loading,,1211999664938]
Region creation|
|Wed, 28 May 2008 14:34:37| split |[loading,,1211999664938] Region split
from : loading,,1211999459183|
|Wed, 28 May 2008 14:34:38| creation |[loading,,1211999664938]
Region creation|
|Wed, 28 May 2008 14:34:41| open |[loading,,1211999664938] Region opened
on server : lasi-jd|
|Wed, 28 May 2008 14:35:56| compaction |[loading,,1211999664938]
Region compaction|
|Wed, 28 May 2008 14:39:07| compaction |[loading,,1211999664938]
Region compaction|
|Wed, 28 May 2008 14:45:48| compaction |[loading,,1211999664938]
Region compaction|
|Wed, 28 May 2008 14:45:56| creation |Region creation|
|Wed, 28 May 2008 14:45:56| split |Region split from :
loading,,1211999664938|
|Wed, 28 May 2008 14:45:59| creation |Region creation|
|Wed, 28 May 2008 14:46:03| open |Region opened on server : lasi-jd|
> Region Historian
> ----------------
>
> Key: HBASE-533
> URL: https://issues.apache.org/jira/browse/HBASE-533
> Project: Hadoop HBase
> Issue Type: Wish
> Reporter: Bryan Duxbury
> Assignee: Jean-Daniel Cryans
> Priority: Minor
>
> Whenever we try to debug region splitting, assignment, compaction, etc.
> issues, we always end up having to look in 1-20 different log files for
> cryptic names of regions and try to piece together the chain of events
> ourselves. This is a challenging at best effort most of the time.
> What would be very useful would be a new utility I've nicknamed the Region
> Historian. You give it the text name of a region, and it will track down the
> log messages relevant to it in the master and regionserver logs. Then, it
> will interleave the messages in such a way that the timestamps correctly list
> the order of events. The result is a log summary that accurately describes
> what happened to a region during it's lifetime, making it much easier to try
> and figure out where something went wrong.
> Other things it could do would be replace cryptic log messages with simple
> events like "the region was split into a and b", "the region was assigned to
> server x", and trace the lineage of a region backwards to its parent before
> it came into existence.
> I'm sure there are other things we would think up that would be useful as
> well.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.