You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "lohit vijayarenu (JIRA)" <ji...@apache.org> on 2008/05/02 09:04:55 UTC

[jira] Updated: (HADOOP-3058) Hadoop DFS to report more replication metrics

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

lohit vijayarenu updated HADOOP-3058:
-------------------------------------

    Attachment: HADOOP-3058.patch

Attaching a patch which addes FSNamesystem status metrics. 
Since these are not timevarying int or timevaying rate. I use MetricsLongValue similar to MetricsIntValue using their set and get methods. The metrics are recorded as FSNamesystem record and list these
- FilesTotal
- BlocksTotal
- CapacityTotal
- CapacityUsed
- CapacityRemaining
- TotalLoad
- PendingReplicationBlocks
- UnderReplicatedBlocks
- ScheduledReplicationBlocks

Tested this using FileContext to log these while FSNamesystem was reporting and I could see the values being updated

> Hadoop DFS to report more replication metrics
> ---------------------------------------------
>
>                 Key: HADOOP-3058
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3058
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: dfs, metrics
>            Reporter: Marco Nicosia
>            Assignee: lohit vijayarenu
>            Priority: Minor
>         Attachments: HADOOP-3058.patch
>
>
> Currently, the namenode and each datanode reports 'blocksreplicatedpersec.'
> We'd like to be able to graph pending replications, vs number of under replicated blocks, vs. replications per second, so that we can get a better idea of the replication activity within the DFS.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.