Error on EmbeddedCassandaServerHelper.getSession() - fails to start

瀏覽次數:181 次
跳到第一則未讀訊息

Raj A

未讀,
2020年7月29日 上午11:00:292020/7/29
收件者:cassandra-unit-users
Hi,

I am trying to use cassandra-unit for the first time.  Using v4.3.1.0.  I am using intellij, on Java 8 with Junit 5.  

When I start the cassandra instance using the EmbeddedCassandraServerHelper - I see two problems.

First, I see an error in the logs "no sigar-amd64-winnt.dll in java.library.path", but the process still continues.  It does not stop here.
Second, after some time I keep getting an error "FSWriteError: java.io.Exception: unable to open hint directory "<path to hints director>"  and then it stops.

I tried different things but nothing seem to work.  I am not sure if the first issue is causing the second one - but any help with resolving this would of great help.

On a side note, the application is currently trying to use Datastax java driver v4.6.  I am not sure if that impacts running cassandra-unit, but just FYI.

Please advise.

Thanks,
Raj.

Nate McCall

未讀,
2020年7月29日 晚上10:21:372020/7/29
收件者:cassandra-...@googlegroups.com
This is a windows compatibility issue that was *just* fixed:

There is an active thread on the Cassandra dev ML as well: 

--
Vous recevez ce message, car vous êtes abonné au groupe Google Groupes "cassandra-unit-users".
Pour vous désabonner de ce groupe et ne plus recevoir d'e-mails le concernant, envoyez un e-mail à l'adresse cassandra-unit-u...@googlegroups.com.
Cette discussion peut être lue sur le Web à l'adresse https://groups.google.com/d/msgid/cassandra-unit-users/d766b871-c4a0-439f-8fe8-79f99fefb8e1o%40googlegroups.com.

Raj A

未讀,
2020年8月3日 下午1:52:342020/8/3
收件者:cassandra-unit-users
Thanks a lot Nate for your response.  I am new to all this, so sorry for any obvious questions.  If it is fixed, what version of cassandra-unit I need to get so I can test with it?  I see v4.3.1.0, which I am currently using - but no updated version later.

Please advise.

Thanks,
Raj.

Nate McCall

未讀,
2020年8月3日 下午3:36:442020/8/3
收件者:cassandra-...@googlegroups.com
The patch in question has yet to be committed, let alone released. I think the takeaway from the mail thread is that we are leaning towards not supporting Windows directly anymore in lieu of WSL2. I recommend going this route as this will probably not be the last Windows-specific issue you encounter. 

--
Vous recevez ce message, car vous êtes abonné au groupe Google Groupes "cassandra-unit-users".
Pour vous désabonner de ce groupe et ne plus recevoir d'e-mails le concernant, envoyez un e-mail à l'adresse cassandra-unit-u...@googlegroups.com.
回覆所有人
回覆作者
轉寄
訊息已遭刪除
0 則新訊息