cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aaron morton <aa...@thelastpickle.com>
Subject Re: JNA on Windows
Date Sun, 08 Jul 2012 18:26:05 GMT
Processes start differently on windows.

On windows it uses mklink to make a hard link
https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/utils/CLibrary.java#L170


Cheers

-----------------
Aaron Morton
Freelance Developer
@aaronmorton
http://www.thelastpickle.com

On 6/07/2012, at 5:57 AM, Fredrik Stigbäck wrote:

> Hello.
> I have a question regarding JNA and Windows.
> I read about the problem that when taking snapshots might require the
> process space x 2 due to how hardlinks are created.
> Is JNA for Windows supported?
> Looking at jira issue
> https://issues.apache.org/jira/browse/CASSANDRA-1371 looks like it but
> checking in the Cassandra code base
> org.apache.cassandra.utils.CLibrary the only thing I see, is
> Native.register("c") which tries to load the c-library but I think
> doesn't exists on Windows which will result in creating links with cmd
> or fsutil and which might then triggger these extensive memory
> requirements.
> I'd be happy if someone could shed some light on this issue.
> Regards
> /Fredrik


Mime
View raw message