From b18d3830aca00f44d31e42839578f24eecedf2c8 Mon Sep 17 00:00:00 2001 From: Gera Shegalov Date: Tue, 17 Feb 2015 00:24:37 -0800 Subject: [PATCH] HADOOP-11605. FilterFileSystem#create with ChecksumOpt should propagate it to wrapped FS. (gera) --- hadoop-common-project/hadoop-common/CHANGES.txt | 3 +++ .../src/main/java/org/apache/hadoop/fs/FilterFileSystem.java | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt index b8ed286c99..ebe23c7fa0 100644 --- a/hadoop-common-project/hadoop-common/CHANGES.txt +++ b/hadoop-common-project/hadoop-common/CHANGES.txt @@ -1031,6 +1031,9 @@ Release 2.7.0 - UNRELEASED HADOOP-11615. Update ServiceLevelAuth.md for YARN. (Brahma Reddy Battula via aajisaka) + HADOOP-11605. FilterFileSystem#create with ChecksumOpt should propagate it + to wrapped FS. (gera) + Release 2.6.1 - UNRELEASED INCOMPATIBLE CHANGES diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FilterFileSystem.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FilterFileSystem.java index d4080adc74..d14a272e25 100644 --- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FilterFileSystem.java +++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FilterFileSystem.java @@ -190,7 +190,7 @@ public FSDataOutputStream create(Path f, Progressable progress, ChecksumOpt checksumOpt) throws IOException { return fs.create(f, permission, - flags, bufferSize, replication, blockSize, progress); + flags, bufferSize, replication, blockSize, progress, checksumOpt); } @Override