add -f to rm for hadoop tmpdir