hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raghava Mutharaju <m.vijayaragh...@gmail.com>
Subject Re: tables disappear after system restart (single node)
Date Mon, 07 Jun 2010 04:46:46 GMT
I think this was due to hbase.rootdir and hbase.tmp.dir were set to a folder
in /tmp. I guess the contents of this folder would be deleted on system
restart. I put in a different directory values for these 2 params.

Raghava.

On Sun, Jun 6, 2010 at 11:31 PM, Raghava Mutharaju <
m.vijayaraghava@gmail.com> wrote:

> Thank you Li.
>
> Raghava.
>
> 2010/6/6 Li Chongxin <lichongxin@zju.edu.cn>
>
> Yeah...HBase installation doesn't mention about these configuration.
>> From hdfs-default.xml, dfs.name.dir is the place "on the local filesystem
>> the DFS name node should store the name table(fsimage)",
>> so you can set it to any place you want. So is dfs.data.dir
>>
>> For example, you can create a directory "dfs" and set dfs.name.dir as
>> dfs/name and dfs.data.dir as dfs.data
>>
>> good luck
>>
>> >From: Raghava Mutharaju <m.vijayaraghava@gmail.com>
>> >Reply-To: user@hbase.apache.org
>> >To: user@hbase.apache.org, Li Chongxin <lichongxin@zju.edu.cn>
>> >Subject: Re: tables disappear after system restart (single node)
>> >Date: Sun, 6 Jun 2010 22:47:01 -0400
>> >
>> >Hello Li,
>> >
>> >      Thank you. I did not configure those properties. What should their
>> >values be? I didn't find this in the HBase installation steps.
>> >
>> >Regards,
>> >Raghava.
>> >
>> >2010/6/6 Li Chongxin
>>
>> >
>> >> Did you configure the properties "dfs.name.dir" and "dfs.data.dir" in
>> >> hdfs-site.xml? If not, that is probably the reason.
>> >>
>> >> Default value for these properties is under the /tmp directory. When
>> system
>> >> restart, data in this directory will disappear
>> >>
>> >> >From: Raghava Mutharaju
>>
>> >> >Reply-To: user@hbase.apache.org
>> >> >To: user@hbase.apache.org
>> >> >Subject: Re:tables disappear after system restart (single node)
>> >
>>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message