[jira] [Comment Edited] (CASSANDRA-18050) Update JNA

2024-04-17 Thread Thomas De Keulenaer (Jira)


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

Thomas De Keulenaer edited comment on CASSANDRA-18050 at 4/17/24 11:19 AM:
---

Hi,

There is an issue with JNA and libffi when the TMP and HOME dirs are not 
writable nor executable:
* https://issues.apache.org/jira/browse/CASSANDRA-19565
* https://davecturner.github.io/2021/08/30/seven-year-old-segfault.html

With JNA >= 5.10.0 you can specify LIBFFI_TMPDIR.
I think it is best to set this to the same value as jna.tmpdir. Perhaps in 
cassandra-env.sh?



was (Author: twdkeule):
Hi,

There is an issue with JNA and libffi when the TMP and HOME dirs are not 
writable nor executable:
* https://issues.apache.org/jira/browse/CASSANDRA-19565
* https://davecturner.github.io/2021/08/30/seven-year-old-segfault.html
With JNA >= 5.10.0 you can specify LIBFFI_TMPDIR.
I think it is best to set this to the same value as jna.tmpdir. Perhaps in 
cassandra-env.sh?


> Update JNA
> --
>
> Key: CASSANDRA-18050
> URL: https://issues.apache.org/jira/browse/CASSANDRA-18050
> Project: Cassandra
>  Issue Type: Task
>  Components: Build
>Reporter: Ekaterina Dimitrova
>Assignee: Brandon Williams
>Priority: Normal
> Fix For: 5.0-alpha1, 5.0
>
>
> JNA needs to be updated for JDK 17 support. There was an update pre-4.0 but 
> not to the latest version (confirmed with the people involved, there was no 
> particular reason not to update to the latest version, just missed on rebase 
> of older PR)
> More details to come, opening this as a placeholder for now



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Comment Edited] (CASSANDRA-18050) Update JNA

2023-01-23 Thread Brandon Williams (Jira)


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

Brandon Williams edited comment on CASSANDRA-18050 at 1/23/23 8:57 PM:
---

JNA now starts a "JNA Cleaner" thread that tools tests need to account for, 
[here|https://github.com/driftx/cassandra/commit/f4f5a04f1f2fb830aeb6e00d312f45c1625cb07d]
 and 
[circle|https://app.circleci.com/pipelines/github/driftx/cassandra/807/workflows/aa0575ff-13cb-442a-b32f-92e43b555667].


was (Author: brandon.williams):
JNA now starts a "JNA Cleaner" thread that tools tests need to account for, 
[here|https://github.com/driftx/cassandra/commit/f4f5a04f1f2fb830aeb6e00d312f45c1625cb07d]]
 and 
[circle|https://app.circleci.com/pipelines/github/driftx/cassandra/807/workflows/aa0575ff-13cb-442a-b32f-92e43b555667].

> Update JNA
> --
>
> Key: CASSANDRA-18050
> URL: https://issues.apache.org/jira/browse/CASSANDRA-18050
> Project: Cassandra
>  Issue Type: Task
>Reporter: Ekaterina Dimitrova
>Priority: Normal
>
> JNA needs to be updated for JDK 17 support. There was an update pre-4.0 but 
> not to the latest version (confirmed with the people involved, there was no 
> particular reason not to update to the latest version, just missed on rebase 
> of older PR)
> More details to come, opening this as a placeholder for now



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Comment Edited] (CASSANDRA-18050) Update JNA

2023-01-23 Thread Brandon Williams (Jira)


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

Brandon Williams edited comment on CASSANDRA-18050 at 1/23/23 6:04 PM:
---

As a first step, lets see what shakes out from CI with 5.13: 
[circle|https://app.circleci.com/pipelines/github/driftx/cassandra/805/workflows/0bd79f51-771f-43e5-abf8-2bd666c760f7],
 
[!https://ci-cassandra.apache.org/job/Cassandra-devbranch/2217/badge/icon!|https://ci-cassandra.apache.org/blue/organizations/jenkins/Cassandra-devbranch/detail/Cassandra-devbranch/2217/pipeline].



was (Author: brandon.williams):
As a first step, lets see what shakes out from CI with 5.13: 
[circle|https://app.circleci.com/pipelines/github/driftx/cassandra/804/workflows/b9c730e3-5aa7-4e0e-9aaa-2b6cbd6d35c0],
 
[!https://ci-cassandra.apache.org/job/Cassandra-devbranch/2217/badge/icon!|https://ci-cassandra.apache.org/blue/organizations/jenkins/Cassandra-devbranch/detail/Cassandra-devbranch/2217/pipeline].


> Update JNA
> --
>
> Key: CASSANDRA-18050
> URL: https://issues.apache.org/jira/browse/CASSANDRA-18050
> Project: Cassandra
>  Issue Type: Task
>Reporter: Ekaterina Dimitrova
>Priority: Normal
>
> JNA needs to be updated for JDK 17 support. There was an update pre-4.0 but 
> not to the latest version (confirmed with the people involved, there was no 
> particular reason not to update to the latest version, just missed on rebase 
> of older PR)
> More details to come, opening this as a placeholder for now



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Comment Edited] (CASSANDRA-18050) Update JNA

2023-01-23 Thread Brandon Williams (Jira)


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

Brandon Williams edited comment on CASSANDRA-18050 at 1/23/23 5:42 PM:
---

As a first step, lets see what shakes out from CI with 5.13: 
[circle|https://app.circleci.com/pipelines/github/driftx/cassandra/804/workflows/b9c730e3-5aa7-4e0e-9aaa-2b6cbd6d35c0],
 
[!https://ci-cassandra.apache.org/job/Cassandra-devbranch/2217/badge/icon!|https://ci-cassandra.apache.org/blue/organizations/jenkins/Cassandra-devbranch/detail/Cassandra-devbranch/2217/pipeline].



was (Author: brandon.williams):
As a first step, lets see what shakes out from CI: 
[circle|https://app.circleci.com/pipelines/github/driftx/cassandra/804/workflows/b9c730e3-5aa7-4e0e-9aaa-2b6cbd6d35c0],
 
[!https://ci-cassandra.apache.org/job/Cassandra-devbranch/2217/badge/icon!|https://ci-cassandra.apache.org/blue/organizations/jenkins/Cassandra-devbranch/detail/Cassandra-devbranch/2217/pipeline].


> Update JNA
> --
>
> Key: CASSANDRA-18050
> URL: https://issues.apache.org/jira/browse/CASSANDRA-18050
> Project: Cassandra
>  Issue Type: Task
>Reporter: Ekaterina Dimitrova
>Priority: Normal
>
> JNA needs to be updated for JDK 17 support. There was an update pre-4.0 but 
> not to the latest version (confirmed with the people involved, there was no 
> particular reason not to update to the latest version, just missed on rebase 
> of older PR)
> More details to come, opening this as a placeholder for now



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org