Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 9CDE4200B56 for ; Sat, 16 Jul 2016 04:19:29 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 9B66C160A79; Sat, 16 Jul 2016 02:19:29 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id E4137160A61 for ; Sat, 16 Jul 2016 04:19:28 +0200 (CEST) Received: (qmail 17337 invoked by uid 500); 16 Jul 2016 02:19:23 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 16987 invoked by uid 99); 16 Jul 2016 02:19:23 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Jul 2016 02:19:23 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 2E6752C0374 for ; Sat, 16 Jul 2016 02:19:23 +0000 (UTC) Date: Sat, 16 Jul 2016 02:19:23 +0000 (UTC) From: "Andrew Wang (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HADOOP-13321) Deprecate FileSystem APIs that promote inefficient call patterns. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sat, 16 Jul 2016 02:19:29 -0000 [ https://issues.apache.org/jira/browse/HADOOP-13321?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Wang updated HADOOP-13321: --------------------------------- Target Version/s: 3.0.0-alpha2 (was: 3.0.0-alpha1) > Deprecate FileSystem APIs that promote inefficient call patterns. > ----------------------------------------------------------------- > > Key: HADOOP-13321 > URL: https://issues.apache.org/jira/browse/HADOOP-13321 > Project: Hadoop Common > Issue Type: Improvement > Components: fs > Reporter: Chris Nauroth > Assignee: Mingliang Liu > Attachments: HADOOP-13321.000.patch > > > {{FileSystem}} contains several methods that act as convenience wrappers over calling {{getFileStatus}} and retrieving a single property of the returned {{FileStatus}}. These methods have a habit of fostering inefficient call patterns in applications, resulting in multiple redundant {{getFileStatus}} calls. For HDFS, this translates into wasteful NameNode RPC traffic. For file systems backed by cloud object stores, this translates into wasteful HTTP traffic. This issue proposes to deprecate these methods and instead encourage applications to call {{getFileStatus}} and then reuse the same {{FileStatus}} instance as needed. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: common-issues-help@hadoop.apache.org