hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ming Ma (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-11916) TestStringUtils#testLowerAndUpperStrings failed on MAC due to a JVM bug
Date Mon, 04 May 2015 19:02:05 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-11916?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ming Ma updated HADOOP-11916:
-----------------------------
    Attachment: HADOOP-11916.patch

Attach a patch to skip the test on MAC.

> 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
>         Attachments: HADOOP-11916.patch
>
>
> 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.
> {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)

Mime
View raw message