hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Kim <benkimkim...@gmail.com>
Subject HBaseAdmin.enableTable not responding
Date Thu, 14 Jun 2012 12:29:41 GMT
Hello
I'm sort of running out of time, so I'll just throw this problem to yall
and come back later

HTable table = new HTable(conf, "tablename");
HTableDescriptor desc = new HTableDescriptor(table.getTableDescriptor());

desc.addFamily(new HColumnDescriptor("family1"));
desc.addFamily(new HColumnDescriptor("family2"));

admin.disableTable("tablename");
admin.modifyTable(Bytes.toBytes("tablename"), desc);
admin.enableTable("tablename");

admin.close();
table.close();

It successfully disables, modifies, and re-enables the table. The problem
is that the HBaseAdmin.enableTable() is running forever.

I'm using HBase 0.92.0, Hadoop 1.0.3


-- 

*Benjamin Kim*
*benkimkimben at gmail*

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message