You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Patrick Raeuber <pa...@semgine.com> on 2008/05/05 12:58:00 UTC

META table location

Hi everybody !

I'd kindly ask you for support at two problems.

a) Is it possible to restore tables from the hbase filesystem (local and 
hdfs) ?

I tried 'hbase migrate' but as it seems it requires a local copy of the 
hbase root dir ('hdfs://...' required : 'file:///').

b) Can you specify the location of the .META. directory?

It seems as if hbase by itself chooses the region server to store the 
.META. table at. I used the local file system with only ONE region 
server configured. Then, I stopped the hbase master, increased the 
number of region servers, restarted the hbase master and the previously 
generated tables where gone. On the web interface I saw that hbase had 
chosen another region server for the meta directory.

Any suggestions?

Thanks in advance and greetings from germany,

Patrick

-- 
Patrick Räuber
Software Developer
----------------------------------------------
semgine GmbH
Schubertstraße 8b, D-35043 Marburg

fon   +49 6421 304 653 - 1
fax   +49 6421 304 649 - 9
mail  patrick.raeuber@semgine.com
web   http://www.semgine.com
----------------------------------------------
Geschäftsführer: Dr. Martin C. Hirsch
Sitz der Gesellschaft: Berlin
Amtsgericht Berlin Charlottenburg, HRB 103635B
----------------------------------------------

Re: META table location

Posted by Patrick Raeuber <pa...@semgine.com>.
stack wrote:
> Patrick Raeuber wrote:
>> Hi everybody !
>>
>> I'd kindly ask you for support at two problems.
>>
>> a) Is it possible to restore tables from the hbase filesystem (local 
>> and hdfs) ?
>>
>> I tried 'hbase migrate' but as it seems it requires a local copy of 
>> the hbase root dir ('hdfs://...' required : 'file:///').
> 
> There was a bug in our Migrate tool (HBASE-590).  Its will be fixed in 
> the 0.1.2 release (A 0.1.2 release candidate was put up a few weeks 
> back.  A new candidate should go up today or tomorrow).

Ok!

> 
> 
>>
>> b) Can you specify the location of the .META. directory?
>>
>> It seems as if hbase by itself chooses the region server to store the 
>> .META. table at. I used the local file system with only ONE region 
>> server configured. Then, I stopped the hbase master, increased the 
>> number of region servers, restarted the hbase master and the 
>> previously generated tables where gone. On the web interface I saw 
>> that hbase had chosen another region server for the meta directory.
>>
>> Any suggestions? 
> Thats correct (that the master decides where the .META. goes).  Were the 
> regionservers running on the same system as the master: i.e. were they 
> sharing the same local fileystem?   Otherwise, you need to use hdfs.  
> Master and regionservers all need to be sharing the same filesystem.

No, the regionservers used their own seperate filesystems. That seems to 
be the problem. We'll try a shared filesystem.

Thank you very much and have a nice day!

> 
> St.Ack
> 
> 


-- 
Patrick Räuber
Software Developer
----------------------------------------------
semgine GmbH
Schubertstraße 8b, D-35043 Marburg

fon   +49 6421 304 653 - 1
fax   +49 6421 304 649 - 9
mail  patrick.raeuber@semgine.com
web   http://www.semgine.com
----------------------------------------------
Geschäftsführer: Dr. Martin C. Hirsch
Sitz der Gesellschaft: Berlin
Amtsgericht Berlin Charlottenburg, HRB 103635B
----------------------------------------------

Re: META table location

Posted by stack <st...@duboce.net>.
Patrick Raeuber wrote:
> Hi everybody !
>
> I'd kindly ask you for support at two problems.
>
> a) Is it possible to restore tables from the hbase filesystem (local 
> and hdfs) ?
>
> I tried 'hbase migrate' but as it seems it requires a local copy of 
> the hbase root dir ('hdfs://...' required : 'file:///').

There was a bug in our Migrate tool (HBASE-590).  Its will be fixed in 
the 0.1.2 release (A 0.1.2 release candidate was put up a few weeks 
back.  A new candidate should go up today or tomorrow).


>
> b) Can you specify the location of the .META. directory?
>
> It seems as if hbase by itself chooses the region server to store the 
> .META. table at. I used the local file system with only ONE region 
> server configured. Then, I stopped the hbase master, increased the 
> number of region servers, restarted the hbase master and the 
> previously generated tables where gone. On the web interface I saw 
> that hbase had chosen another region server for the meta directory.
>
> Any suggestions? 
Thats correct (that the master decides where the .META. goes).  Were the 
regionservers running on the same system as the master: i.e. were they 
sharing the same local fileystem?   Otherwise, you need to use hdfs.  
Master and regionservers all need to be sharing the same filesystem.

St.Ack