[ 
https://issues.apache.org/jira/browse/HBASE-20416?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wei-Chiu Chuang updated HBASE-20416:
------------------------------------
    Description: 
{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.

  was:
{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: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.


> [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
>
> {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