Hi,

The table 'mytable' has only one region, and when I goto this regionserver,
I can't see any region name about the table 'mytable'.
When I want to disable this table and drop it, it shows:
hbase(main):058:0> disable 'mytable'
NativeException: org.apache.hadoop.hbase.RegionException: Retries exhausted,
it took too long to wait for the table mytable to be disabled.

And the logs log in the regionserver:
2011-04-07 10:35:44,640 INFO
org.apache.hadoop.hbase.regionserver.HRegionServer: MSG_REGION_CLOSE:
mytable,,1302077037075
2011-04-07 10:35:44,640 INFO
org.apache.hadoop.hbase.regionserver.HRegionServer: Worker:
MSG_REGION_CLOSE: mytable,,1302077037075
2011-04-07 10:35:45,648 INFO
org.apache.hadoop.hbase.regionserver.HRegionServer: MSG_REGION_CLOSE:
mytable,,1302077037075
2011-04-07 10:35:45,648 INFO
org.apache.hadoop.hbase.regionserver.HRegionServer: Worker:
MSG_REGION_CLOSE: mytable,,1302077037075
2011-04-07 10:35:46,655 INFO
org.apache.hadoop.hbase.regionserver.HRegionServer: MSG_REGION_CLOSE:
mytable,,1302077037075
2011-04-07 10:35:46,655 INFO
org.apache.hadoop.hbase.regionserver.HRegionServer: Worker:
MSG_REGION_CLOSE: mytable,,1302077037075
2011-04-07 10:35:47,666 INFO
org.apache.hadoop.hbase.regionserver.HRegionServer: MSG_REGION_CLOSE:
mytable,,1302077037075
2011-04-07 10:35:47,666 INFO
org.apache.hadoop.hbase.regionserver.HRegionServer: Worker:
MSG_REGION_CLOSE: mytable,,1302077037075
2011-04-07 10:35:49,685 INFO
org.apache.hadoop.hbase.regionserver.HRegionServer: MSG_REGION_CLOSE:
mytable,,1302077037075
2011-04-07 10:35:49,685 INFO
org.apache.hadoop.hbase.regionserver.HRegionServer: Worker:
MSG_REGION_CLOSE: mytable,,1302077037075
2011-04-07 10:35:51,697 INFO
org.apache.hadoop.hbase.regionserver.HRegionServer: MSG_REGION_CLOSE:
mytable,,1302077037075
2011-04-07 10:35:51,697 INFO
org.apache.hadoop.hbase.regionserver.HRegionServer: Worker:
MSG_REGION_CLOSE: mytable,,1302077037075
2011-04-07 10:35:55,727 INFO
org.apache.hadoop.hbase.regionserver.HRegionServer: MSG_REGION_CLOSE:
mytable,,1302077037075
2011-04-07 10:35:55,727 INFO
org.apache.hadoop.hbase.regionserver.HRegionServer: Worker:
MSG_REGION_CLOSE: mytable,,1302077037075

And also I have created/put/deleteall/disable/drop anohter table 'mytable1':
create 'mytable', {NAME=>'colfam:', COMPRESSION=>'lzo'}
Everything goes well.

But so strangely about the table 'mytable'.

 Thanks,
Jameson Li.

2011/4/7 Stack <st...@duboce.net>

> And, see http://hbase.apache.org/book.html#lzo
> St.Ack
>
> On Wed, Apr 6, 2011 at 9:56 AM, Jean-Daniel Cryans <jdcry...@apache.org>
> wrote:
> > Check the region server log, you probably missed something when
> > configuring your table.
> >
> > J-D
> >
> > On Wed, Apr 6, 2011 at 2:15 AM, Jameson Li <hovlj...@gmail.com> wrote:
> >> Hi,
> >>
> >> Today I have added the lzo to the hadoop cluster, and also the
> >> hbase(0.20.6).
> >> Then I create a test table:
> >> create 'mytable', {NAME=>'colfam:', COMPRESSION=>'lzo'}
> >> It works fine.
> >> And then I put a small test data, and other operation:
> >> put 'mytable','key1','colfam:','value1'
> >> scan 'mytable'
> >> deleteall 'mytable','key1'
> >> disable 'mytable'
> >> drop 'mytable'
> >>
> >> When I do one of the operation, I got the error message, and I can't
> modify
> >> the table 'mytable':
> >> NativeException:
> org.apache.hadoop.hbase.client.RetriesExhaustedException:
> >> Trying to contact region server 192.168.11.111:60020 for region
> >> mytable,,1302077037075, row '', but failed after 7 attempts.
> >> Exceptions:
> >> org.apache.hadoop.hbase.NotServingRegionException:
> >> org.apache.hadoop.hbase.NotServingRegionException:
> mytable,,1302077037075
> >> at
> >>
> org.apache.hadoop.hbase.regionserver.HRegionServer.getRegion(HRegionServer.java:2269)
> >>  at
> >>
> org.apache.hadoop.hbase.regionserver.HRegionServer.openScanner(HRegionServer.java:1848)
> >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >>  at
> >>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> >> at
> >>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> >>  at java.lang.reflect.Method.invoke(Method.java:597)
> >> at org.apache.hadoop.hbase.ipc.HBaseRPC$Server.call(HBaseRPC.java:657)
> >>  at
> >>
> org.apache.hadoop.hbase.ipc.HBaseServer$Handler.run(HBaseServer.java:915)
> >>
> >> How can I recover this table 'mytable'?
> >>
> >> Thanks,
> >> Jameson Li.
> >>
> >
>

Reply via email to