hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Li Chongxin" <lichong...@zju.edu.cn>
Subject Re: tables disappear after system restart (single node)
Date Mon, 07 Jun 2010 03:09:37 GMT
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
View raw message