hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arpit Agarwal (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-8815) DFS getStoragePolicy implementation using single RPC call
Date Thu, 23 Jul 2015 17:22:05 GMT

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

Arpit Agarwal commented on HDFS-8815:
-------------------------------------

See HADOOP-12161 comments for a couple of proposed approaches:
# Add a new NameNode RPC call that returns the policy object.
# Cache the policy suite on the client so subsequent calls don't need to fetch it again.

> DFS getStoragePolicy implementation using single RPC call
> ---------------------------------------------------------
>
>                 Key: HDFS-8815
>                 URL: https://issues.apache.org/jira/browse/HDFS-8815
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: hdfs-client
>    Affects Versions: 2.8.0
>            Reporter: Arpit Agarwal
>
> HADOOP-12161 introduced a new {{FileSystem#getStoragePolicy}} call. The DFS implementation
of the call requires two RPC calls, the first to fetch the storage policy ID and the second
to fetch the policy suite to map the policy ID to a {{BlockStoragePolicySpi}}.
> Fix the implementation to require a single RPC call.



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

Mime
View raw message