hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Purtell <apurt...@apache.org>
Subject Re: Lost hbase table after restart
Date Wed, 11 May 2011 09:10:57 GMT
Hi,

HBase 0.20.4 is very much out of date. It was released on 10 May 2010.

The current release is 0.90.2, released on 11 April 2011.

Why are you using such an out of date version?

For many many reasons you should be using the latest 0.90.x version.

Best regards,

    - Andy

--- On Wed, 5/11/11, Frank Kloeker <eumel_list_hbase@arcor.de> wrote:

> From: Frank Kloeker <eumel_list_hbase@arcor.de>
> Subject: Lost hbase table after restart
> To: user@hbase.apache.org
> Date: Wednesday, May 11, 2011, 2:07 AM
> Hadoop: 0.20.2
> Hbase: 0.20.4, r941076
> 
> Hi,
> 
> I've running  a hbase table on  4 regionservers
> with 4 datanodes back cross on the same machines. After
> restart hbase and hadoop I've lost the one and only hbase
> table. The hbase-master-log says:
> 
> 2011-04-16 15:45:03,411 INFO
> org.apache.hadoop.hbase.master.ServerManager: 4 region
> servers, 0 dead, average load 0.5
> 2011-04-16 15:45:06,207 INFO
> org.apache.hadoop.hbase.master.BaseScanner:
> RegionManager.rootScanner scanning meta region {server:
> 151.189.41.14:60020, 
> regionname: -ROOT-,,0, startKey: <>}
> 2011-04-16 15:45:06,218 INFO
> org.apache.hadoop.hbase.master.BaseScanner:
> RegionManager.rootScanner scan of 1 row(s) of meta region
> {server: 151.189.41
> .14:60020, regionname: -ROOT-,,0, startKey: <>}
> complete
> 2011-04-16 15:45:32,211 INFO
> org.apache.hadoop.hbase.master.BaseScanner:
> RegionManager.metaScanner scanning meta region {server:
> 151.189.41.16:60020, 
> regionname: .META.,,1, startKey: <>}
> 2011-04-16 15:45:32,219 INFO
> org.apache.hadoop.hbase.master.BaseScanner:
> RegionManager.metaScanner scan of 0 row(s) of meta region
> {server: 151.189.41
> .16:60020, regionname: .META.,,1, startKey: <>}
> complete
> 2011-04-16 15:45:32,220 INFO
> org.apache.hadoop.hbase.master.BaseScanner: All 1 .META.
> region(s) scanned
> 2011-04-16 15:45:57,698 INFO
> org.apache.hadoop.ipc.HBaseServer: IPC Server handler 13 on
> 60000, call enableTable([B@1cefde4) from
> 151.189.41.13:58053:
>  error: org.apache.hadoop.hbase.TableNotFoundException:
> pageviews
> org.apache.hadoop.hbase.TableNotFoundException: pageviews
>         at
> org.apache.hadoop.hbase.master.TableOperation$ProcessTableOperation.call(TableOperation.java:142)
>         at
> org.apache.hadoop.hbase.master.TableOperation$ProcessTableOperation.call(TableOperation.java:73)
>         at
> org.apache.hadoop.hbase.master.RetryableMetaOperation.doWithRetries(RetryableMetaOperation.java:66)
>         at
> org.apache.hadoop.hbase.master.TableOperation.process(TableOperation.java:155)
>         at
> org.apache.hadoop.hbase.master.HMaster.enableTable(HMaster.java:832)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
> Source)
>         at
> java.lang.reflect.Method.invoke(Unknown Source)
>         at
> org.apache.hadoop.hbase.ipc.HBaseRPC$Server.call(HBaseRPC.java:657)
>         at
> org.apache.hadoop.hbase.ipc.HBaseServer$Handler.run(HBaseServer.java:915)
> 2011-04-16 15:46:03,416 INFO
> org.apache.hadoop.hbase.master.ServerManager: 4 region
> servers, 0 dead, average load 0.5
> 
> The data are already present in HDFS:
> 
> Found 5 items
> drwxr-xr-x   - root supergroup   
>       0 2011-04-06 13:28 /hbase/-ROOT-
> drwxr-xr-x   - root supergroup   
>       0 2011-04-06 13:28 /hbase/.META.
> drwxr-xr-x   - root supergroup   
>       0 2011-04-16 19:25 /hbase/.logs
> -rw-r--r--   2 root supergroup   
>       3 2011-01-30 18:51
> /hbase/hbase.version
> drwxr-xr-x   - root supergroup   
>       0 2011-04-15 05:48 /hbase/pageviews
> 
> What can I do for recover the hbase table or how can I
> backup the data from time to time?
> 
> Frank
> 
> 

Mime
View raw message