hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manoj Govindassamy (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-11259) Update fsck to display maintenance state info
Date Wed, 04 Jan 2017 20:46:58 GMT

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

Manoj Govindassamy updated HDFS-11259:
    Attachment: HDFS-11259.01.patch

Attached v01 patch to address the following:
1. Made {{NamenodeFsck}} to gather details on maintenance replicas for the following checks
and modules -- blockIdCk(), getReplicaInfo(), collectBlockSummary() and Result

2. Updated {{TestFsck}} to verify maintenance replicas for the following commands and tests
* hdfs fsck /  (testFsckWithMaintenanceReplicas)
* hdfs fsck / -files -blocks -replicaDetails  (testFsckReplicaDetails())
* hdfs fsck -blockId blockid (testBlockIdCKMaintenance())
PS: TestFsck changes might show checkstyle issues for not using private variables. I chose
to follow the usage pattern of all variables in Result class. May be I can work on cleaning
up the checkstyle issues for the whole TestFsck later.
[~eddyxu], [~mingma], can you please review the patch and let me know your comments ?

> Update fsck to display maintenance state info
> ---------------------------------------------
>                 Key: HDFS-11259
>                 URL: https://issues.apache.org/jira/browse/HDFS-11259
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: datanode, namenode
>            Reporter: Manoj Govindassamy
>            Assignee: Manoj Govindassamy
>         Attachments: HDFS-11259.01.patch

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org

View raw message