hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo Nicholas Sze (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-7467) Provide storage tier information for a directory via fsck
Date Thu, 08 Jan 2015 01:27:35 GMT

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

Tsz Wo Nicholas Sze commented on HDFS-7467:
-------------------------------------------

I think the fsck output can have two sections, one for the blocks that satisfying the specified
policy and one for the others.  E.g.

{noformat}
Blocks satisfy the specified policy:
Storage Policy                   # of blocks       % of blocks
hot(DISK:3)                     340730           97.7393%
hot(DISK:4)                       3928            1.1268%
frozen(ARCHIVE:3)                 3122            0.8956%

Blocks DO NOT satisfy the specified policy:
Storage Policy                   # of blocks       % of blocks
DISK:3                              44            0.0126%
DISK:1,ARCHIVE:2                    30            0.0086%
ARCHIVE:3                            9            0.0026%
{noformat}



> Provide storage tier information for a directory via fsck
> ---------------------------------------------------------
>
>                 Key: HDFS-7467
>                 URL: https://issues.apache.org/jira/browse/HDFS-7467
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: balancer & mover
>    Affects Versions: 2.6.0
>            Reporter: Benoy Antony
>            Assignee: Benoy Antony
>         Attachments: HDFS-7467.patch
>
>
> Currently _fsck_  provides information regarding blocks for a directory.
> It should be augmented to provide storage tier information (optionally). 
> The sample report could be as follows :
> {code}
> Storage Tier Combination        # of blocks       % of blocks
> DISK:1,ARCHIVE:2                  340730           97.7393%
>  
> ARCHIVE:3                           3928            1.1268%
>  
> DISK:2,ARCHIVE:2                    3122            0.8956%
>  
> DISK:2,ARCHIVE:1                     748            0.2146%
>  
> DISK:1,ARCHIVE:3                      44            0.0126%
>  
> DISK:3,ARCHIVE:2                      30            0.0086%
>  
> DISK:3,ARCHIVE:1                       9            0.0026%
> {code}
>  



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

Mime
View raw message