MAPREDUCE-6094. TestMRCJCFileInputFormat.testAddInputPath() fails on trunk. Contributed by Akira AJISAKA

This commit is contained in:
Jason Lowe 2014-09-29 18:11:16 +00:00
parent 371ef4cefc
commit 23fbfe36c3
2 changed files with 4 additions and 2 deletions

View File

@ -396,6 +396,9 @@ Release 2.6.0 - UNRELEASED
MRJobConfig#MR_CLIENT_TO_AM_IPC_MAX_RETRIES_ON_TIMEOUTS. Contributed by MRJobConfig#MR_CLIENT_TO_AM_IPC_MAX_RETRIES_ON_TIMEOUTS. Contributed by
Akira AJISAKA. (Akira AJISAKA via jianhe) Akira AJISAKA. (Akira AJISAKA via jianhe)
MAPREDUCE-6094. TestMRCJCFileInputFormat.testAddInputPath() fails on trunk
(Akira AJISAKA via jlowe)
Release 2.5.1 - 2014-09-05 Release 2.5.1 - 2014-09-05
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES

View File

@ -47,9 +47,8 @@ public class TestMRCJCFileInputFormat {
@Test @Test
public void testAddInputPath() throws IOException { public void testAddInputPath() throws IOException {
final Configuration conf = new Configuration(); final Configuration conf = new Configuration();
conf.set("fs.defaultFS", "s3://abc:xyz@hostname/"); conf.set("fs.defaultFS", "file:///abc/");
final Job j = Job.getInstance(conf); final Job j = Job.getInstance(conf);
j.getConfiguration().set("fs.defaultFS", "s3://abc:xyz@hostname/");
//setup default fs //setup default fs
final FileSystem defaultfs = FileSystem.get(conf); final FileSystem defaultfs = FileSystem.get(conf);