You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "dragon (JIRA)" <ji...@apache.org> on 2016/03/15 09:15:37 UTC

[jira] [Created] (HDFS-10043) CLONE - DistributedFileSystem.createErasureCodingZone should pass schema in FileSystemLinkResolver

dragon created HDFS-10043:
-----------------------------

             Summary: CLONE - DistributedFileSystem.createErasureCodingZone should pass schema in FileSystemLinkResolver
                 Key: HDFS-10043
                 URL: https://issues.apache.org/jira/browse/HDFS-10043
             Project: Hadoop HDFS
          Issue Type: Sub-task
            Reporter: dragon
            Assignee: Tsz Wo Nicholas Sze
             Fix For: HDFS-7285


It current passes null and ignores the input schema.
{code}
  public void createErasureCodingZone(final Path path, final ECSchema schema)
      throws IOException {
    Path absF = fixRelativePart(path);
    new FileSystemLinkResolver<Void>() {
      @Override
      public Void doCall(final Path p) throws IOException,
          UnresolvedLinkException {
        dfs.createErasureCodingZone(getPathName(p), null);
        return null;
      }
    ...
    }.resolve(this, absF);
  }
{code}




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)