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

Joshua McKenzie commented on CASSANDRA-9897:
--------------------------------------------

Reverted the C* commit in subsequent commit 
{{ab1433600ffa4abffb8f23f9c509879a99e6253c}}

Turns out the change wasn't necessary to make the snapshot tests pass and was 
also a no-op (simple mistake on my part):

{code:title=unassigned replace output}
if (FBUtilities.isWindows())
    archiveCommand.replace('/', File.separatorChar);
{code}

> 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)

Reply via email to