From 0e694b20b9d59cc46882df506dcea386020b1e4d Mon Sep 17 00:00:00 2001
From: Siyao Meng <50227127+smengcl@users.noreply.github.com>
Date: Thu, 9 Jul 2020 12:38:52 -0700
Subject: [PATCH] HDFS-15462. Add fs.viewfs.overload.scheme.target.ofs.impl to
core-default.xml (#2131)
---
.../hadoop-common/src/main/resources/core-default.xml | 8 ++++++++
.../apache/hadoop/conf/TestCommonConfigurationFields.java | 1 +
2 files changed, 9 insertions(+)
diff --git a/hadoop-common-project/hadoop-common/src/main/resources/core-default.xml b/hadoop-common-project/hadoop-common/src/main/resources/core-default.xml
index accb1b91a9..cf156af196 100644
--- a/hadoop-common-project/hadoop-common/src/main/resources/core-default.xml
+++ b/hadoop-common-project/hadoop-common/src/main/resources/core-default.xml
@@ -967,6 +967,14 @@
child file system and ViewFSOverloadScheme's schemes are s3a.
+
+ fs.viewfs.overload.scheme.target.ofs.impl
+ org.apache.hadoop.fs.ozone.RootedOzoneFileSystem
+ The RootedOzoneFileSystem for view file system overload scheme
+ when child file system and ViewFSOverloadScheme's schemes are ofs.
+
+
+
fs.viewfs.overload.scheme.target.o3fs.impl
org.apache.hadoop.fs.ozone.OzoneFileSystem
diff --git a/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/conf/TestCommonConfigurationFields.java b/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/conf/TestCommonConfigurationFields.java
index 3b9947e213..dd9f41a7a3 100644
--- a/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/conf/TestCommonConfigurationFields.java
+++ b/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/conf/TestCommonConfigurationFields.java
@@ -133,6 +133,7 @@ public void initializeMemberVariables() {
xmlPropsToSkipCompare.add("fs.viewfs.overload.scheme.target.hdfs.impl");
xmlPropsToSkipCompare.add("fs.viewfs.overload.scheme.target.http.impl");
xmlPropsToSkipCompare.add("fs.viewfs.overload.scheme.target.https.impl");
+ xmlPropsToSkipCompare.add("fs.viewfs.overload.scheme.target.ofs.impl");
xmlPropsToSkipCompare.add("fs.viewfs.overload.scheme.target.o3fs.impl");
xmlPropsToSkipCompare.add("fs.viewfs.overload.scheme.target.oss.impl");
xmlPropsToSkipCompare.add("fs.viewfs.overload.scheme.target.s3a.impl");