|
@@ -98,6 +98,7 @@ public class TestLineRecordReader extends TestCase {
|
|
InterruptedException, ClassNotFoundException {
|
|
InterruptedException, ClassNotFoundException {
|
|
Configuration conf = new Configuration();
|
|
Configuration conf = new Configuration();
|
|
conf.set("textinputformat.record.delimiter", "\t\n");
|
|
conf.set("textinputformat.record.delimiter", "\t\n");
|
|
|
|
+ conf.setInt("mapreduce.job.maps", 1);
|
|
FileSystem localFs = FileSystem.getLocal(conf);
|
|
FileSystem localFs = FileSystem.getLocal(conf);
|
|
// cleanup
|
|
// cleanup
|
|
localFs.delete(workDir, true);
|
|
localFs.delete(workDir, true);
|