HBASE-12678 HBCK should print command line arguments
This commit is contained in:
parent
54381aab11
commit
778f443b06
@ -50,6 +50,7 @@ import java.util.concurrent.atomic.AtomicBoolean;
|
||||
import java.util.concurrent.atomic.AtomicInteger;
|
||||
|
||||
|
||||
import org.apache.commons.lang.StringUtils;
|
||||
import org.apache.commons.logging.Log;
|
||||
import org.apache.commons.logging.LogFactory;
|
||||
import org.apache.hadoop.hbase.classification.InterfaceAudience;
|
||||
@ -4106,6 +4107,8 @@ public class HBaseFsck extends Configured {
|
||||
}
|
||||
}
|
||||
|
||||
errors.print("HBaseFsck command line options: " + StringUtils.join(args, " "));
|
||||
|
||||
// pre-check current user has FS write permission or not
|
||||
try {
|
||||
preCheckPermission();
|
||||
|
@ -19,6 +19,7 @@ package org.apache.hadoop.hbase.util.hbck;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
import org.apache.commons.lang.StringUtils;
|
||||
import org.apache.commons.logging.Log;
|
||||
import org.apache.commons.logging.LogFactory;
|
||||
import org.apache.hadoop.hbase.classification.InterfaceAudience;
|
||||
@ -110,6 +111,8 @@ public class OfflineMetaRepair {
|
||||
}
|
||||
}
|
||||
|
||||
System.out.println("OfflineMetaRepair command line options: " + StringUtils.join(args, " "));
|
||||
|
||||
// Fsck doesn't shutdown and and doesn't provide a way to shutdown its
|
||||
// threads cleanly, so we do a System.exit.
|
||||
boolean success = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user