Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 888F51837B for ; Wed, 5 Aug 2015 10:12:21 +0000 (UTC) Received: (qmail 86167 invoked by uid 500); 5 Aug 2015 10:12:05 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 86101 invoked by uid 500); 5 Aug 2015 10:12:05 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 86088 invoked by uid 99); 5 Aug 2015 10:12:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Aug 2015 10:12:05 +0000 Date: Wed, 5 Aug 2015 10:12:05 +0000 (UTC) From: "Surendra Singh Lilhore (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HDFS-8815) DFS getStoragePolicy implementation using single RPC call MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HDFS-8815?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Surendra Singh Lilhore updated HDFS-8815: ----------------------------------------- Attachment: HDFS-8815-004.patch > 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 > Assignee: Surendra Singh Lilhore > 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)