[ https://issues.apache.org/jira/browse/CASSANDRA-9897?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14644922#comment-14644922 ]
Joshua McKenzie commented on CASSANDRA-9897: -------------------------------------------- Hm. Looks like the problem's not that our subprocess is blocking when it has a valid return, but that nodetool isn't getting a return from the node *when the ccm cluster is run from within the dtest*. An attempt to perform the same nodetool -h localhost -p 7100 flush from cassandra\bin also hangs indefinitely, yet flat C* runs and straight ccm runs w/the same compiled .jars work fine. Other nodetool commands seem to work against the dtest cluster without issue and the logs on the node indicate that it got, and completed, the flush. > Windows dtest: snapshot_test.py failures > ---------------------------------------- > > Key: CASSANDRA-9897 > URL: https://issues.apache.org/jira/browse/CASSANDRA-9897 > Project: Cassandra > Issue Type: Sub-task > Reporter: Joshua McKenzie > Assignee: Joshua McKenzie > Labels: Windows > Fix For: 2.2.1 > > > System call is linux-specific: > {noformat} > ERROR [CommitLogArchiver:1] 2015-07-24 13:26:39,622 CassandraDaemon.java:181 > - Exception in thread Thread[CommitLogArchiver:1,5,main] > java.lang.RuntimeException: java.io.IOException: Exception while executing > the command: cp > c:\temp\dtest-phi4wd\test\node1\commitlogs\CommitLog-5-1437758795056.log c: > emp mpkzsvkb/CommitLog-5-1437758795056.log, command error Code: 1, > command output: cp: accessing > `c:\temp\tmpkzsvkb/CommitLog-5-1437758795056.log': Invalid argument > at com.google.common.base.Throwables.propagate(Throwables.java:160) > ~[guava-16.0.jar:na] > at > org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:32) > ~[main/:na] > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > ~[na:1.8.0_45] > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > ~[na:1.8.0_45] > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) > ~[na:1.8.0_45] > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) > [na:1.8.0_45] > at java.lang.Thread.run(Thread.java:745) [na:1.8.0_45] > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)