hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stack <st...@duboce.net>
Subject Re: dfs.data.dir - hbase and hadoop
Date Mon, 27 Dec 2010 17:24:26 GMT
On Sat, Dec 25, 2010 at 4:19 PM, devush <devushanker@gmail.com> wrote:
> Hi,
> I am running a single node configuration. hhase-site.xml is empty, but in
> the hdfs-site.xml (hadoop/conf)  dfs.data.dir is configured to some
> directory in the users home directory. The files survives the reboot. But
> the Hbase looses the tables.
> Do i have to duplicate the dfs.data.dir configuration in the hbase also?

No.  Thats an hdfs config.  Not an hbase config.

If your hbase-site.xml is empty, then its using local filesystem, not
hdfs.  By default, local fs writes /tmp.  This is probably your tables
do not survive the reboot.

What are you trying to do?  You want hbase to use local filesystem or
hdfs?  If local fs, try setting the below in hbase-site.xml:

  <description>A base for other temporary directories.</description>

If you want to use hdfs, see 'pseudo-distributed' section of 'Getting Started'.

Good luck,

> what is the relation between the dfs.data.dir for hbase and hadoop?
> can they both point to the same location? probably not.

View raw message