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 0163A200B4B for ; Thu, 16 Jun 2016 08:08:07 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id F3FA7160A57; Thu, 16 Jun 2016 06:08:06 +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 4B8EB160A5D for ; Thu, 16 Jun 2016 08:08:06 +0200 (CEST) Received: (qmail 54600 invoked by uid 500); 16 Jun 2016 06:08:05 -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 54508 invoked by uid 99); 16 Jun 2016 06:08:05 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Jun 2016 06:08:05 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 3B8702C1F5C for ; Thu, 16 Jun 2016 06:08:05 +0000 (UTC) Date: Thu, 16 Jun 2016 06:08:05 +0000 (UTC) From: "Mingliang Liu (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: =?utf-8?Q?[jira]_[Updated]_(HADOOP-13280)_FileSystemStorageStatisti?= =?utf-8?Q?cs#getLong(=E2=80=9CreadOps=E2=80=9C)_should_?= =?utf-8?Q?return_readOps_+_largeReadOps?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 16 Jun 2016 06:08:07 -0000 [ https://issues.apache.org/jira/browse/HADOOP-13280?page=3Dcom.atlass= ian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mingliang Liu updated HADOOP-13280: ----------------------------------- Attachment: HADOOP-13280.001.patch The v1 patch is to address the checkstyle warning. > FileSystemStorageStatistics#getLong(=E2=80=9CreadOps=E2=80=9C) should ret= urn readOps + largeReadOps > -------------------------------------------------------------------------= ---------- > > Key: HADOOP-13280 > URL: https://issues.apache.org/jira/browse/HADOOP-13280 > Project: Hadoop Common > Issue Type: Sub-task > Components: fs > Affects Versions: 2.8.0 > Reporter: Mingliang Liu > Assignee: Mingliang Liu > Fix For: 2.8.0 > > Attachments: HADOOP-13280.000.patch, HADOOP-13280.001.patch > > > Currently {{FileSystemStorageStatistics}} instance simply returns data fr= om {{FileSystem$Statistics}}. As to {{readOps}}, the {{FileSystem$Statistic= s#getReadOps()}} returns {{readOps + largeReadOps}}. We should make the {{F= ileSystemStorageStatistics#getLong(=E2=80=9CreadOps=E2=80=9C)}} return the = sum as well. > Moreover, there is no unit tests for {{FileSystemStorageStatistics}} and = this JIRA will also address this. -- 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