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 <[email protected]> >Reply-To: [email protected] >To: [email protected] >Subject: Re:tables disappear after system restart (single node) >Date: Sun, 6 Jun 2010 17:47:55 -0400 > >Hi all, > > On my single node installation of HBase, tables disappear (list command >on shell returns 0 rows) after I restart the node. This has happened to me >twice. Although the data is only test data, which can be regenerated, I was >wondering if there is a setting that I am missing. > > >Regards, >Raghava. > >
