cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Stupp (JIRA)" <>
Subject [jira] [Created] (CASSANDRA-12513) IOException (No such file or directory) closing MessagingService's server socket (locally)
Date Mon, 22 Aug 2016 06:43:22 GMT
Robert Stupp created CASSANDRA-12513:

             Summary: IOException (No such file or directory) closing MessagingService's server
socket (locally)
                 Key: CASSANDRA-12513
             Project: Cassandra
          Issue Type: Bug
            Reporter: Robert Stupp
            Priority: Minor

_Sometimes_ the {{RemoveTest}} fails with the following exception. It's not related to the
test itself.

The exception is risen in {{ServerSocketChannelImpl.implCloseSelectableChannel}} where it
checks that a thread ID is non-zero. The {{thread}} instance field is set inside its accept
and poll methods. It looks like this is caused by some race condition - i.e. stopping in debugger
at certain points prevents it from being triggered.
I could not find any misuse in the code base - but want to document this issue.

No difference between 8u92 and 8u102

INFO  [ACCEPT-/] 2016-08-22 08:35:16,606 ?:? - MessagingService has terminated the
accept() thread No such file or directory

	at org.apache.cassandra.service.RemoveTest.tearDown(
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(
	at java.lang.reflect.Method.invoke(
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(
	at org.junit.internal.runners.statements.RunAfters.evaluate(
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(
	at org.junit.runners.ParentRunner.runChildren(
	at org.junit.runners.ParentRunner.access$000(
	at org.junit.runners.ParentRunner$1.evaluate(
	at org.junit.internal.runners.statements.RunBefores.evaluate(
	at org.junit.internal.runners.statements.RunAfters.evaluate(
	at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(
	at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(
	at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(
	at com.intellij.rt.execution.junit.JUnitStarter.main(
Caused by: No such file or directory
	at Method)
	at java.nio.channels.spi.AbstractSelectableChannel.implCloseChannel(
	at java.nio.channels.spi.AbstractInterruptibleChannel.close(
	... 22 more

This message was sent by Atlassian JIRA

View raw message