[
https://issues.apache.org/jira/browse/HDFS-14096?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16714325#comment-16714325
]
Surendra Singh Lilhore commented on HDFS-14096:
-----------------------------------------------
Thanks [~ayushtkn] for patch
1. Pls change the API description, this behavior changed in HDFS-12291
{code:java}
+ /**
+ * Set the source path to satisfy storage policy. This API is non-recursive
+ * in nature, i.e., if the source path is a directory then all the files
+ * immediately under the directory would be considered for satisfying the
+ * policy and the sub-directories if any under this path will be skipped.
+ *
+ * @param path The source path referring to either a directory or a file.
+ */
{code}
2. TestFileContextSpsjust verifying if SPS is working or not, its not checking
anything about viewFS.
3. Implement same API in \{{ViewFileSystem}}
> [SPS] : Add Support for Storage Policy Satisfier in ViewFs
> ----------------------------------------------------------
>
> Key: HDFS-14096
> URL: https://issues.apache.org/jira/browse/HDFS-14096
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: federation
> Reporter: Ayush Saxena
> Assignee: Ayush Saxena
> Priority: Major
> Attachments: HDFS-14096-01.patch
>
>
> Add support for SPS in ViewFileSystem.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]