MAPREDUCE-6094. TestMRCJCFileInputFormat.testAddInputPath() fails on trunk. Contributed by Akira AJISAKA
(cherry picked from commit 23fbfe36c3
)
This commit is contained in:
parent
c7cf212b2a
commit
7b8f2f5b1d
|
@ -177,6 +177,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
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue