You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Andrei Sereda (JIRA)" <ji...@apache.org> on 2018/08/03 20:32:00 UTC

[jira] [Comment Edited] (CALCITE-2442) Cassandra unit test leaves stale folders in cassandra/ module on Windows

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

Andrei Sereda edited comment on CALCITE-2442 at 8/3/18 8:31 PM:
----------------------------------------------------------------

This seems to be a failure in {{DatabaseDescriptor.daemonInitialization()}} do you have traces beyond {{CassandraAdapterTest}} ?

Can you please check a couple of things
# How many network interfaces do you have configured ({{ifconfig -a}}) ?
# {{ping localhost}}  does it work for you (is localhost resolvable) ?
# what if you change config parameter inside {{rpc_address: 127.0.0.1}}. File {{cassandra/src/test/resources/cassandra.yaml}} 

I did try to run openjdk9 (and OracleJDK 8,9,10) in virtual box but unfortunately can't reproduce the issue (full stack trace will help).


was (Author: asereda):
This seems to be a failure in {{DatabaseDescriptor.daemonInitialization()}} do you have traces beyond {{CassandraAdapterTest}} ? 

> Cassandra unit test leaves stale folders in cassandra/ module on Windows
> ------------------------------------------------------------------------
>
>                 Key: CALCITE-2442
>                 URL: https://issues.apache.org/jira/browse/CALCITE-2442
>             Project: Calcite
>          Issue Type: Bug
>          Components: cassandra
>            Reporter: Andrei Sereda
>            Priority: Major
>
> [~Sergey Nuyanzin] reported that [CassandraUnit|https://github.com/jsevellec/cassandra-unit] leaves {{.toDelete}} folder in maven module folder ({{cassandra/}}) rather than {{target/}} where all build and temporary files should be located.
> {quote}
> There is one more strange thing (at least on Windows): while building a
> file with name ".toDelete" is generated under calcite\cassandra and it's
> not removed by the end of tests
> Is there a way to make cassandra generates these files in target directory
> e.g.?
> {quote}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)