Comment 1 for bug 1290610

Revision history for this message
Oliver Bucaojit (oliver-bucaojit) wrote :

I have a fix for this, the code change will check the new name for an old log directory vs the recovered_edits. Will check into seatrans_2 when branch is stabilized:

+import org.apache.hadoop.hbase.HConstants;
...

- Path oldLogDir = new Path(getRootDir(), HLogSplitter.RECOVERED_EDITS);
+ // Directory used in newer version
+ // Path oldLogDir = new Path(getRootDir(), HLogSplitter.RECOVERED_EDITS);
+ Path oldLogDir = new Path(getRootDir(), HConstants.HREGION_OLDLOGDIR_NAME);