|
@@ -771,7 +771,7 @@ public class MapFile {
|
|
|
String dr = (dryrun ? "[DRY RUN ] " : "");
|
|
|
Path data = new Path(dir, DATA_FILE_NAME);
|
|
|
Path index = new Path(dir, INDEX_FILE_NAME);
|
|
|
- int indexInterval = 128;
|
|
|
+ int indexInterval = conf.getInt(Writer.INDEX_INTERVAL, 128);
|
|
|
if (!fs.exists(data)) {
|
|
|
// there's nothing we can do to fix this!
|
|
|
throw new Exception(dr + "Missing data file in " + dir + ", impossible to fix this.");
|