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:
parent
1050cb5203
commit
a21debedec
|
@ -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
|
||||
|
|
|
@ -660,14 +660,6 @@ public class RawLocalFileSystem extends FileSystem {
|
|||
}
|
||||
}
|
||||
|
||||
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;
|
||||
|
|
Loading…
Reference in New Issue