hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mingliang Liu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-13032) Refactor FileSystem$Statistics to use StorageStatistics
Date Wed, 27 Jul 2016 23:50:20 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-13032?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Mingliang Liu updated HADOOP-13032:
    Attachment: HADOOP-13032.001.patch

The v1 patch is to:
# Address the failing unit tests.
# Add a new unit test for the newly added {{ThreadLocalStorageStatistics}} class.
# Make {{FileSystemStorageStatistics}} used by both the {{FileSystem}} and {{AbstraceFileSystem}}
(via {{FileContext}}). The {{AbstractFileSystem}} uses the _scheme://authority_ as the name
and {{FileSystem}} uses _scheme_ as its name. The name here is used by the global storage
statistics for indexing.

> Refactor FileSystem$Statistics to use StorageStatistics
> -------------------------------------------------------
>                 Key: HADOOP-13032
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13032
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs
>            Reporter: Mingliang Liu
>            Assignee: Mingliang Liu
>         Attachments: HADOOP-13032.000.patch, HADOOP-13032.001.patch
> [HADOOP-13065] added a new interface for retrieving FS and FC Statistics. This jira is
to track the effort of moving the {{Statistics}} class out of {{FileSystem}}, and make it
use that new interface.
> We should keep the thread local implementation. Benefits are:
> # they could be used in both {{FileContext}} and {{FileSystem}}
> # unified stats data structure
> # shorter source code
> Please note this will be an backwards-incompatible change.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org

View raw message