hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Schneider <Sch...@TransPac.com>
Subject Making DFS safe from my fumbling fingers
Date Wed, 30 Aug 2006 23:34:32 GMT

Here's a patch I made recently that changes the behavior of dfs -rm 
so that it moves the target fille/folder into a trash folder 
(appending a timestamp) instead of deleting it. There is also a new 
dfs -emptyTrash to empty the trash (after confirming with the user). 
I sleep easier with this in place to prevent me from accidently 
deleting my entire crawl directory.


- Chris
Chris Schneider
TransPac Software, Inc.
View raw message