Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
None
-
Normal
Description
Clean shutdown on OSX with Java 1.8.0_20 does not work due to JDK bug 8050499 fixed for Java 9.
Supplied patch provides a (very dirty) workaround to (hopefully) allow shutdown.
Exception during shutdown looks like this:
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
Attachments
Attachments
Issue Links
- relates to
-
SPARK-30385 WebUI occasionally throw IOException on stop()
- Resolved