AnsweredAssumed Answered

hadoop doesn't take out the .Trash

Question asked by dimamah on Mar 4, 2014
Latest reply on May 6, 2014 by dimamah
Hi, 
I'm using the Trash feature in Hadoop with the following configurations :

    fs.trash.interval=360
    fs.trash.checkpoint.interval=10
defined on all the servers in the cluster in core-site.xml


The .Trash directory at this path : `/mnt/mfs/my.cluster.com/user/hadoop/.Trash/Current/user/hive/warehouse/`

Looks like this :

    drwx------   4 hadoop hadoop   2 Feb 26 11:21 a.db
    drwx------   3 hadoop hadoop   1 Feb 26 15:25 b.db
    drwx------  64 hadoop hadoop  62 Feb 26 18:55 c.db
    drwx------ 157 hadoop hadoop 155 Feb 27 11:31 d.db
    drwx------  64 hadoop hadoop  62 Feb 27 20:57 e.db
    drwx------ 182 hadoop hadoop 180 Mar  2 20:45 f.db
    drwx------   3 hadoop hadoop   1 Mar  3 10:42 g.db
    drwx------  14 hadoop hadoop  12 Mar  3 12:00 h.db
    drwx------   5 hadoop hadoop   3 Mar  3 15:49 i.db
    drwx------   8 hadoop hadoop   6 Mar  3 17:05 j.db
    drwx------ 146 hadoop hadoop 144 Mar  3 17:22 k.db
    drwx------   8 hadoop hadoop   6 Mar  4 09:40 l.db
    drwxrwxrwx   2 hadoop hadoop   0 Mar  4 09:44 m.db.1
    drwx------ 168 hadoop hadoop 166 Mar  4 09:44 m.db
    drwxrwxrwx   2 hadoop hadoop   0 Mar  4 11:49 n.db.1
    drwx------ 151 hadoop hadoop 149 Mar  4 11:49 n.db
    drwx------   5 hadoop hadoop   3 Mar  4 14:14 o.db

All the folders are full. 
They contain tables that were dropped within Hive. 

Why the files are not being deleted?

Tnanks.

Outcomes