Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
-
Reviewed
Description
The test fails with the below exception. It turns out there is a JVM bug for MAC, http://bugs.java.com/bugdatabase/view_bug.do?bug_id=8047340.
testLowerAndUpperStrings(org.apache.hadoop.util.TestStringUtils) Time elapsed: 0.205 sec <<< ERROR! java.lang.Error: posix_spawn is not a supported process launch mechanism on this platform. at java.lang.UNIXProcess$1.run(UNIXProcess.java:104) at java.lang.UNIXProcess$1.run(UNIXProcess.java:93) at java.security.AccessController.doPrivileged(Native Method) at java.lang.UNIXProcess.<clinit>(UNIXProcess.java:91) at java.lang.ProcessImpl.start(ProcessImpl.java:130) at java.lang.ProcessBuilder.start(ProcessBuilder.java:1028) at org.apache.hadoop.util.Shell.runCommand(Shell.java:486) at org.apache.hadoop.util.Shell.run(Shell.java:456) at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:722) at org.apache.hadoop.util.Shell.isSetsidSupported(Shell.java:391) at org.apache.hadoop.util.Shell.<clinit>(Shell.java:381) at org.apache.hadoop.util.StringUtils.<clinit>(StringUtils.java:80) at org.apache.hadoop.util.TestStringUtils.testLowerAndUpperStrings(TestStringUtils.java:432)
Perhaps we can disable this test case on MAC.
Attachments
Attachments
Issue Links
- is related to
-
HADOOP-11924 Tolerate JDK-8047340-related exceptions in Shell#isSetSidAvailable preventing class init
- Resolved