in hbase-hbck2/src/main/java/org/apache/hbase/HBCK2.java [731:765]
private static void usageReportMissingRegionsInMeta(PrintWriter writer) {
writer.println(" " + REPORT_MISSING_REGIONS_IN_META + " [<NAMESPACE|"
+ "NAMESPACE:TABLENAME>...|-i <INPUT_FILE>...]");
writer.println(" Options:");
writer.println(" -i,--inputFiles take one or more files of encoded region names");
writer.println(" To be used when regions missing from hbase:meta but directories");
writer.println(" are present still in HDFS. Can happen if user has run _hbck1_");
writer.println(" 'OfflineMetaRepair' against an hbase-2.x cluster. This is a CHECK only");
writer.println(" method, designed for reporting purposes and doesn't perform any");
writer.println(" fixes, providing a view of which regions (if any) would get re-added");
writer.println(" to hbase:meta, grouped by respective table/namespace. To effectively");
writer.println(" re-add regions in meta, run " + ADD_MISSING_REGIONS_IN_META_FOR_TABLES +
".");
writer.println(" This command needs hbase:meta to be online. For each namespace/table");
writer.println(" passed as parameter, it performs a diff between regions available in");
writer.println(" hbase:meta against existing regions dirs on HDFS. Region dirs with no");
writer.println(" matches are printed grouped under its related table name. Tables with");
writer.println(" no missing regions will show a 'no missing regions' message. If no");
writer.println(" namespace or table is specified, it will verify all existing regions.");
writer.println(" It accepts a combination of multiple namespace and tables. Table names");
writer.println(" should include the namespace portion, even for tables in the default");
writer.println(" namespace, otherwise it will assume as a namespace value.");
writer.println(" An example triggering missing regions execute for tables 'table_1'");
writer.println(" and 'table_2', under default namespace:");
writer.println(" $ HBCK2 reportMissingRegionsInMeta default:table_1 default:table_2");
writer.println(" An example triggering missing regions execute for table 'table_1'");
writer.println(" under default namespace, and for all tables from namespace 'ns1':");
writer.println(" $ HBCK2 reportMissingRegionsInMeta default:table_1 ns1");
writer.println(" Returns list of missing regions for each table passed as parameter, or");
writer.println(" for each table on namespaces specified as parameter.");
writer.println(" If -i or --inputFiles is specified, pass one or more input file names.");
writer.println(" Each file contains <NAMESPACE|NAMESPACE:TABLENAME>, one per line.);" +
"For example:");
writer.println(" $ HBCK2 " + REPORT_MISSING_REGIONS_IN_META + " -i fileName1 fileName2");
}