What else would be left? There's still any site configs but otherwise it's a cleaned system, right?
c.b.: you can specify your metastore_db location (so you only have one db) for your hive instance as a whole in hive-site.xml with this:
It'll make it easier for you to blow away your setup.
From: Ajo Fod
Sent: Friday, February 11, 2011 4:52 PM
Subject: Re: reset hive and hadoop
I'd be surprised if this were not enough.
On Fri, Feb 11, 2011 at 2:51 PM, Cam Bazz wrote:
I sometimes need to delete everything in hdfs and recreate the tables.
The question is: how do I clear everything in the hdfs and hive?
I delete everything in /tmp, hadoop/logs and any metastore_db i can find.
then hadoop namenode -format
is this enough?