|
@@ -27,13 +27,14 @@ import junit.framework.TestCase;
|
|
|
import org.apache.commons.logging.Log;
|
|
|
import org.apache.commons.logging.LogFactory;
|
|
|
import org.apache.hadoop.conf.Configuration;
|
|
|
-import org.apache.hadoop.hdfs.MiniDFSCluster;
|
|
|
import org.apache.hadoop.fs.FileSystem;
|
|
|
import org.apache.hadoop.fs.Path;
|
|
|
+import org.apache.hadoop.hdfs.MiniDFSCluster;
|
|
|
import org.apache.hadoop.io.LongWritable;
|
|
|
import org.apache.hadoop.io.Text;
|
|
|
import org.apache.hadoop.mapred.lib.IdentityMapper;
|
|
|
import org.apache.hadoop.mapred.lib.IdentityReducer;
|
|
|
+import org.apache.hadoop.mapreduce.MRConfig;
|
|
|
import org.apache.hadoop.mapreduce.server.jobtracker.JTConfig;
|
|
|
import org.apache.hadoop.util.Progressable;
|
|
|
|
|
@@ -67,6 +68,7 @@ public class TestSpecialCharactersInOutputPath extends TestCase {
|
|
|
|
|
|
// use WordCount example
|
|
|
FileSystem.setDefaultUri(conf, fileSys);
|
|
|
+ conf.set(MRConfig.FRAMEWORK_NAME, MRConfig.CLASSIC_FRAMEWORK_NAME);
|
|
|
conf.set(JTConfig.JT_IPC_ADDRESS, jobTracker);
|
|
|
conf.setJobName("foo");
|
|
|
|