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

FilterFileSystem#create with ChecksumOpt should propagate it to wrapped FS

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.6.0
    • 2.7.0
    • fs
    • None
    • 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

        1. HADOOP-11605.001.patch
          0.9 kB
          Gera Shegalov

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment