yes, the standalone version uses file:///tmp to store data, to allow people to get up and running without HDFS. And you are exactly correct, with /tmp being cleaned on reboot on many distros. Grep for /tmp in hbase-default.xml to find the setting.
-ryan On Thu, Oct 1, 2009 at 12:47 AM, stephen mulcahy <[email protected]> wrote: > Hi, > > I could be way off the mark here - but if you are running HBase on top of > Hadoop in the default configuration then it may be using /tmp for HDFS. This > gets wiped on reboot which would cause the problems you are seeing. > > -stephen > > stack wrote: >> >> Shut it down cleanly (./bin/stop-hbase.sh). My guess is that you are >> killing it before it has chance to flush its in-memory state. >> >> HBase questions will get more timely response if posted to the hbase lists >> (see hbase.org). >> >> Yours, >> St.Ack St.Ack >> >> >> On Wed, Sep 30, 2009 at 9:22 AM, Something Something >> <[email protected] >>> >>> wrote: >> >>> Hello, >>> >>> I noticed that if I start HBase in "standalone" mode it creates a table >>> in >>> memory. In other words, after rebooting the machine, the table goes >>> away. >>> I would like to persist the table to a local file system. How can I do >>> that? Do I have to use "Psuedo Distribution" mode for this? >>> >>> Please help. Thanks. >>> >>> >>> >>> >>> >> > > > -- > Stephen Mulcahy, DI2, Digital Enterprise Research Institute, > NUI Galway, IDA Business Park, Lower Dangan, Galway, Ireland > http://di2.deri.ie http://webstar.deri.ie http://sindice.com >
