Index: src/main/java/org/apache/hadoop/hbase/mapreduce/LoadIncrementalHFiles.java =================================================================== --- src/main/java/org/apache/hadoop/hbase/mapreduce/LoadIncrementalHFiles.java (revision 1087017) +++ src/main/java/org/apache/hadoop/hbase/mapreduce/LoadIncrementalHFiles.java (working copy) @@ -68,22 +68,16 @@ private static final int TABLE_CREATE_MAX_RETRIES = 20; private static final long TABLE_CREATE_SLEEP = 60000; private HBaseAdmin hbAdmin; + private Configuration cfg; public static String NAME = "completebulkload"; public LoadIncrementalHFiles(Configuration conf) throws Exception { super(conf); + this.cfg = conf; this.hbAdmin = new HBaseAdmin(conf); } - /* This constructor does not add HBase configuration. - * Explicit addition is necessary. Do we need this constructor? - */ - public LoadIncrementalHFiles() { - super(); - } - - private void usage() { System.err.println("usage: " + NAME + " /path/to/hfileoutputformat-output " + @@ -446,7 +440,7 @@ if (!tableExists) this.createTable(tableName,dirPath); Path hfofDir = new Path(dirPath); - HTable table = new HTable(tableName); + HTable table = new HTable(this.cfg, tableName); doBulkLoad(hfofDir, table); return 0;