hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jing Zhao (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-8345) Storage policy APIs must be exposed via the FileSystem interface
Date Fri, 15 May 2015 21:17:01 GMT

    [ https://issues.apache.org/jira/browse/HDFS-8345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14546187#comment-14546187
] 

Jing Zhao commented on HDFS-8345:
---------------------------------

bq. Is there a reason not to include a convenience method that just takes a BlockStoragePolicySpi
object directly

Currently we still expect admins to set up policies first, and the users later use names of
existing policies to config files/directories. Directly using a policy object in the API will
allow users to pass self-created policies and also bring in extra complexity for server side
verification.

+1 on the 07 patch.

> Storage policy APIs must be exposed via the FileSystem interface
> ----------------------------------------------------------------
>
>                 Key: HDFS-8345
>                 URL: https://issues.apache.org/jira/browse/HDFS-8345
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: hdfs-client
>    Affects Versions: 2.7.0
>            Reporter: Arpit Agarwal
>            Assignee: Arpit Agarwal
>              Labels: BB2015-05-TBR
>         Attachments: HDFS-8345.01.patch, HDFS-8345.02.patch, HDFS-8345.03.patch, HDFS-8345.04.patch,
HDFS-8345.05.patch, HDFS-8345.06.patch, HDFS-8345.07.patch
>
>
> The storage policy APIs are not exposed via FileSystem. Since DistributedFileSystem is
tagged as LimitedPrivate we should expose the APIs through FileSystem for use by other applications.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message