[ 
https://issues.apache.org/jira/browse/HBASE-20416?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16438809#comment-16438809
 ] 

Wei-Chiu Chuang edited comment on HBASE-20416 at 4/15/18 7:11 PM:
------------------------------------------------------------------

Rev01:
# Updated -repair to make it explicit what options does it include.
# Added intro to -fixReferenceFiles and -fixHFileLinks.
# Changed -fixMetaOnly to -metaonly.

I also found a few other hbck options not mentioned in the doc:
{noformat}
-removeParents (HBASE-15941)
-fixReplication (HBASE-12769)
-boundaries (HBASE-9346)
-fixEmptyMetaCells (HBASE-7930)
-checkCorruptHFiles (HBASE-6586)
-sidelineCorruptHFiles (HBASE-6586)
-ignorePreCheckPermission (HBASE-5714) 
-fixTableOrphans (HBASE-5631)
-noHdfsChecking (HBASE-7190)
{noformat}

These combinations are quite complex so I am not dealing with them this time. 
This doc is meant to fix the ones that are already in the doc but are incorrect.


was (Author: jojochuang):
Rev01:
# Updated -repair to make it explicit what options does it include.
# Added intro to -fixReferenceFiles and -fixHFileLinks.
# Changed -fixMetaOnly to -metaonly.

I also found a few other hbck options not mentioned in the doc:
{noformat}
-removeParents (HBASE-15941)
-fixReplication (HBASE-12769)
-boundaries (HBASE-9346)
-fixEmptyMetaCells (HBASE-7930)
-checkCorruptHFiles (HBASE-6586)
-sidelineCorruptHFiles (HBASE-6586)
ignorePreCheckPermission (HBASE-5714) 
-fixTableOrphans (HBASE-5631)
-noHdfsChecking (HBASE-7190)
{noformat}

These combinations are quite complex so I am not dealing with them this time. 
This doc is meant to fix the ones that are already in the doc but are incorrect.

> [DOC] Fix hbck option intros
> ----------------------------
>
>                 Key: HBASE-20416
>                 URL: https://issues.apache.org/jira/browse/HBASE-20416
>             Project: HBase
>          Issue Type: Bug
>          Components: documentation
>            Reporter: Wei-Chiu Chuang
>            Assignee: Wei-Chiu Chuang
>            Priority: Major
>         Attachments: HBASE-20416.master.001.patch
>
>
> {quote}In this case, you can use the -fixSplitParents ....
>  This option should not normally be used, and it is not in -fixAll.
> {quote}
> There is no such option "-fixAll". From the context, it seems to refer to 
> -repair
> In addition, -repair option also covers -fixReferenceFiles, -fixHFileLinks, 
> which are not introduced in the doc.
> {code:java|title=HBaseFsck#exec}
>         else if (cmd.equals("-repair")) {
>         // this attempts to merge overlapping hdfs regions, needs testing
>         // under load
>         setFixHdfsHoles(true);
>         setFixHdfsOrphans(true);
>         setFixMeta(true);
>         setFixAssignments(true);
>         setFixHdfsOverlaps(true);
>         setFixVersionFile(true);
>         setSidelineBigOverlaps(true);
>         setFixSplitParents(false);
>         setCheckHdfs(true);
>         setFixReferenceFiles(true);
>         setFixHFileLinks(true);
> {code}
> {quote}-repair includes all the region consistency options and only the hole 
> repairing table integrity options.
> {quote}
> ... seems untrue to me.
>  
> Finally,
>  {quote}
> In this case there is a special -fixMetaOnly option that can try to fix meta 
> assignments.
> {quote}
> -fixMetaOnly option no longer exists.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to