1
0
Selaa lähdekoodia

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

Zhe Zhang 10 vuotta sitten
vanhempi
commit
2f11109bb0

+ 3 - 0
hadoop-hdfs-project/hadoop-hdfs/CHANGES-HDFS-EC-7285.txt

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

+ 1 - 1
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DistributedFileSystem.java

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