HADOOP-9858. Remove unused private RawLocalFileSystem#execCommand method from branch-2. Contributed by Chris Nauroth.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1512491 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Chris Nauroth 2013-08-09 21:08:38 +00:00
parent 1050cb5203
commit a21debedec
2 changed files with 4 additions and 9 deletions

View File

@ -93,6 +93,9 @@ Release 2.1.1-beta - UNRELEASED
HADOOP-9757. Har metadata cache can grow without limit (Cristina Abad via daryn)
HADOOP-9858. Remove unused private RawLocalFileSystem#execCommand method from
branch-2. (cnauroth)
Release 2.1.0-beta - 2013-08-06
INCOMPATIBLE CHANGES

View File

@ -660,14 +660,6 @@ public void setTimes(Path p, long mtime, long atime) throws IOException {
}
}
private static String execCommand(File f, String... cmd) throws IOException {
String[] args = new String[cmd.length + 1];
System.arraycopy(cmd, 0, args, 0, cmd.length);
args[cmd.length] = FileUtil.makeShellPath(f, true);
String output = Shell.execCommand(args);
return output;
}
@Override
public boolean supportsSymlinks() {
return true;