Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-7285 Erasure Coding Support inside HDFS
  3. HDFS-8212

DistributedFileSystem.createErasureCodingZone should pass schema in FileSystemLinkResolver

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • HDFS-7285
    • None
    • None
    • Reviewed

    Description

      It current passes null and ignores the input schema.

        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);
        }
      

      Attachments

        1. h8212_20150421.patch
          0.8 kB
          Tsz-wo Sze

        Activity

          People

            szetszwo Tsz-wo Sze
            szetszwo Tsz-wo Sze
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: