Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-20416

[DOC] Fix hbck option intros

    XMLWordPrintableJSON

Details

    • Bug
    • Status: In Progress
    • Major
    • Resolution: Unresolved
    • None
    • None
    • documentation
    • None

    Description

      In this case, you can use the -fixSplitParents ....
      This option should not normally be used, and it is not in -fixAll.

      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.

      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);
      

      -repair includes all the region consistency options and only the hole repairing table integrity options.

      ... seems untrue to me.

       

      Finally,

       

      In this case there is a special -fixMetaOnly option that can try to fix meta assignments.


      -fixMetaOnly option no longer exists.

      Attachments

        1. HBASE-20416.master.001.patch
          3 kB
          Wei-Chiu Chuang

        Issue Links

          Activity

            People

              weichiu Wei-Chiu Chuang
              weichiu Wei-Chiu Chuang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: