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, 18 Jan 2017 02:59:27 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.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

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

View raw message