HDFS-8212. DistributedFileSystem.createErasureCodingZone should pass schema in FileSystemLinkResolver. Contributed by Tsz Wo Nicholas Sze.

This commit is contained in:
Zhe Zhang 2015-04-21 21:03:07 -07:00 committed by Zhe Zhang
parent e9d85bbf30
commit 2f11109bb0
2 changed files with 4 additions and 1 deletions

View File

@ -110,3 +110,6 @@
HDFS-8216. TestDFSStripedOutputStream should use BlockReaderTestUtil to
create BlockReader. (szetszwo via Zhe Zhang)
HDFS-8212. DistributedFileSystem.createErasureCodingZone should pass schema
in FileSystemLinkResolver. (szetszwo via Zhe Zhang)

View File

@ -2290,7 +2290,7 @@ public class DistributedFileSystem extends FileSystem {
@Override
public Void doCall(final Path p) throws IOException,
UnresolvedLinkException {
dfs.createErasureCodingZone(getPathName(p), null);
dfs.createErasureCodingZone(getPathName(p), schema);
return null;
}