You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Steve Loughran (JIRA)" <ji...@apache.org> on 2016/06/19 18:14:05 UTC

[jira] [Commented] (HADOOP-13283) Support reset operation for new global storage statistics and per FS storage stats

    [ https://issues.apache.org/jira/browse/HADOOP-13283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15338666#comment-15338666 ] 

Steve Loughran commented on HADOOP-13283:
-----------------------------------------

for the tests i was doing, i was just thinking of having a "snapshot" operation which took the enum, built a list of the "before" Values, could do the same with the next set, and so let me compare them. That's where I'm doing explicit diffs of state (see {{S3ATestUtils.MetricDiff for the feature on a single metric, with integrated assertions}}...I think production code might prefer the reset, just to avoid having to keep the original metric snapshot around

> Support reset operation for new global storage statistics and per FS storage stats
> ----------------------------------------------------------------------------------
>
>                 Key: HADOOP-13283
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13283
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs
>            Reporter: Mingliang Liu
>            Assignee: Mingliang Liu
>             Fix For: 2.8.0
>
>
> Applications may reuse the file system object across jobs and its storage statistics should be reset. Specially the {{FileSystem.Statistics}} supports reset and [HADOOP-13032] needs to keep that use case valid.
> This jira is for supporting reset operations for storage statistics.
> Thanks [~hitesh] for reporting 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