On Tue, Sep 21, 2010 at 1:07 PM, Matt Corgan <[email protected]> wrote:
> Is there a way to create a new .META. table if I lost it?  For example, I'm
> getting this exception everywhere:
>
> org.apache.hadoop.hbase.TableNotFoundException: .META. (NativeException)
>

How'd you do that?  Thats pretty impressive.

>
> The add_table script doesn't appear to handle .META., giving this error:
>
> java.lang.IllegalArgumentException: Illegal first character <46> at 0.
> User-space table names can only start with 'word characters': i.e.
> [a-zA-Z_0-9]: .META.
>
>
> And the hbase shell will only create user-space table names.  Restarting the
> hbase master also does not appear to re-create it.
>
> I'm using 0.20.6.
>
Whats the master log look like when you start up hbase?  Whats it say
about missing .META.?

If you do a

$ bin/hadoop fs -lsr /hbase/.META.

... is there anything in your filesystem?

If nothing there, one thing you could do is run an hbase elsewhere.
Let it create a new "/hbase" dir and then copy the .META. table from
here up to the filesystem with data (Run add_table.rb after .META. is
in place to repopulate its rows).

St.Ack

Reply via email to