hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo Nicholas Sze (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-8212) DistributedFileSystem.createErasureCodingZone should pass schema in FileSystemLinkResolver
Date Tue, 21 Apr 2015 20:36:59 GMT
Tsz Wo Nicholas Sze created HDFS-8212:
-----------------------------------------

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


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)

Mime
View raw message