Package Details: cassandra 3.11.1-1

Git Clone URL: (read-only)
Package Base: cassandra
Description: Apache Cassandra NoSQL database
Upstream URL:
Licenses: Apache
Submitter: None
Maintainer: CarstenF
Last Packager: CarstenF
Votes: 49
Popularity: 0.503577
First Submitted: 2010-09-11 10:45
Last Updated: 2017-10-15 10:35

Latest Comments

Xakep_SDK commented on 2017-09-24 21:57

Does this work with openjdk 9?
I have bunch of wrong-flag errors and one exception.
java.lang.NoClassDefFoundError: com/sun/jmx/remote/internal/RMIExporter
at java.base/java.lang.ClassLoader.defineClass1(Native Method) ~[na:na]
at java.base/java.lang.ClassLoader.defineClass( ~[na:na]
at java.base/ ~[na:na]
at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass( ~[na:na]
at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull( ~[na:na]
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull( ~[na:na]
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass( ~[na:na]
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass( ~[na:na]
at java.base/java.lang.ClassLoader.loadClass( ~[na:na]
at org.apache.cassandra.utils.JMXServerUtils.createJMXServer( ~[apache-cassandra-3.11.0.jar:3.11.0]
at org.apache.cassandra.service.CassandraDaemon.maybeInitJmx( [apache-cassandra-3.11.0.jar:3.11.0]
at org.apache.cassandra.service.CassandraDaemon.setup( [apache-cassandra-3.11.0.jar:3.11.0]
at org.apache.cassandra.service.CassandraDaemon.activate( [apache-cassandra-3.11.0.jar:3.11.0]
at org.apache.cassandra.service.CassandraDaemon.main( [apache-cassandra-3.11.0.jar:3.11.0]
Caused by: java.lang.ClassNotFoundException: com.sun.jmx.remote.internal.RMIExporter
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass( ~[na:na]
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass( ~[na:na]
at java.base/java.lang.ClassLoader.loadClass( ~[na:na]
... 14 common frames omitted

galaux commented on 2017-06-25 18:05

@CarstenF: I added some modifications to this package which include what swordfeng mentions.

Feel free to use it if you feel like it.

swordfeng commented on 2017-06-25 14:59

Todo List: pacman hooks: systemd-{sysusers,tmpfiles}

2017-01-11 - Christian Hesse
This rebuild covers packages using these hooks / commands:


Each rebuild requires the install file updated to remove these commands. No need for staging, packages go the usual way.

drjackild commented on 2016-08-28 13:11


You can downgrade to latest Python 2.7.11 version instead of 2.7.12. Have the same problems, solve it in that way. Check your pacman's cache folder
ls -l /var/pacman/cache/pkg` | grep python
and find latest python 2.7.11 version (in my case this was be 2.7.11-3), and install it with pacman
sudo pacman -U python2-2.7.11-3-x86_64.pkg.tar.xz
This should help

mtdk commented on 2016-07-30 18:29

Are there any alternative ways of getting CQLSH to work at current moment ? (getting same error as mentioned by @1125)

1125 commented on 2016-07-11 12:48

Getting Error: "TypeError('ref() does not take keyword arguments',)"

Currently broken caused by a python update?

It's discussed here:

Tested the latest github version, still not working, so not a package problem.

CarstenF commented on 2016-07-08 17:42

In the Arch Linux User Repository Guide is written that every user of the aur should have the package group "base-devel" installed. Which contains "binutils, patch and fakeroot".

I hope that help you.

Sincerely Yours.

dewyatt commented on 2016-07-07 05:39

Note: Required packages: binutils, patch, fakeroot

galaux commented on 2016-02-10 15:50

@sharow: this package is an orphan. Feel free to adopt it if you feel like it :)

sharow commented on 2016-02-10 06:02

2.2.5 and 3.0.3 released.

jcpst commented on 2015-12-09 19:37

updated to 2.2.4

MicroAleX commented on 2015-12-09 10:08

Sadly to say, but HTTP 404 again.

BlindPenguin commented on 2015-09-03 20:06

That was fast. Works now, thank you. :D

jcpst commented on 2015-09-03 16:53

updated to 2.1.9

BlindPenguin commented on 2015-09-03 16:21

Got a 404 while downloading. Looks like the package doesn't exist anymore.

joschi commented on 2015-02-09 21:55

@denspirit Fixed it. Thanks!

denspirit commented on 2015-01-30 15:51

PKGBUILD line 89, missing /usr before /lib in install target.

ras commented on 2014-12-10 19:57

the service still not starts, saying it cannot create /usr/share/cassandra/data/data, /usr/share/cassandra/data/commitlog...

Although /var/lib/cassandra is owned by the cassandra user, /usr/share/cassandra/data (which is a symlink to /var/lib/cassandra) is owned by root.

Changing the owner of the symlink solves the issue.

joschi commented on 2014-11-19 19:53

@galaux Makes sense. I've updated the PKGBUILD accordingly. Thanks!

galaux commented on 2014-11-19 12:19

Just tried a fresh new install and everything works ok.

@malcolmsparks: directory /run/cassandra is created by systemd as specified in file /usr/lib/tmpfiles.d/cassandra.conf. Maybe something went wrong and this dir got removed.
@joschi: maybe you could add `systemd-tmpfiles --create cassandra.conf` also on "post_update()" as package elasticsearch does [0].


malcolmsparks commented on 2014-11-19 11:14

Running systemctl start cassandra seems to hang for a few minutes and then return saying the service had failed.

The resolution I found was to create /var/run/cassandra which allows systemd to write the pid file. Perhaps this should be added to the package.

sharow commented on 2014-09-23 17:05

just install and start, but

Sep 24 01:48:09 linux cassandra[312]: ERROR 16:48:09 Directory /usr/share/cassandra/data/data doesn't exist
Sep 24 01:48:09 linux cassandra[312]: ERROR 16:48:09 Has no permission to create /usr/share/cassandra/data/data directory
Sep 24 01:48:09 linux systemd[1]: cassandra.service: main process exited, code=exited, status=3/NOTIMPLEMENTED

I fixed manually
$ sudo ln -s /var/lib/cassandra /usr/share/cassandra/data
$ sudo chown cassandra:cassandra /usr/share/cassandra/data
(but I dont know this is correct or not..)

martadinata666 commented on 2014-09-08 11:47

seems 2.0.10 out :)

galaux commented on 2014-07-03 13:21

`patch` belongs to group `base-devel`. As stated in :

Warning: The group base-devel is assumed to be already installed when building with makepkg. Members of "base-devel" should not be included in makedepends arrays.

krzemin commented on 2014-07-03 13:17

Please add patch to makedepends.

joschi commented on 2014-02-11 21:07

@galaux: Thanks for maintaining Cassandra until now!

galaux commented on 2014-02-11 20:05

@Joshi: totally forgot about your prosition of adopting this package! Please adopt it and take good care of it :)

joschi commented on 2014-02-10 21:44

Diff for an updated systemd service description and PKGBUILD for Cassandra 2.0.5:

joschi commented on 2014-02-10 21:44

Diff for an updated systemd service description and PKGBUILD for Cassandra 2.0.5:

joschi commented on 2014-01-16 21:56

Updated PKGBUILD for Cassandra 2.0.4:

galaux commented on 2013-12-02 20:52

Sorry for the delay. Package is up to date.

joschi commented on 2013-11-25 21:22

Updated PKGBUILD for Cassandra 2.0.3:

galaux: If you want to give up maintaining this PKGBUILD I would adopt it.

galaux commented on 2013-09-07 18:36

PKGBUILD for Cassandra v2.0.0 is available - thanks Joschi.
WARNING: data in /var/lib/cassandra written by Cassandra 1.* is NOT compatible with Cassandra 2.*. If you have such data, please remove it or install a previous version of Cassandra.

@Joschi: well to be honest I don't even use Cassandra anymore. If you have some Cassandra skills and would like to adopt this one let me know.

joschi commented on 2013-09-07 17:17

You might also be interested in the PKGBUILD for the Cassandra 1.2 branch:

joschi commented on 2013-09-07 17:17

Working PKGBUILD for Cassandra 2.0.0:

galaux commented on 2013-08-11 16:40

OK I see what you mean.

dressguard commented on 2013-08-11 16:11

@galaux: This is not an issue for the Cassandra package maintainer. It is just more a note to myself or others who might run into similar problems. Thought it would be the right place to mention it.

Package is very nice. Your work is highly appreciated. Thanks a lot.

galaux commented on 2013-08-10 16:36

It is up to the JDK to set this, not client applications. If you want to circumvent this lack in Oracle JDK package, you can set your JAVA_HOME in /usr/share/cassandra/

dressguard commented on 2013-08-10 15:24

@galaux: I'm using Oracle JDK.

galaux commented on 2013-06-22 17:02

@dressguard: I have tried on a fresh install and everything works out of the box. Are you using the official openjdk package?

dressguard commented on 2013-06-20 19:46

It might be necessary to set the JAVA_HOME environment variable in /usr/share/cassandra/

joschi commented on 2013-03-02 23:09

Updated PKGBUILD for Cassandra 1.2.2:

galaux commented on 2012-12-16 14:29

Sorry I should have mentionned: they all are installed in /usr/share/cassandra/tools/bin

koromilaz commented on 2012-12-16 14:27

@galaux: Valid point. However, you can still install them in /usr/share.

galaux commented on 2012-12-16 14:13

Uploaded new version 1.1.7
Added cqlsh as requested (actually added all shell in bin/)
moved conf files to /etc/cassandra and added them as PKGBUILD backups
plus several PKGBUILD and FHS cleanup things

@koromilaz: I haven't added scripts in tools/bin in the PATH. I consider upstream placed them here for a reason.

koromilaz commented on 2012-12-13 11:14

Please consider installing bin/cqlsh and maybe tools/bin/token-generator. Cheers!

galaux commented on 2012-11-08 20:09

systemd service file added.

galaux commented on 2012-11-08 17:35

Hi. Thanks but I feel fine with this package. I will add the systemd file as suggested.

cyber_fusion commented on 2012-11-08 12:08

I'd like to take over this package if possible (first changes include new version when ready (currently still in beta) and systemd integration)

cyber_fusion commented on 2012-11-08 12:05

I'd like to take over this package if possible (first changes include new version and systemd integration)

krevedko commented on 2012-10-13 17:21

If someone want to maintain package, it is time to do this.

Anonymous comment on 2012-04-26 09:40

New release:
MD5SUM: 8befe18a4abc342d03d1fbaaa0ac836b

bretthoerner commented on 2012-01-18 21:52

New upstream version:

krevedko commented on 2011-11-23 15:59

@ptchinster Thanks, fixed.

ptchinster commented on 2011-11-23 15:41

Needs gnupg.

alperkanat commented on 2011-11-03 09:56

@jhuesos: did you start it via rc.d command or by simply /etc/rc.d/cassandra start? in my trials, rc.d had problems starting and stopping this script but the "old way" always worked. i dunno why.

Anonymous comment on 2011-11-03 08:31

The cassandra version has moved. This is the new link for app:

Version 1.0.1

And the new md5sum:


But I edit the PKBUILD to change the version number and the md5 sum and it was installed correctly. But there is a problem in the rc.d script to start it up. I don't know the reason yet. Any suggestion?

krevedko commented on 2011-09-30 06:42

Thanks, alperkanat. I'll merge this changes in 24h.

alperkanat commented on 2011-09-29 23:02

sorry there were also ^M related issues so created new source archive with both changes: -- alternative link:

alperkanat commented on 2011-09-29 22:54

small typo: please change 655 to 755 for cassandra rc.d script

alperkanat commented on 2011-09-29 22:32 -- you can find my PKGBUILD changes for 0.8.6 with rc.d script (thanks to koromilaz) alternative link:

krevedko commented on 2011-09-29 08:21

@alperkanat Oh, looks good.
I'm maintaining this PKGBUILD less than two months, and i've doesnt noticed koromilaz's comment.
I will add rc.d when i have some free time.

Or... anybody can take part in pkgbuild development by going to and fork my PKGBUILDs repo, commit changes and i will merge changes upstream.

alperkanat commented on 2011-09-29 08:10

@shadid: have you considered adding the rc.d scripts koromilaz has mentioned? or you have the aim the keep it just as is to comply upstream?

krevedko commented on 2011-09-29 06:25

Thanks, fixed.

alperkanat commented on 2011-09-28 23:44

0.8.6 is out. Please also add gnupg as a makedep

krevedko commented on 2011-08-03 19:14

Folks, i've added gpg-signature verification into PKGBUILD (due to

krevedko commented on 2011-07-11 11:39 ERROR 404: Not Found.

Please update PKGBUILD like following:

Anonymous comment on 2011-04-19 15:57

PKGBUILD for version 0.7.4:

coverslide commented on 2011-03-28 19:22


koromilaz commented on 2011-01-24 14:17

The following version builds from source with apache-ant,
provides an rc.d daemon script and moves
all configuration files to /etc/cassandra.
Hope you find something useful in there :)


rc.d script:

Anonymous comment on 2011-01-04 10:37

@tychoish Thank You)


tychoish commented on 2011-01-03 19:06

@KFe if you could look at my pastebin, I also changed the "custertool" to "clustertool" to make sure it works as intended in my version. Hope that helps.


Anonymous comment on 2011-01-03 16:38

sorry for delay, updated

tychoish commented on 2011-01-03 15:08

A functional 0.6.8 PKGBUILD

tychoish commented on 2011-01-03 15:08

A functional 0.6.8 PKGBUILD

tychoish commented on 2011-01-03 14:58

Updated PKGBUILD for 0.6.8