Path trashDir = shell.getCurrentTrashDir(); FileStatus files[] = fs.listStatus(trashDir.getParent());
trashRoot = shell.getCurrentTrashDir(); checkTrash(fs, trashRoot, myFile);
Path trashDir = shell.getCurrentTrashDir(); FileStatus files[] = fs.listStatus(trashDir.getParent());
Path trashDir = shell.getCurrentTrashDir(); FileStatus files[] = fs.listStatus(trashDir.getParent());
final String trashFile = shell.getCurrentTrashDir() + "/" + testFile; String[] argv = new String[] { "-rm", testFile }; int res = ToolRunner.run(shell, argv);
shell.setConf(conf); if (trashRoot == null) { trashRoot = shell.getCurrentTrashDir();
shell.setConf(conf); if (trashRoot == null) { trashRoot = shell.getCurrentTrashDir();