[
https://issues.apache.org/jira/browse/HDFS-8815?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15485302#comment-15485302
]
Zhe Zhang commented on HDFS-8815:
---------------------------------
Quick note that I'm working on backporting HDFS-10744 to branch-2.7; since this
change is not in branch-2.7, the overlapping part won't be backported.
If someone plans to backport this to branch-2.7, please remember to add the
optimization from HDFS-10744.
> DFS getStoragePolicy implementation using single RPC call
> ---------------------------------------------------------
>
> Key: HDFS-8815
> URL: https://issues.apache.org/jira/browse/HDFS-8815
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: hdfs-client
> Reporter: Arpit Agarwal
> Assignee: Surendra Singh Lilhore
> Fix For: 2.8.0, 3.0.0-alpha1
>
> Attachments: HDFS-8815-001.patch, HDFS-8815-002.patch,
> HDFS-8815-003.patch, HDFS-8815-004.patch
>
>
> 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)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]