[
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.03.patch
Thanks for the review [~andrew.wang] and [~eddyxu].
Adding an option for including node details on maintenance state does sound
like a good idea and helps in making the patch backward compatible. Attached
v03 patch, to address the following
* Added an option {{-includeMaintenanceState}} to {{fsck}} command to print
maintenance state related node details
* Updated HDFSCommands.md to include help for the new option in fsck command
* Updated TestFsck to verify fsck results with and without the new command
option
PS: Patch might have checkstyle issues w.r.t function length, and on non
private variables. All these are already existing ones and can be fixed outside
of this bug.
[~eddyxu], can you please review the patch ? Once I hear your comments on this,
can extend the patch to branch-2 as well. Please let me know.
> 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
> Affects Versions: 3.0.0-alpha1
> Reporter: Manoj Govindassamy
> Assignee: Manoj Govindassamy
> Fix For: 3.0.0-alpha2
>
> Attachments: HDFS-11259.01.patch, HDFS-11259.02.patch,
> HDFS-11259.03.patch, HDFS-11259-branch-2.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]