hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ramkrishna.S.Vasudevan" <ramkrishna.vasude...@huawei.com>
Subject RE: HBaseAdmin.enableTable not responding
Date Thu, 14 Jun 2012 12:50:32 GMT
Hi Benjamin

Can you post some logs.  Can you see if you get any msg in logs of master
saying regions are in transition or something.

Regards
Ram

> -----Original Message-----
> From: Ben Kim [mailto:benkimkimben@gmail.com]
> Sent: Thursday, June 14, 2012 6:00 PM
> To: user@hbase.apache.org
> Subject: HBaseAdmin.enableTable not responding
> 
> 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
View raw message