Logo Search packages:      
Sourcecode: hadoop version File versions  Download package

static void org::apache::hadoop::tools::DistCp::fullyDelete ( String  dir,
Configuration  conf 
) throws IOException [inline, static, package]

Fully delete dir

Definition at line 936 of file DistCp.java.

References org::apache::hadoop::fs::Path::getFileSystem().

Referenced by copy().

    if (dir != null) {
      Path tmp = new Path(dir);
      tmp.getFileSystem(conf).delete(tmp, true);

Generated by  Doxygen 1.6.0   Back to index