cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Shuler (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-13601) Changes requested to the cassandra's debian + rpm installers packages
Date Wed, 28 Jun 2017 17:40:00 GMT

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

Michael Shuler commented on CASSANDRA-13601:
--------------------------------------------

Looks incomplete for testing and {{ cassandra-env.sh}} sets a duplicate {{-Xss}} value which
comes from {{jvm.options}} as far as I can tell. I'm not sure how to do conditionals for {{ant
test}} (and friends), which I thought was being manually edited in the jenkins job.

A quick grep in the source tree:
{noformat}
(trunk)mshuler@hana:~/git/cassandra$ git grep -C3 '\-Xss'
build.xml-        <jvmarg line="-javaagent:${basedir}/lib/jamm-0.3.0.jar ${additionalagent}"
/>
build.xml-        <jvmarg value="-ea"/>
build.xml-        <jvmarg value="-Dcassandra.debugrefcount=true"/>
build.xml:        <jvmarg value="-Xss256k"/>
build.xml-        <jvmarg value="-Dcassandra.memtable_row_overhead_computation_step=100"/>
build.xml-        <jvmarg value="-Dcassandra.test.use_prepared=${cassandra.test.use_prepared}"/>
build.xml-        <jvmarg value="-Dcassandra.test.offsetseed=@{poffset}"/>
--
build.xml-        <jvmarg value="-Djava.awt.headless=true"/>
build.xml-        <jvmarg value="-javaagent:${basedir}/lib/jamm-0.3.0.jar" />
build.xml-        <jvmarg value="-ea"/>
build.xml:        <jvmarg value="-Xss256k"/>
build.xml-        <jvmarg value="-Dcassandra.memtable_row_overhead_computation_step=100"/>
build.xml-        <jvmarg value="-Dcassandra.test.use_prepared=${cassandra.test.use_prepared}"/>
build.xml-        <jvmarg value="-Dcassandra.skip_sync=true" />
--
build.xml-        <jvmarg value="-Djava.awt.headless=true"/>
build.xml-        <jvmarg value="-javaagent:${basedir}/lib/jamm-0.3.0.jar" />
build.xml-        <jvmarg value="-ea"/>
build.xml:        <jvmarg value="-Xss256k"/>
build.xml-        <jvmarg value="-Dcassandra.test.use_prepared=${cassandra.test.use_prepared}"/>
build.xml-        <jvmarg value="-Dcassandra.memtable_row_overhead_computation_step=100"/>
build.xml-        <jvmarg value="-Dcassandra.skip_sync=true" />
--
conf/jvm.options--XX:+HeapDumpOnOutOfMemoryError
conf/jvm.options-
conf/jvm.options-# Per-thread stack size.
conf/jvm.options:-Xss256k
conf/jvm.options-
conf/jvm.options-# Larger interned string table, for gossip's benefit (CASSANDRA-6410)
conf/jvm.options--XX:StringTableSize=1000003
--
doc/source/development/ide.rst-
doc/source/development/ide.rst-::
doc/source/development/ide.rst-
doc/source/development/ide.rst:   -Xms1024M -Xmx1024M -Xmn220M -Xss256k -ea -XX:+UseThreadPriorities
-XX:ThreadPriorityPolicy=42 -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:+CMSParallelRemarkEnabled
-XX:+UseCondCardMark -javaagent:./lib/jamm-0.3.0.jar -Djava.net.preferIPv4Stack=true
doc/source/development/ide.rst-
doc/source/development/ide.rst-.. image:: images/eclipse_debug6.png
doc/source/development/ide.rst-
{noformat}

> 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