@Test(timeout = 180000)
public void testShouldFormIndexPutsAndIndexDeletes() throws Exception {
tableName = "testShouldFormIndexPutsAndIndexDeletes";
IndexedHTableDescriptor ihtd = new IndexedHTableDescriptor(tableName);
HColumnDescriptor hcd = new HColumnDescriptor("col");
IndexSpecification iSpec = new IndexSpecification("ScanIndexf");
iSpec.addIndexColumn(hcd, "q1", ValueType.String, 10);
iSpec.addIndexColumn(hcd, "q2", ValueType.String, 10);
ihtd.addFamily(hcd);
ihtd.addIndex(iSpec);
admin.getConfiguration().set(TableInputFormat.INPUT_TABLE, tableName);
admin.createTable(ihtd);
HTable mainTable = new HTable(conf, Bytes.toBytes(tableName));