com.github.sakserv.minicluster.util.FileUtils.deleteFolder()方法的使用及代码示例

x33g5p2x  于2022-01-19 转载在 其他  
字(4.2k)|赞(0)|评价(0)|浏览(108)

本文整理了Java中com.github.sakserv.minicluster.util.FileUtils.deleteFolder()方法的一些代码示例,展示了FileUtils.deleteFolder()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。FileUtils.deleteFolder()方法的具体详情如下:
包路径:com.github.sakserv.minicluster.util.FileUtils
类名称:FileUtils
方法名:deleteFolder

FileUtils.deleteFolder介绍

暂无

代码示例

代码示例来源:origin: sakserv/hadoop-mini-clusters

@Override
  public void cleanUp() throws Exception {
    FileUtils.deleteFolder(tempDir);
  }
}

代码示例来源:origin: com.github.sakserv/hadoop-mini-clusters-hbase

@Override
  public void cleanUp() throws Exception {
    FileUtils.deleteFolder(hbaseRootDir);
  }
}

代码示例来源:origin: sakserv/hadoop-mini-clusters

@Override
public void cleanUp() throws Exception {
  FileUtils.deleteFolder(hdfsTempDir);
}

代码示例来源:origin: com.github.sakserv/hadoop-mini-clusters-zookeeper

@Override
  public void cleanUp() throws Exception {
    FileUtils.deleteFolder(tempDir);
  }
}

代码示例来源:origin: sakserv/hadoop-mini-clusters

@Override
public void cleanUp() throws Exception {
  FileUtils.deleteFolder(storeDir);
}

代码示例来源:origin: com.github.sakserv/hadoop-mini-clusters-kafka

@Override
public void cleanUp() throws Exception {
  FileUtils.deleteFolder(kafkaTempDir);
}

代码示例来源:origin: jetoile/hadoop-unit

@Override
  public void cleanUp() throws Exception {
    FileUtils.deleteFolder(hiveMetastoreDerbyDbDir);
    FileUtils.deleteFolder(hiveWarehouseDir);
    FileUtils.deleteFolder(new File("derby.log").getAbsolutePath());
  }
}

代码示例来源:origin: sakserv/hadoop-mini-clusters

@Override
  public void cleanUp() throws Exception {
    FileUtils.deleteFolder(hiveMetastoreDerbyDbDir);
    FileUtils.deleteFolder(hiveWarehouseDir);
    FileUtils.deleteFolder(new File("derby.log").getAbsolutePath());
  }
}

代码示例来源:origin: fr.jetoile.hadoop/hadoop-unit-hive

@Override
  public void cleanUp() throws Exception {
    FileUtils.deleteFolder(hiveMetastoreDerbyDbDir);
    FileUtils.deleteFolder(hiveWarehouseDir);
    FileUtils.deleteFolder(new File("derby.log").getAbsolutePath());
  }
}

代码示例来源:origin: com.github.sakserv/hadoop-mini-clusters-hiveserver2

@Override
public void cleanUp() throws Exception {
  FileUtils.deleteFolder(hiveMetastoreDerbyDbDir);
  FileUtils.deleteFolder(hiveScratchDir);
  FileUtils.deleteFolder(new File("derby.log").getAbsolutePath());
}

代码示例来源:origin: fr.jetoile.hadoop/hadoop-unit-hbase

private void cleanup() {
  FileUtils.deleteFolder(rootDirectory);
  FileUtils.deleteFolder(rootDirectory.substring(rootDirectory.lastIndexOf("/") + 1));
}

代码示例来源:origin: jetoile/hadoop-unit

@Override
public void cleanUp() throws Exception {
  FileUtils.deleteFolder(oozieTestDir);
  FileUtils.deleteFolder(oozieHdfsShareLibDir);
  FileUtils.deleteFolder(new File("derby.log").getAbsolutePath());
}

代码示例来源:origin: jetoile/hadoop-unit

private void cleanup() {
  FileUtils.deleteFolder(derbyDirectory);
  FileUtils.deleteFolder(derbyDirectory.substring(derbyDirectory.lastIndexOf("/") + 1));
}

代码示例来源:origin: jetoile/hadoop-unit

private void cleanup() {
  FileUtils.deleteFolder(derbyDirectory);
  FileUtils.deleteFolder(derbyDirectory.substring(derbyDirectory.lastIndexOf("/") + 1));
}

代码示例来源:origin: com.github.sakserv/hadoop-mini-clusters-knox

@Override
public void cleanUp() throws Exception {
  FileUtils.deleteFolder(gatewayDir.getAbsolutePath());
  FileUtils.deleteFolder(new File(homeDir).getAbsolutePath());
}

代码示例来源:origin: fr.jetoile.hadoop/hadoop-unit-hive

private void cleanup() {
  FileUtils.deleteFolder(derbyDirectory);
  FileUtils.deleteFolder(derbyDirectory.substring(derbyDirectory.lastIndexOf("/") + 1));
}

代码示例来源:origin: fr.jetoile.hadoop/hadoop-unit-hive

private void cleanup() {
  FileUtils.deleteFolder(derbyDirectory);
  FileUtils.deleteFolder(derbyDirectory.substring(derbyDirectory.lastIndexOf("/") + 1));
}

代码示例来源:origin: jetoile/hadoop-unit

private void cleanup() {
  FileUtils.deleteFolder(rootDirectory);
  FileUtils.deleteFolder(rootDirectory.substring(rootDirectory.lastIndexOf("/") + 1));
}

代码示例来源:origin: jetoile/hadoop-unit

private void cleanup() {
  if (new File("./target/classes").exists()) {
    FileUtils.deleteFolder("./target/" + getTestName());
  } else {
    FileUtils.deleteFolder("./target");
  }
}

代码示例来源:origin: fr.jetoile.hadoop/hadoop-unit-yarn

private void cleanup() {
  if (new File("./target/classes").exists()) {
    FileUtils.deleteFolder("./target/" + getTestName());
  } else {
    FileUtils.deleteFolder("./target");
  }
}

相关文章