HADOOP-12495. Fix posix_spawn error on OS X (aw)
This commit is contained in:
parent
14f0e2787c
commit
b37c41fd6e
@ -817,6 +817,9 @@ protected void run() throws IOException {
|
||||
return;
|
||||
}
|
||||
exitCode = 0; // reset for next run
|
||||
if (Shell.MAC) {
|
||||
System.setProperty("jdk.lang.Process.launchMechanism", "POSIX_SPAWN");
|
||||
}
|
||||
runCommand();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user