HBASE-10260 Canary Doesn't pick up Configuration properly.
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1554570 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ab5b219cce
commit
2b38282f10
|
@ -35,6 +35,7 @@ import org.apache.commons.logging.Log;
|
|||
import org.apache.commons.logging.LogFactory;
|
||||
import org.apache.hadoop.conf.Configuration;
|
||||
import org.apache.hadoop.hbase.DoNotRetryIOException;
|
||||
import org.apache.hadoop.hbase.HBaseConfiguration;
|
||||
import org.apache.hadoop.hbase.HColumnDescriptor;
|
||||
import org.apache.hadoop.hbase.HRegionInfo;
|
||||
import org.apache.hadoop.hbase.HTableDescriptor;
|
||||
|
@ -741,7 +742,7 @@ public final class Canary implements Tool {
|
|||
}
|
||||
|
||||
public static void main(String[] args) throws Exception {
|
||||
int exitCode = ToolRunner.run(new Canary(), args);
|
||||
int exitCode = ToolRunner.run(HBaseConfiguration.create(), new Canary(), args);
|
||||
System.exit(exitCode);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue