hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stack <st...@duboce.net>
Subject Re: Possible issue when creating/deleting HBase table multiple times
Date Fri, 01 Jul 2011 22:07:14 GMT
And if you try to create it says its already there?

We have a job that does this over and over every few minutes and its
been running for months on end.  I wonder whats different.  You are on
0.90.3?

St.Ack

On Fri, Jul 1, 2011 at 12:59 AM, Florin P <florinpico@yahoo.com> wrote:
> Hello!
>   I'm using HBase 0.90.1-cdh3u1-SNAPSHOT. Running the attached code(adapted after sujee
at sujee.net), after a while
> I was getting the below exception. The main scenario is like this:
>
> 1. if table does not exist, create it
> 2. populate the table with some data
> 3. flush the data
> 4. close the table
> 5. disable table
> 6. drop table
> 7. repeat steps 1-6 for several times. After a while you'll get the mentioned error.
>  Please help.
>
> Regards,
>  Florin
>
> org.apache.hadoop.hbase.TableNotFoundException: org.apache.hadoop.hbase.TableNotFoundException:
use_case_drop
>        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
>        at org.apache.hadoop.ipc.RemoteException.instantiateException(RemoteException.java:95)
>        at org.apache.hadoop.ipc.RemoteException.unwrapRemoteException(RemoteException.java:79)
>        at org.apache.hadoop.hbase.client.HBaseAdmin.disableTableAsync(HBaseAdmin.java:531)
>        at org.apache.hadoop.hbase.client.HBaseAdmin.disableTable(HBaseAdmin.java:550)
>        at org.apache.hadoop.hbase.client.HBaseAdmin.disableTable(HBaseAdmin.java:538)
>        at com.sample.hbase.HBaseDropCreate.main(HBaseDropCreate.java:80)
>
>

Mime
View raw message