Ming Ma created HADOOP-11916: -------------------------------- Summary: TestStringUtils#testLowerAndUpperStrings failed on MAC due to a JVM bug Key: HADOOP-11916 URL: https://issues.apache.org/jira/browse/HADOOP-11916 Project: Hadoop Common Issue Type: Bug Reporter: Ming Ma Priority: Minor
The test fails with the belong exception. It turns out there is a JVM bug for MAC, http://bugs.java.com/bugdatabase/view_bug.do?bug_id=8047340. {noformat} 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) {noformat} Perhaps we can disable this test case on MAC. -- This message was sent by Atlassian JIRA (v6.3.4#6332)