Comments (18)
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.
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.
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.
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.
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.
Have you also installed zlib-devel and openssl-devel?
from elassandra.
Nope , I assume I should. Is it specified somewhere ?
from elassandra.
Sorry already there .... my mistake
from elassandra.
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.
Thank you for your reply.
So Ubuntu will not work?
from elassandra.
Yes, as soon as you apply elasticsearch 2.1.1 and cassandra 2.2.x requirements, it should work on Ubuntu.
from elassandra.
It should work on ubuntu I use it on debian ;-)
from elassandra.
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.
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.
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.
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.
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.
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)
- 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.