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

Mingliang Liu updated HADOOP-13032:
-----------------------------------
    Target Version/s:   (was: )
              Labels: backward-incompatible  (was: )
            Priority: Major  (was: Minor)
         Description: 
[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}}
# shorter source code ({{FileSystem.java}} is gonna have 3780 LoC after 
[HDFS-10175]).

Please note this will be an backwards-incompatible change.

  was:
This jira is to track the effort of moving the {{Statistics}} class out of 
{{FileSystem}} for:
# shorter source code ({{FileSystem.java}} is gonna have 3780 LoC after 
[HDFS-10175])
# simpler class structure (the {{Statistics}} is not very straightforward as 
it's optimized for performance in [HDFS-5276] and evloving rapidly recently, 
see [HDFS-9579], [HDFS-10175] and [MAPREDUCE-6660]).

             Summary: Refactor FileSystem$Statistics to use StorageStatistics  
(was: Refactor FileSystem$Statistics as a separate source file)

> Refactor FileSystem$Statistics to use StorageStatistics
> -------------------------------------------------------
>
>                 Key: HADOOP-13032
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13032
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: fs
>            Reporter: Mingliang Liu
>            Assignee: Mingliang Liu
>              Labels: backward-incompatible
>
> [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}}
> # shorter source code ({{FileSystem.java}} is gonna have 3780 LoC after 
> [HDFS-10175]).
> Please note this will be an backwards-incompatible change.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to