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: <property> <name>javax.jdo.option.ConnectionURL</name> <value>jdbc:derby:PATH_FOR_YOUR_METASTORE</value> </property> It'll make it easier for you to blow away your setup. Pat From: Ajo Fod [mailto:[email protected]] Sent: Friday, February 11, 2011 4:52 PM To: [email protected] Subject: Re: reset hive and hadoop I'd be surprised if this were not enough. -Ajo On Fri, Feb 11, 2011 at 2:51 PM, Cam Bazz <[email protected]<mailto:[email protected]>> wrote: Hello, 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? best regards, c.b.
