@ Deprecated public void deleteLocalFiles ( ) throws IOException { String [ ] localDirs = getLocalDirs ( ) ; for ( int i = 0 ; i < localDirs . length ; i ++ ) { FileSystem . getLocal ( this ) . delete ( new Path ( localDirs [ i ] ) ) ; } }
Use MRAsyncDiskService . moveAndDeleteAllVolumes instead .