Reply
New Contributor
Posts: 2
Registered: ‎07-22-2014
Accepted Solution

Hadoop Trash Folder Size

What is the most efficient way to determine the size of Trash in a cluster periodically?  It seems like this is not available through the Hadoop metrics.

Highlighted
Expert Contributor
Posts: 101
Registered: ‎01-24-2014

Re: Hadoop Trash Folder Size

You are right, I don't see this in hadoop metrics or in jmx stats in  the active namenode on my clusters either. 

 

here is a way to get what you are after in hdfs commands:

 

hdfs dfs -du /user/*/.Trash

 

 

Announcements

Our community is getting a little larger. And a lot better.


Learn More about the Cloudera and Hortonworks community merger planned for late July and early August.