[
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
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]