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