[
https://issues.apache.org/jira/browse/HDFS-8180?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Santhosh G Nayak updated HDFS-8180:
-----------------------------------
Attachment: HDFS-8180-2.patch
1. swebhdfs is an existing scheme, It will be more intuitive if we name AFS
implementation of swebhdfs as {{SWebHdfs}}. Any thoughts?
2. Added the following entries in the core-default.xml, where AFS
implementations are configured for most of the schemes.
{code:xml}
<property>
<name>fs.AbstractFileSystem.webhdfs.impl</name>
<value>org.apache.hadoop.fs.WebHdfs</value>
<description>The FileSystem for webhdfs: uris.</description>
</property>
<property>
<name>fs.AbstractFileSystem.swebhdfs.impl</name>
<value>org.apache.hadoop.fs.SWebHdfs</value>
<description>The FileSystem for swebhdfs: uris.</description>
</property>
{code}
3. Removed the {{FileSystem}} contract tests from the patch and added
{{FileContext}} tests, as AFS implementation is required mainly to support
{{FileContext}} APIs. It creates a {{MiniDFSCluster}} and runs the
{{FileContextMainOperationsBaseTest}} tests.
> AbstractFileSystem Implementation for WebHdfs
> ---------------------------------------------
>
> Key: HDFS-8180
> URL: https://issues.apache.org/jira/browse/HDFS-8180
> Project: Hadoop HDFS
> Issue Type: New Feature
> Components: webhdfs
> Affects Versions: 2.6.0
> Reporter: Santhosh G Nayak
> Assignee: Santhosh G Nayak
> Labels: hadoop
> Attachments: HDFS-8180-1.patch, HDFS-8180-2.patch
>
>
> Add AbstractFileSystem implementation for WebHdfs to support FileContext APIs.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)