Re: HDFS undo Overwriting

2014-06-02 Thread Amr Shahin
There is no built in functionality in HDFS to do this. However, there are some software that can restore the hard-drive to a previous date (they work on the OS level transparent to HDFS), you might wanna try one of those. Not sure how the namenode will react to this though, you could at least get t

Re: HDFS undo Overwriting

2014-06-02 Thread varun kumar
Nope. Sorry :( On Mon, Jun 2, 2014 at 1:31 PM, Amjad ALSHABANI wrote: > Thanx Zesheng, > > I should admit that I m not an expert in Hadoop infrastructure, but I have > heard my colleagues talking about HDFS replicas? > Couldn't that help in retrieving the lost data?? > > Amjad > > > On Fri, Ma

Re: HDFS undo Overwriting

2014-06-02 Thread Amjad ALSHABANI
Thanx Zesheng, I should admit that I m not an expert in Hadoop infrastructure, but I have heard my colleagues talking about HDFS replicas? Couldn't that help in retrieving the lost data?? Amjad On Fri, May 30, 2014 at 1:44 PM, Zesheng Wu wrote: > I am afraid this cannot undo, in HDFS only the

Re: HDFS undo Overwriting

2014-05-30 Thread Zesheng Wu
I am afraid this cannot undo, in HDFS only the data which is deleted by the dfs client and goes into the trash can be undone. 2014-05-30 18:18 GMT+08:00 Amjad ALSHABANI : > Hello Everybody, > > I ve made a mistake when writing to HDFS. I created new database in Hive > giving the location on HDFS

HDFS undo Overwriting

2014-05-30 Thread Amjad ALSHABANI
Hello Everybody, I ve made a mistake when writing to HDFS. I created new database in Hive giving the location on HDFS but I found that it removed all other data that exist already. = before creation, the directory on HDFS contains : pns@app11:~$ hadoop fs -ls /user/hive/warehouse Found 25 ite