Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-11916

TestStringUtils#testLowerAndUpperStrings failed on MAC due to a JVM bug

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: None
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      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

          Issue Links

            Activity

              People

              • Assignee:
                mingma Ming Ma
                Reporter:
                mingma Ming Ma
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: