HADOOP-14184. Remove service loader config entry for ftp fs. Contributed by Sen Zhao.

This commit is contained in:
John Zhuge 2017-10-09 00:33:17 -07:00
parent 6bd81ab054
commit 9676ed19be
3 changed files with 10 additions and 1 deletions

View File

@ -15,7 +15,6 @@
org.apache.hadoop.fs.LocalFileSystem
org.apache.hadoop.fs.viewfs.ViewFileSystem
org.apache.hadoop.fs.ftp.FTPFileSystem
org.apache.hadoop.fs.HarFileSystem
org.apache.hadoop.fs.http.HttpFileSystem
org.apache.hadoop.fs.http.HttpsFileSystem

View File

@ -815,6 +815,12 @@
<description>The FileSystem for Ftp: uris.</description>
</property>
<property>
<name>fs.ftp.impl</name>
<value>org.apache.hadoop.fs.ftp.FTPFileSystem</value>
<description>The implementation class of the FTP FileSystem</description>
</property>
<property>
<name>fs.AbstractFileSystem.webhdfs.impl</name>
<value>org.apache.hadoop.fs.WebHdfs</value>

View File

@ -99,6 +99,10 @@ public void initializeMemberVariables() {
// S3A properties are in a different subtree.
xmlPrefixToSkipCompare.add("fs.s3a.");
//ftp properties are in a different subtree.
// - org.apache.hadoop.fs.ftp.FTPFileSystem.
xmlPrefixToSkipCompare.add("fs.ftp.impl");
// WASB properties are in a different subtree.
// - org.apache.hadoop.fs.azure.NativeAzureFileSystem
xmlPrefixToSkipCompare.add("fs.wasb.impl");