MAPREDUCE-4777. In TestIFile, testIFileReaderWithCodec relies on testIFileWriterWithCodec. Contributed by Sandy Ryza
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1406645 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
817a26b6c8
commit
8d483fff2c
@ -194,6 +194,9 @@ Release 2.0.3-alpha - Unreleased
|
||||
|
||||
MAPREDUCE-1806. CombineFileInputFormat does not work with paths not on default FS. (Gera Shegalov via tucu)
|
||||
|
||||
MAPREDUCE-4777. In TestIFile, testIFileReaderWithCodec relies on
|
||||
testIFileWriterWithCodec. (Sandy Ryza via tomwhite)
|
||||
|
||||
Release 2.0.2-alpha - 2012-09-07
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
@ -56,6 +56,10 @@ public void testIFileReaderWithCodec() throws Exception {
|
||||
Path path = new Path(new Path("build/test.ifile"), "data");
|
||||
DefaultCodec codec = new GzipCodec();
|
||||
codec.setConf(conf);
|
||||
IFile.Writer<Text, Text> writer =
|
||||
new IFile.Writer<Text, Text>(conf, rfs, path, Text.class, Text.class,
|
||||
codec, null);
|
||||
writer.close();
|
||||
IFile.Reader<Text, Text> reader =
|
||||
new IFile.Reader<Text, Text>(conf, rfs, path, codec, null);
|
||||
reader.close();
|
||||
|
Loading…
Reference in New Issue
Block a user