Comments (20)
Hi,
Is it in progress or done or another state ?
Because I'll setup it soon on Debian Jessie and I want the best way.
Thanks
from elassandra.
Hi,
Yes, it's on going, a debian package should be available in a couple of weeks.
Right now, you can unzip the tarball, set your CASSANDRA_HOME, and run bin/cassandra -e to start elassandra.
Thanks.
from elassandra.
https://github.com/vroyer/elassandra/wiki/Setup-Elassandra-on-Debian
from elassandra.
Hi,
I just have published a debian like pakage, with installation method :
https://github.com/vroyer/elassandra/wiki/Install-Elassandra-with-DEB-(Debian,Ubuntu...)
Feel free to try it and send your comments...
from elassandra.
@xcourmont
I get this error after following the guide. For some reason it's getting the wrong path on ubuntu 14.04:
from elassandra.
hello,
the DNS name packages.elassandra.io was ko for a few days. That could explain why you've got this issue.
A new release will be available, perhaps this week-end...
I will release a new documentation, more detailed.
Beside that, I don't have tested on ubuntu server...
Remarks and suggestions are heavily appreciated
Regards
from elassandra.
@xcourmont Thanks, now I can install it with apt-get. But I have a new issue when I manually run it with /opt/elassandra/bin/cassandra -e and I don't understand why:
from elassandra.
Hello,
there is no errors on your screen shot. so, it's difficult to see why you can't start elassandra.
Which version do you use ? 2.1.1-15 ?
Do you use the cassandra user ?
If not, have you set CASSANDRA_HOME and CASSANDRA_CONF to point to /opt/elassandra and /opt/elassandra/conf
You can also find some useful debugging info in elassandra logs (/opt/elassandra/logs).
I will install ubuntu server soon, and see if there is some issue with it...
Regards
from elassandra.
@xcourmont
I'm using 2.1.1-14 and changed to the cassandra user on the screenshot.
Though now I can't uninstall elassandra to then install the new version:
from elassandra.
Hello,
For your deinstallation problem :
I just try to uninstall on debian 8 and it works !!!
As soon as possible, I will install ubuntu and try this package to correct the issue.
what you can do
To help me, try, as root, to run :
set -xv
/var/lib/dpkg/info/elassandra.prerm
and send me the result.
To force uninstall of this package :
put "exit 0" at the beginning of /var/lib/dpkg/info/elassandra.prerm, and retry to deinstall ...
Beside that, it seems that it is sigar library which stop java execution. Is your OS is 32 bit (because, the reported sigar version is 32 bit). and did you try the command suggested
execstack -c /opt/elassandra/lib/sigar-bin/libsigar-x86-linux.so ?
Which java version do you use ?
Regards
from elassandra.
@xcourmont
Running set -xv .... didn't return anything, just completed.
Yes the OS is 32bit.
While doing the execstack command I get:::
Uninstalling is not a big deal for now, mostly running it.
Thanks
from elassandra.
Hi,
"set -xv" is only used to have debugging informations for scripts !!!
What is really interesting is the result of /var/lib/dpkg/info/elassandra.prerm execution (the script used when you remove elassandra package on debians like systems).
Beside that, I think that if you can't remove package, chances are that you will neither be able to upgrade !!!
execstack is used to set some ELF informations on the executables, or shared libraries. It's related to security, and so, I think you must be root (or sudo) to succeed in this operation.
Regards
from elassandra.
Hi,
I'm working on a Big Data project for a class, and we are wanting to use Elassandra to access our twitter data. We are using Ubuntu 16 on AWS, but we are unable to follow the debian/ubuntu install in the docs because there is no Elassandra package for apt-get. Was this removed or was the package renamed?
from elassandra.
Hi @Synz0331,
This debian package is outdated, but we made a new one we did not publish yet.
It's gonna be available soon. If you need it now I can send you a copy.
from elassandra.
Hi @DBarthe ,
I would really appreciate it if we could get a copy of the new debian package. We ended up finding the outdated one with "dpkg -i elassandra_2.1.1-18.1.4_all.deb" and discovered that it wasn't spinning up the ports properly.
from elassandra.
Hi @Synz0331,
You can download deb file here: https://file.town/download/80qu0z6dkjz9edxoy4ui39k1m
(ensure sha1sum is 93ccc9af82954492171e6edffc1c7f13ad9450a6).
To use it on Ubuntu 16.04 with openjdk-8:
$ sudo apt-get update
$ sudo apt-get install openjdk-8-jre-headless python
$ sudo dpkg -i elassandra-2.4.2-SNAPSHOT_all.deb
Cassandra should start automatically, ensure the daemon is active:
$ sudo systemctl status cassandra
Logs are in /var/log/cassandra/system.log
.
Probably you want to use cqlsh:
$ sudo apt-get install python-pip
$ sudo pip install cqlsh
$ cqlsh --cqlversion=3.4
(notice the use of --cqlversion=3.4
)
In order to access Cassandra from outside your host, or to setup a multi-nodes cluster, you have to configure /etc/cassandra/cassandra.yaml
. You can refer to the cassandra 3.0.10 documentation
Please let me know if you encounter some troubles, this is not a stable release.
from elassandra.
hi @DBarthe
The installation of the new debian package for Ubuntu 16 worked nearly flawlessly. The only issue we ran into on the install was that nodetool isn't working. It came back as an error.
ubuntu@aws:/etc/cassandra$ nodetool --version
/usr/bin/nodetool: 25: [: missing ]
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.NoClassDefFoundError: io/airlift/command/ParseArgumentsMissingException
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
at java.lang.Class.privateGetMethodRecursive(Class.java:3048)
at java.lang.Class.getMethod0(Class.java:3018)
at java.lang.Class.getMethod(Class.java:1784)
at sun.launcher.LauncherHelper.validateMainClass(LauncherHelper.java:544)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:526)
Caused by: java.lang.ClassNotFoundException: io.airlift.command.ParseArgumentsMissingException
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 7 more
Other than that, everything appears to be working great. Once we put or data back into Cassandra and start using the elastic search, I'll let you know how everything goes and if we run into any other errors.
For the record, this was a fresh install on an AWS instance running Ubuntu 16.
from elassandra.
Yes we had this problem too, but we fix today only.
I uploaded a new deb: https://expirebox.com/download/8a79c8aec9b9beae07b3040b44e7f194.html
(sha1sum fe158b10a393f8384fb35ee6830432d49a40b846)
Simply run the same command over the new file:
sudo dpkg -i elassandra-2.4.2-SNAPSHOT_all.deb
This will add the missing library and restart elassandra, while keeping your configuration and data unchanged.
Otherwise thanks for feedback :)
from elassandra.
Hi @DBarthe
From what we can tell so far, we haven't run into any major issues with the debian package. Everything seemed very stable. Ultimately, we had difficulty trying to find out how to create the elasticsearch mappings. It may be a bug in the Cassandra version or the fact that we were running Cassandra on a single server and the replication was not kicking in. Overall, the package was good, we couldn't get it to work because of we didn't have an actual NetworkTopologyStrategy set up for Cassandra. Thank you for all your help.
from elassandra.
We provide deb and rpm packages. For instructions please refer to the installation documentation.
from elassandra.
Related Issues (20)
- Cassandra Starting error
- What to do with Elassandra? HOT 1
- Elassandra Starting Error on cpu.stat
- Is Windows supported ?
- Elasendra Error - shard or keyspace unavailable
- issue after upgrade elassandra from 6.2.3 to 6.8.4
- Unable to create new indices
- Elassandra index on blob
- Difference response for same API request HOT 2
- Inconsistent Data Querying ElasticSearch HOT 1
- Jar Hell when installing ingest-attachment plugin HOT 1
- is the project still active ? HOT 1
- override default Authenticator of Cassandra to PasswordAuthenticator
- cassandra -e is not working while bringing up the sever on windows. -e is not valid argument
- elassandra connectivity problem
- elasticsearch couldn't connect
- Elassandra not working on windows 10
- Run source code error
- elassandra importing cql database but not creating elasticsearch indexes HOT 2
- Elassandra not able to run in Kubernetes HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elassandra.