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-13291) Probing stats in DFSOpsCountStatistics/S3AStorageStatistics should be correctly implemented
Date Sat, 18 Jun 2016 09:10:12 GMT

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

Mingliang Liu updated HADOOP-13291:
-----------------------------------
    Description: 
To probe a stat in {{StorageStatistics}}, users can use the {{StorageStatistics#isTracked()}}
API. Currently {{DFSOpsCountStatistics}} implements this function wrongly. {{S3AStorageStatistics}}
borrowed the same idea and also has the same error.

# The {{isTracked()}} is not correctly implemented. I believe this was an omission in code.
# {{isTracked()}} checks a stat with operation symbol (instead of enum name). {{getLongStatistics()}}
should return LongStatistics iterators with symbol as name, instead of the enum variable name.


This jira is to make the above two simple things right.

  was:
{{StorageStatistics#isTracked()}} is a simple and useful API for probing a stat with key name.
Currently {{DFSOpsCountStatistics}} implements this method wrongly. {{S3AStorageStatistics}}
borrowed the same idea and also has the same error.

This jira is to make simple things right.


> Probing stats in DFSOpsCountStatistics/S3AStorageStatistics should be correctly implemented
> -------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-13291
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13291
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs
>    Affects Versions: 2.8.0
>            Reporter: Mingliang Liu
>            Assignee: Mingliang Liu
>            Priority: Minor
>
> To probe a stat in {{StorageStatistics}}, users can use the {{StorageStatistics#isTracked()}}
API. Currently {{DFSOpsCountStatistics}} implements this function wrongly. {{S3AStorageStatistics}}
borrowed the same idea and also has the same error.
> # The {{isTracked()}} is not correctly implemented. I believe this was an omission in
code.
> # {{isTracked()}} checks a stat with operation symbol (instead of enum name). {{getLongStatistics()}}
should return LongStatistics iterators with symbol as name, instead of the enum variable name.

> This jira is to make the above two simple things right.



--
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


Mime
View raw message