[
https://issues.apache.org/jira/browse/HBASE-6460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13425915#comment-13425915
]
Jonathan Hsieh commented on HBASE-6460:
---------------------------------------
Jie, if the -fixHdfsOrphans option is not set, it will not attempt to fix the
problem, but still will report it. The -repairHoles flag is purely a
convenience option. It probably better to exclude also because we can easily
set "-repairHoles -fixHdfsOrphans" but currently cannot take away a set option.
When you say ignore, do you mean treat it as a warning as opposed to a error?
> hbck "-repairHoles" shortcut doesn't enable "-fixHdfsOrphans"
> -------------------------------------------------------------
>
> Key: HBASE-6460
> URL: https://issues.apache.org/jira/browse/HBASE-6460
> Project: HBase
> Issue Type: Bug
> Components: hbck
> Affects Versions: 0.94.0, 0.96.0
> Reporter: Jie Huang
> Priority: Minor
> Attachments: hbase-6460.patch
>
>
> According to the hbck's help info, shortcut - "-repairHoles" will enable
> "-fixHdfsOrphans" as below.
> {noformat}
> -repairHoles Shortcut for -fixAssignments -fixMeta -fixHdfsHoles
> -fixHdfsOrphans
> {noformat}
> However, in the implementation, the function "fsck.setFixHdfsOrphans(false);"
> is called in "-repairHoles". This is not consistent with the usage
> information.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira