cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Stupp (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-8220) JDK bug prevents clean shutdown on OSX with Java 1.8.0_20
Date Sun, 09 Nov 2014 20:22:34 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-8220?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14204095#comment-14204095
] 

Robert Stupp commented on CASSANDRA-8220:
-----------------------------------------

[~festerwim] it forces even C* own unit tests to fail. Unfortunately there's no valid (non-dirty)
solution for this yet - except downgrading the JDK to sth before 8u20.

> JDK bug prevents clean shutdown on OSX with Java 1.8.0_20
> ---------------------------------------------------------
>
>                 Key: CASSANDRA-8220
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8220
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Robert Stupp
>            Assignee: Robert Stupp
>             Fix For: 2.1.2
>
>         Attachments: jdk8050499.txt
>
>
> Clean shutdown on OSX with Java 1.8.0_20 does not work due to [JDK bug 8050499 fixed
for Java 9|https://bugs.openjdk.java.net/browse/JDK-8050499].
> Supplied patch provides a (very dirty) workaround to (hopefully) allow shutdown.
> Exception during shutdown looks like this:
> {code}
> ERROR 22:23:15 Fatal exception in thread Thread[StorageServiceShutdownHook,5,main]
> java.io.IOError: java.io.IOException: Unknown error: 316
> 	at org.apache.cassandra.net.MessagingService.shutdown(MessagingService.java:721) ~[trunk/na]
> 	at org.apache.cassandra.service.StorageService$1.runMayThrow(StorageService.java:553)
~[trunk/na]
> 	at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28) ~[trunk/na]
> 	at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_20]
> Caused by: java.io.IOException: Unknown error: 316
> 	at sun.nio.ch.NativeThread.signal(Native Method) ~[na:1.8.0_20]
> 	at sun.nio.ch.ServerSocketChannelImpl.implCloseSelectableChannel(ServerSocketChannelImpl.java:283)
~[na:1.8.0_20]
> 	at java.nio.channels.spi.AbstractSelectableChannel.implCloseChannel(AbstractSelectableChannel.java:234)
~[na:1.8.0_20]
> 	at java.nio.channels.spi.AbstractInterruptibleChannel.close(AbstractInterruptibleChannel.java:115)
~[na:1.8.0_20]
> 	at sun.nio.ch.ServerSocketAdaptor.close(ServerSocketAdaptor.java:137) ~[na:1.8.0_20]
> 	at org.apache.cassandra.net.MessagingService$SocketThread.close(MessagingService.java:958)
~[trunk/na]
> 	at org.apache.cassandra.net.MessagingService.shutdown(MessagingService.java:717) ~[trunk/na]
> 	... 3 common frames omitted
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message