[
https://issues.apache.org/jira/browse/HADOOP-12161?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Arpit Agarwal updated HADOOP-12161:
-----------------------------------
Description:
HDFS-8345 added {{FileSystem#getAllStoragePolicies}} and
{{FileSystem#setStoragePolicy}}. Jira to
# Add a corresponding {{FileSystem#getStoragePolicy}} to query the storage
policy for a given file/directory.
# Add corresponding implementation for HDFS i.e.
{{DistributedFileSystem#getStoragePolicy}}.
# Update the [FileSystem
specification|https://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-common/filesystem/filesystem.html].
This will require editing
_hadoop-common-project/hadoop-common/src/site/markdown/filesystem/filesystem.md_.
was:
HDFS-8345 added {{FileSystem#getAllStoragePolicies}} and
{{FileSystem#setStoragePolicy}}. Jira to
# Add a corresponding {{FileSystem#getStoragePolicy}} to query the storage
policy for a given file/directory.
# Add corresponding implementation for HDFS i.e.
{{DistributedFileSystem#getStoragePolicy}}.
# Update FileSystem contract docs. This will require editing
_hadoop-common-project/hadoop-common/src/site/markdown/filesystem/filesystem.md_.
> Add getStoragePolicy API to the FileSystem interface
> ----------------------------------------------------
>
> Key: HADOOP-12161
> URL: https://issues.apache.org/jira/browse/HADOOP-12161
> Project: Hadoop Common
> Issue Type: Bug
> Components: documentation
> Reporter: Arpit Agarwal
> Labels: newbie
>
> HDFS-8345 added {{FileSystem#getAllStoragePolicies}} and
> {{FileSystem#setStoragePolicy}}. Jira to
> # Add a corresponding {{FileSystem#getStoragePolicy}} to query the storage
> policy for a given file/directory.
> # Add corresponding implementation for HDFS i.e.
> {{DistributedFileSystem#getStoragePolicy}}.
> # Update the [FileSystem
> specification|https://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-common/filesystem/filesystem.html].
> This will require editing
> _hadoop-common-project/hadoop-common/src/site/markdown/filesystem/filesystem.md_.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)