From e45149bf70b5356696a0bd18a9a5ef832a704e95 Mon Sep 17 00:00:00 2001 From: Akira Ajisaka Date: Tue, 16 Feb 2021 14:50:50 +0900 Subject: [PATCH] HDFS-15836. RBF: Fix contract tests after HADOOP-13327 (#2702) Reviewed-by: Ayush Saxena (cherry picked from commit 2b3c5b173381204bd8d2c984f19c52104a419322) --- .../src/test/resources/contract/hdfs.xml | 15 +++++++++++++++ .../src/test/resources/contract/webhdfs.xml | 15 +++++++++++++++ 2 files changed, 30 insertions(+) diff --git a/hadoop-hdfs-project/hadoop-hdfs-rbf/src/test/resources/contract/hdfs.xml b/hadoop-hdfs-project/hadoop-hdfs-rbf/src/test/resources/contract/hdfs.xml index 261d4ba1365..ae280a8e450 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-rbf/src/test/resources/contract/hdfs.xml +++ b/hadoop-hdfs-project/hadoop-hdfs-rbf/src/test/resources/contract/hdfs.xml @@ -111,4 +111,19 @@ true + + fs.contract.supports-hflush + true + + + + fs.contract.supports-hsync + true + + + + fs.contract.metadata_updated_on_hsync + false + + diff --git a/hadoop-hdfs-project/hadoop-hdfs-rbf/src/test/resources/contract/webhdfs.xml b/hadoop-hdfs-project/hadoop-hdfs-rbf/src/test/resources/contract/webhdfs.xml index 0cb6dd8a6d0..45aaa226425 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-rbf/src/test/resources/contract/webhdfs.xml +++ b/hadoop-hdfs-project/hadoop-hdfs-rbf/src/test/resources/contract/webhdfs.xml @@ -28,4 +28,19 @@ true + + fs.contract.supports-hflush + false + + + + fs.contract.supports-hsync + false + + + + fs.contract.metadata_updated_on_hsync + false + +