Gera Shegalov created HADOOP-11605:
--------------------------------------

             Summary: FilterFileSystem#create with ChecksumOpt should propagate 
it to wrapped FS
                 Key: HADOOP-11605
                 URL: https://issues.apache.org/jira/browse/HADOOP-11605
             Project: Hadoop Common
          Issue Type: Bug
          Components: fs
    Affects Versions: 2.6.0
            Reporter: Gera Shegalov
            Assignee: Gera Shegalov
            Priority: Minor


Current create code
{code}
  @Override
  public FSDataOutputStream create(Path f,
        FsPermission permission,
        EnumSet<CreateFlag> flags,
        int bufferSize,
        short replication,
        long blockSize,
        Progressable progress,
        ChecksumOpt checksumOpt) throws IOException {
    return fs.create(f, permission,
      flags, bufferSize, replication, blockSize, progress);
  }
{code}

does not propagate ChecksumOpt. However, it should be up to the wrapped FS 
implementation (default is to ignore).



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

Reply via email to