|
|
-
Re: Using df instead of du to calculate datanode spaceEdward Capriolo 2011-05-21, 14:58
Good job. I brought this up an another thread, but was told it was not a
problem. Good thing I'm not crazy. On Sat, May 21, 2011 at 12:42 AM, Joe Stein <[EMAIL PROTECTED]>wrote: > I came up with a nice little hack to trick hadoop into calculating disk > usage with df instead of du > > > http://allthingshadoop.com/2011/05/20/faster-datanodes-with-less-wait-io-using-df-instead-of-du/ > > I am running this in production, works like a charm and already > seeing benefit, woot! > > I hope it works well for others too. > > /* > Joe Stein > http://www.twitter.com/allthingshadoop > */ > |