I had TestDistributedLogSplitting.testRecoveredEdits fail on a internal test rig. It's very infrequent.
The proximal failure looks like
HBASE-9002, the assertion finds 0 edits instead of 1000.
Looking through the logs, the #regions printed is 1
And then in the makeHLog method I never see any log entry for the actual writing
I think what's happening is we're picking a region that is META or ROOT, so the checks after the "#regions=" line removes the region and we end up inserting no data.
It looks like the patch for
HBASE-9002 should fix this.