cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amitkumar Ghatwal (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CASSANDRA-13601) Changes requested to the cassandra's debian + rpm installers packages
Date Fri, 16 Jun 2017 05:59:00 GMT

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

Amitkumar Ghatwal edited comment on CASSANDRA-13601 at 6/16/17 5:58 AM:
------------------------------------------------------------------------

[~mshuler]- Firstly appreciate for updating ticket details. Could you please comment on the
below as well.

1) Only good explanation can think of is that by increasing stack size to "-Xss512k". it 
helps to run Cassandra on 'ppc64le' architecture.
Can we introduce the change in "jvm.options/other places" as suggested -  
{noformat}
case `uname -m` in .
{noformat}
..

2)  Also since we now have a CI job already running for ppc64le - thanks to jeff ( https://builds.apache.org/view/A-D/view/Cassandra/job/cassandra-devbranch-ppc64le-testall/
) .Would like to propose adding ppc64le to -  "src/java/org/apache/cassandra/utils/Architecture.java"
.Ideally Architecture.java should include ppc64le as one of the platforms supporting unaligned
memory access. Adding patch here.




was (Author: amitkumar_ghatwal):
[~mshuler]- Firstly appreciate for updating ticket details. Could you please comment on the
below as well.

1) Only good explanation can think of is that by increasing stack size to -Xss512k- it  helps
to run Cassandra on 'ppc64le' architecture.
Can we introduce the change in "jvm.options/other places" as suggested -  
{noformat}
case `uname -m` in .
{noformat}
..

2)  Also since we now have a CI job already running for ppc64le - thanks to jeff ( https://builds.apache.org/view/A-D/view/Cassandra/job/cassandra-devbranch-ppc64le-testall/
) .Would like to propose adding ppc64le to -  "src/java/org/apache/cassandra/utils/Architecture.java"
.Ideally Architecture.java should include ppc64le as one of the platforms supporting unaligned
memory access. Adding patch here.



> Changes requested to the cassandra's debian + rpm installers packages
> ---------------------------------------------------------------------
>
>                 Key: CASSANDRA-13601
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13601
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Packaging
>         Environment: ~$ lscpu
> Architecture:          ppc64le
> Byte Order:            Little Endian
>            Reporter: Amitkumar Ghatwal
>            Priority: Minor
>              Labels: lhf
>             Fix For: 3.0.x, 3.11.x, 4.x
>
>         Attachments: ppc64le_unaligned_memory_access.patch
>
>
> Hi All,
> Thanks [~mshuler] for helping in installing cassandra using arch independent installers
 for debian + rpm packages from here : http://cassandra.apache.org/download/
> For my architecture - " ppc64le" , the installation process from debian + rpm wasn't
straightforward. And needed below configuration level changes.
> For Ubuntu- Cassandra 3.10 release - below changes were needed
> 1) echo "deb [arch=amd64] http://www.apache.org/dist/cassandra/debian 310x main" | sudo
tee -a /etc/apt/sources.list.d/cassandra.sources.list 
> 2) sed -i -e s/Xss256/Xss512/g /etc/cassandra/jvm.options
> 3) Removing jna-4.0.0.jar and replacing it with latest jna-4.4.0.jar in (/usr/share/cassandra/lib)-
Downloaded from here . 
> 4) Restart cassandra service
> For RHEL - Cassandra 3.0.13 release - below changes were needed
> 1) sed -i -e s/Xss256/Xss512/g /etc/cassandra/default.conf/cassandra-env.sh
> 3) Removing jna-4.0.0.jar and replacing it with latest jna-4.4.0.jar in (/usr/share/cassandra/lib)-
Downloaded from here . 
> 4) Restart cassandra service
> Could you please help in introducing above changes so that cassandra can be installed
from the debian + rpm pcakages and will indeed become architecture independent.
> Regards,
> Amit



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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


Mime
View raw message