Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hadoop >> mail # user >> Can I remove a folder on HDFS when decommissioning a data node?


Copy link to this message
-
Re: Can I remove a folder on HDFS when decommissioning a data node?
Well, there you go... care to open a Jira for it?
It would be very helpful... The OP's question presents a very good use case.

Thx

-Mike

On Jun 26, 2012, at 10:00 AM, Harsh J wrote:

> Hi,
>
> On Tue, Jun 26, 2012 at 8:21 PM, Michael Segel
> <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> Yes you can remove a file while there is a node or node(s) being decommissioned.
>>
>> I wonder if there's a way to manually clear out the .trash which may also give you more space.
>
> There's no way to do that across all users presently (for each user,
> -expunge works though), other than running a manual rm (-skipTrash)
> command for the .Trash files under each /user/* directory. I suppose
> we can add in an admin command to clear out all trash manually
> (forcing, other than relying on the periodic auto-emptier thread).
>
> --
> Harsh J
>