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 < [email protected]> wrote: > Thank you Li. > > Raghava. > > 2010/6/6 Li Chongxin <[email protected]> > > 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 <[email protected]> >> >Reply-To: [email protected] >> >To: [email protected], Li Chongxin <[email protected]> >> >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: [email protected] >> >> >To: [email protected] >> >> >Subject: Re:tables disappear after system restart (single node) >> > >> > >
