hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michaela Buergle <Michaela.Buer...@neofonie.de>
Subject Re: region offline after DELETE
Date Tue, 08 Apr 2008 13:36:37 GMT
I thought I'd mention that entering

	hql > enable titles;

gets everything going again - just in case somebody out there didn't
know yet :)

Does that always work when "region offline" problems occur?

micha

Michaela Buergle wrote:
> I have a very simple table named 'titles' that I'm playing around with.
> After entering
> 
> 	hql > DELETE * FROM titles;
> 
> I get the following output:
> 
> 08/04/07 15:09:15 INFO hbase.HBaseAdmin: Disabled table titles
> Exception in thread "main" java.lang.NullPointerException
>         at org.apache.hadoop.io.Text.set(Text.java:181)
>         at org.apache.hadoop.io.Text.<init>(Text.java:76)
>         at
> org.apache.hadoop.hbase.hql.DeleteCommand.getColumnList(DeleteCommand.java:106)
>         at
> org.apache.hadoop.hbase.hql.DeleteCommand.execute(DeleteCommand.java:67)
>         at
> org.apache.hadoop.hbase.hql.HQLClient.executeQuery(HQLClient.java:50)
>         at org.apache.hadoop.hbase.Shell.main(Shell.java:114)
> 
> Every succeeding attempt to query the table results in the following output:
> 
> Exception in thread "main" java.lang.IllegalStateException: region
> offline: titles,,1207564179189

Mime
View raw message