cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Kjellman (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-13300) Upgrade the jna version to 4.3.0
Date Mon, 06 Mar 2017 20:24:33 GMT

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

Michael Kjellman commented on CASSANDRA-13300:
----------------------------------------------

[~snazy] i agree -- looking at this closer this is sorta related fallout to the change I made
with CASSANDRA-13233. It would have always failed -- but it's a bit clearer now because the
getPid() call in this case is correctly hitting the JNA path as the report shows this was
run on Ubuntu.

The only PPC handling we've had (that I can see) is the following:
{code}
if (System.getProperty("os.arch").toLowerCase().contains("ppc"))
        {
            if (OS_LINUX)
            {
               MCL_CURRENT = 0x2000;
               MCL_FUTURE = 0x4000;
            }
            else if (OS_AIX)
            {
                MCL_CURRENT = 0x100;
                MCL_FUTURE = 0x200;
            }
            else
            {
                MCL_CURRENT = 1;
                MCL_FUTURE = 2;
            }
        }
        else
        {
            MCL_CURRENT = 1;
            MCL_FUTURE = 2;
        }
{code}

[~jasobrown] I think we should also add a log line at level WARN if it's an OS that we don't
know about or if it's a platform we can't really test/don't support (PPC to start with).

> Upgrade the jna version to 4.3.0
> --------------------------------
>
>                 Key: CASSANDRA-13300
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13300
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Configuration
>            Reporter: Amitkumar Ghatwal
>            Assignee: Jason Brown
>
> Could you please upgrade the jna version present in the github cassandra
> location : https://github.com/apache/cassandra/blob/trunk/lib/jna-4.0.0.jar
> to below latest version   - 4.3.0 -
> http://repo1.maven.org/maven2/net/java/dev/jna/jna/4.3.0/jna-4.3.0-javadoc.jar



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message