HBASE-11647 addendum to fix compile issues.
This commit is contained in:
parent
0c86d83e1f
commit
e5d3850776
|
@ -60,7 +60,7 @@ public class IntegrationTestIngestWithMOB extends IntegrationTestIngest {
|
|||
protected String[] getArgsForLoadTestToolInitTable() {
|
||||
List<String> args = new ArrayList<String>();
|
||||
args.add("-tn");
|
||||
args.add(getTablename());
|
||||
args.add(getTablename().getNameAsString());
|
||||
// pass all remaining args from conf with keys <test class name>.<load test tool arg>
|
||||
String clazz = this.getClass().getSimpleName();
|
||||
for (String arg : LOAD_TEST_TOOL_MOB_INIT_ARGS) {
|
||||
|
@ -104,7 +104,7 @@ public class IntegrationTestIngestWithMOB extends IntegrationTestIngest {
|
|||
protected void initTable() throws IOException {
|
||||
super.initTable();
|
||||
|
||||
byte[] tableName = getTablename().getBytes();
|
||||
byte[] tableName = getTablename().getName();
|
||||
HBaseAdmin admin = new HBaseAdmin(conf);
|
||||
HTableDescriptor tableDesc = admin.getTableDescriptor(tableName);
|
||||
LOG.info("Disabling table " + getTablename());
|
||||
|
|
Loading…
Reference in New Issue