hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amandeep Khurana <ama...@gmail.com>
Subject Re: Location of HBase's database (database' s files) on the hard disk
Date Fri, 21 Aug 2009 02:50:33 GMT
You configure the location of the hbase directory in the hbase-site.xml

The data being lost could have multilple reasons. To rule out the
basic one - where have you pointed the hdfs to store data? If its
going into /tmp, you'll lose data everytime the tmp cleaner comes into

On 8/20/09, Nguyen Thi Ngoc Huong <huongngtn@gmail.com> wrote:
> Hi all,
> I am a beginner to HBase. I have some question with Hbase after setup Hbase
> and Hadoop.
> The first, After setup Hbase and create a new database, I don't know where
> is location of HBase's database (database' s files) on the hard disk. At the
> first, I think it is on the hbase.rootdir directory, however, when I delete
> directory hbase.rootdir, and type the command "list", all of database
> exist.
> The second, after restart computer and restart hbase, all database of HBase
> is lost. Is it always true? Or did I configure wrong? How can i configure
> Hbase to save  database after restart computer?
> --
> Nguyễn Thị Ngọc Hương


Amandeep Khurana
Computer Science Graduate Student
University of California, Santa Cruz

View raw message