Giter Club home page Giter Club logo

Comments (20)

 avatar commented on May 26, 2024

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.

vroyer avatar vroyer commented on May 26, 2024

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.

ChrisFeldmeier avatar ChrisFeldmeier commented on May 26, 2024

https://github.com/vroyer/elassandra/wiki/Setup-Elassandra-on-Debian

from elassandra.

xcourmont avatar xcourmont commented on May 26, 2024

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.

ddorian avatar ddorian commented on May 26, 2024

@xcourmont
I get this error after following the guide. For some reason it's getting the wrong path on ubuntu 14.04:
virtualbox_ubuntu 14 04 server 32bit _06_07_2016_13_39_19

from elassandra.

xcourmont avatar xcourmont commented on May 26, 2024

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.

ddorian avatar ddorian commented on May 26, 2024

@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:

virtualbox_ubuntu 14 04 server 32bit _11_07_2016_18_37_30

from elassandra.

xcourmont avatar xcourmont commented on May 26, 2024

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.

ddorian avatar ddorian commented on May 26, 2024

@xcourmont
I'm using 2.1.1-14 and changed to the cassandra user on the screenshot.

virtualbox_ubuntu 14 04 server 32bit _12_07_2016_11_45_34

Though now I can't uninstall elassandra to then install the new version:
virtualbox_ubuntu 14 04 server 32bit _12_07_2016_11_49_38

from elassandra.

xcourmont avatar xcourmont commented on May 26, 2024

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.

ddorian avatar ddorian commented on May 26, 2024

@xcourmont
Running set -xv .... didn't return anything, just completed.
Yes the OS is 32bit.

While doing the execstack command I get:::

virtualbox_ubuntu 14 04 server 32bit _12_07_2016_20_11_02

Uninstalling is not a big deal for now, mostly running it.

Thanks

from elassandra.

xcourmont avatar xcourmont commented on May 26, 2024

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.

SympleSynz avatar SympleSynz commented on May 26, 2024

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.

DBarthe avatar DBarthe commented on May 26, 2024

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.

SympleSynz avatar SympleSynz commented on May 26, 2024

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.

DBarthe avatar DBarthe commented on May 26, 2024

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.

SympleSynz avatar SympleSynz commented on May 26, 2024

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.

DBarthe avatar DBarthe commented on May 26, 2024

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.

SympleSynz avatar SympleSynz commented on May 26, 2024

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.

DBarthe avatar DBarthe commented on May 26, 2024

We provide deb and rpm packages. For instructions please refer to the installation documentation.

from elassandra.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.