Code Monkey home page Code Monkey logo

Comments (18)

sergiomr88 avatar sergiomr88 commented on May 23, 2024

What is the problem exactly?

I was able to get the latest release running without installing Cassandra. As far as my understanding goes, elassandra is your cassandra database. It just has the elastic search stuff included. That being said, I'm currently using release 2.1.1 and to get it working I did install datastax's cassandra first.

from elassandra.

yanelev avatar yanelev commented on May 23, 2024

Thanks for the reply.

Here is one of the steps

Trying to install the cqlsh: (missing a file or something ..)

sanny@vm1:/home/elassandra# python pylib/setup.py
python: can't open file 'pylib/setup.py': [Errno 2] No such file or directory

from elassandra.

yanelev avatar yanelev commented on May 23, 2024

And another problem

sanny@vm1:/home/elassandra/bin# cqlsh
Traceback (most recent call last):
File "/usr/bin/cqlsh.py", line 152, in
from cqlshlib import cql3handling, cqlhandling, pylexotron, sslhandling
ImportError: cannot import name sslhandling

from elassandra.

sergiomr88 avatar sergiomr88 commented on May 23, 2024

For cqlsh, I installed it with pip. After that you should have cqlsh, cqlshlib and cqlsh.py in /usr/bin/.
Additionally, to use cqlsh you need to use Python 2.7. I don't know about Ubuntu, but Red Hat comes with Python 2.6 out of the box.

from elassandra.

yanelev avatar yanelev commented on May 23, 2024

Yes I do have it.
/usr/lib/pymodules/python2.7/cqlshlib#
But still when I try to run it I get the same error. Also install with pip install cqlsh.

sanny@vm1:/home/elassandra/bin# cqlsh
Traceback (most recent call last):
File "/usr/bin/cqlsh.py", line 152, in
from cqlshlib import cql3handling, cqlhandling, pylexotron, sslhandling
ImportError: cannot import name sslhandling

from elassandra.

sergiomr88 avatar sergiomr88 commented on May 23, 2024

Have you also installed zlib-devel and openssl-devel?

from elassandra.

yanelev avatar yanelev commented on May 23, 2024

Nope , I assume I should. Is it specified somewhere ?

from elassandra.

yanelev avatar yanelev commented on May 23, 2024

Sorry already there .... my mistake

from elassandra.

vroyer avatar vroyer commented on May 23, 2024

cqlsh in elassandra (and cassandra 2.2+) require python 2.7. With redhat 6.x, install Software Collection from Redhat, then run the following command to overload python27 in your bash.
#scl enable python27 bash

Then install the cassandra driver (pip install cassandra-driver).

from elassandra.

yanelev avatar yanelev commented on May 23, 2024

Thank you for your reply.
So Ubuntu will not work?

from elassandra.

vroyer avatar vroyer commented on May 23, 2024

Yes, as soon as you apply elasticsearch 2.1.1 and cassandra 2.2.x requirements, it should work on Ubuntu.

from elassandra.

ChrisFeldmeier avatar ChrisFeldmeier commented on May 23, 2024

It should work on ubuntu I use it on debian ;-)

from elassandra.

yanelev avatar yanelev commented on May 23, 2024

I am really fighting with this installation, can someone please send out one step install. I really missing something:
option 1; from source git clone the repo from github.
option 2: tarball repository but the link is 404.

What is the correct way?

Can you write some simple install process?

from elassandra.

sergiomr88 avatar sergiomr88 commented on May 23, 2024

The tarball can be found on https://github.com/vroyer/elassandra/releases
If the setup of the machine is correct, just untar the downloaded tarball, edit your cassandra.yaml file, and then start up cassandra.

from elassandra.

chevalier2k avatar chevalier2k commented on May 23, 2024

I am trying to install this and am kind of lost. Can someone clarify that i have to have elasticsearch and cassandra installed before i install elassandra. I am trying to install it on centos 7. So also if someone can confirm that it should work on it.

from elassandra.

vroyer avatar vroyer commented on May 23, 2024

Hi,
Just install the elassandra tarball, it includes cassandra 2.2.5 and elasticsearch 2.1.1.
Yes, it works on redhat and it should work on centos.
Regards,
Vincent.

Le 19 mai 2016 à 19:18, chevalier2k a écrit :

I am trying to install this and am kind of lost. Can someone clarify that i have to have elasticsearch and cassandra installed before i install elassandra. I am trying to install it on centos 7. So also if someone can confirm that it should work on it.


You are receiving this because you modified the open/close state.
Reply to this email directly or view it on GitHub

from elassandra.

chevalier2k avatar chevalier2k commented on May 23, 2024

Hi Vincent,

Is there a gracefull way to starting and stopping elassandra. By the way i did get it to work. Also when i start kibana after reboot, elasticsearch complains that index already exists.

Thanks
Vivek

from elassandra.

vroyer avatar vroyer commented on May 23, 2024

Hi Vivek,

Cassandra stop/start are documented there https://docs.datastax.com/en/cassandra/2.0/cassandra/reference/referenceStartStopTOC.html

Cassandra include a shutdown hook, a dedicated thread to finish ongoing writes regardless of the way you stop it (kill, nodetool stopdaemon, etc...).
In Elassandra, elasticsearch write requests are transformed to CQL writes managed by cassandra.
When elassandra restart, cassandra first replay commit logs and re-index your document.

In order to restart faster, you can flush cassandra before stopping (nodetool flush), but there is nothing special to makes gracefull stop/start.

Regards,
Vincent.

Le 20 mai 2016 à 05:03, chevalier2k a écrit :

Hi Vincent,

Is there a gracefull way to starting and stopping elassandra. By the way i did get it to work.

Thanks
Vivek


You are receiving this because you modified the open/close state.
Reply to this email directly or view it on GitHub

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.