Examples of onlineHbck()


Examples of org.apache.hadoop.hbase.util.HBaseFsck.onlineHbck()

      if (!verify.verify(expectedNumNodes)) {
        try {
          HBaseFsck fsck = new HBaseFsck(getConf());
          HBaseFsck.setDisplayFullReport();
          fsck.connect();
          fsck.onlineHbck();
        } catch (Throwable t) {
          LOG.error("Failed to run hbck", t);
        }
        return false;
      }
View Full Code Here

Examples of org.apache.hadoop.hbase.util.HBaseFsck.onlineHbck()

    fsck.setFixVersionFile(fixVersionFile);
    fsck.setFixReferenceFiles(fixReferenceFiles);
    if (table != null) {
      fsck.includeTable(table);
    }
    fsck.onlineHbck();
    return fsck;
  }

  /**
   * Runs hbck with the -sidelineCorruptHFiles option
View Full Code Here

Examples of org.apache.hadoop.hbase.util.HBaseFsck.onlineHbck()

    fsck.setFixHdfsOrphans(fixHdfsOrphans);
    fsck.setFixVersionFile(fixVersionFile);
    if (table != null) {
      fsck.includeTable(table);
    }
    fsck.onlineHbck();
    return fsck;
  }

  public static void assertNoErrors(HBaseFsck fsck) throws Exception {
    List<ERROR_CODE> errs = fsck.getErrors().getErrorList();
View Full Code Here

Examples of org.apache.hadoop.hbase.util.HBaseFsck.onlineHbck()

    fsck.setFixReferenceFiles(fixReferenceFiles);
    fsck.setFixEmptyMetaCells(fixEmptyMetaRegionInfo);
    if (table != null) {
      fsck.includeTable(table);
    }
    fsck.onlineHbck();
    return fsck;
  }

  /**
   * Runs hbck with the -sidelineCorruptHFiles option
View Full Code Here

Examples of org.apache.hadoop.hbase.util.HBaseFsck.onlineHbck()

    fsck.setFixEmptyMetaCells(fixEmptyMetaRegionInfo);
    fsck.setFixTableLocks(fixTableLocks);
    if (table != null) {
      fsck.includeTable(table);
    }
    fsck.onlineHbck();
    return fsck;
  }

  /**
   * Runs hbck with the -sidelineCorruptHFiles option
View Full Code Here

Examples of org.apache.hadoop.hbase.util.HBaseFsck.onlineHbck()

    fsck.setFixMeta(fixMeta);
    fsck.setFixHdfsHoles(fixHdfsHoles);
    fsck.setFixHdfsOverlaps(fixHdfsOverlaps);
    fsck.setFixHdfsOrphans(fixHdfsOrphans);
    fsck.setFixVersionFile(fixVersionFile);
    fsck.onlineHbck();
    return fsck;
  }


  public static void assertNoErrors(HBaseFsck fsck) throws Exception {
View Full Code Here

Examples of org.apache.hadoop.hbase.util.HBaseFsck.onlineHbck()

    fsck.setFixTableOrphans(fixTableOrphans);
    fsck.setFixVersionFile(fixVersionFile);
    if (table != null) {
      fsck.includeTable(table);
    }
    fsck.onlineHbck();
    return fsck;
  }

  /**
   * Runs hbck with the -sidelineCorruptHFiles option
View Full Code Here

Examples of org.apache.hadoop.hbase.util.HBaseFsck.onlineHbck()

    fsck.setFixHdfsOrphans(fixHdfsOrphans);
    fsck.setFixVersionFile(fixVersionFile);
    if (table != null) {
      fsck.includeTable(table);
    }
    fsck.onlineHbck();
    return fsck;
  }

  /**
   * Runs hbck with the -sidelineCorruptHFiles option
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.