Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-11605

FilterFileSystem#create with ChecksumOpt should propagate it to wrapped FS

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.6.0
    • Fix Version/s: 2.7.0
    • Component/s: fs
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

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

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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jira.shegalov Gera Shegalov
                Reporter:
                jira.shegalov Gera Shegalov
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: