Questions tagged [cassandra]

Apache Cassandra is a free and open-source distributed NoSQL database management system.

Apache Cassandra is a highly scalable, eventually consistent, distributed, structured row/column database management system. To install it type: sudo snap install cassandra

Official Website: https://cassandra.apache.org/

20 questions
11
votes
1 answer

Find the user under which a Ubuntu service runs?

I have a Cassandra service on my Ubuntu but I cannot figure under what user this service runs. I know how to find the owner and the permissions of files and directories. But how can I do this for a Ubuntu service. Assuming the service is just an…
Milen Kovachev
  • 213
  • 1
  • 2
  • 6
6
votes
1 answer

Can not open,/var/log/cassandra/gc.log due to Permission denied

What do /var/log files serve for?When I try to run cassandra on my Ubuntu 16.04 OpenJDK 64-Bit Server VM warning: Cannot open file /var/log/cassandra/gc.log due to Permission denied Later 19:47:58,887 |-INFO in…
MikiBelavista
  • 1,193
  • 5
  • 22
  • 33
4
votes
3 answers

Can't start an application as service, but running as standalone process simply works

For a service although a pid file exists, but still when attempting to start service, it fails saying: $ sudo service cassandra start * could not access pidfile for Cassandra I verified folder permissions under /var/run (whose owner is root) and…
Rajat Gupta
  • 521
  • 2
  • 10
  • 23
3
votes
1 answer

What is a good way to create a low cost Ubuntu based Cassandra or Hadoop Cluster in my house?

I have a series of "old" data center servers (that I bought when my company upgraded) that I use to run Cassandra and Hadoop clusters at home. They are loud, power hungry and take up a lot of space in my basement. Other than paying a monthly bill…
Ted Cahall
  • 593
  • 1
  • 3
  • 13
3
votes
2 answers

How can /etc/apt/sources.list.d object be removed?

I have added echo "deb http://www.apache.org/dist/cassandra/debian 311x main" | sudo tee -a /etc/apt/sources.list.d/cassandra.sources.list Now I want to remove it and install Cassandra in another way.How to delete it?
MikiBelavista
  • 1,193
  • 5
  • 22
  • 33
2
votes
1 answer

How do I get Cassandra to start when there is an error about "Connection refused"?

I installed Cassandra on Ubuntu 16.04. (I have gotten Cassandra to work on RedHat. But now I want it to work on Ubuntu.) The installation seemed to go smoothly. I run this command to prove that Cassandra is active: sudo service cassandra…
Jermoe
  • 21
  • 1
  • 3
2
votes
3 answers

How do I work around a "stack size specified is too small" error in Java on POWER8?

I am trying to run Java applications (ElasticSearch and Cassandra) on Ubuntu (14.04) running on Power PC hardware using the OpenJDK. I ran into an error: The stack size specified is too small, Specify at least 1664k Error: Could not create the…
Matt Bruzek
  • 627
  • 4
  • 14
1
vote
1 answer

Unable to install Cassandra on Ubuntu 16.04

Running into this error while installing cassandra Unpacking python-setuptools (30.3.0) ... dpkg: error processing archive /var/cache/apt/archives/python-setuptools_30.3.0_all.deb (--unpack): trying to overwrite…
Aditya
  • 121
  • 4
1
vote
2 answers

error when running "apt-get install cassandra"

in ubuntu 14.10 when i try to install cassandra with this command "apt-get install cassandra " i have the following errors : edit bodhi.zazen - translation from M.Info Reading package lists ... Done Shaft Construction dependencies Reading state…
M.Info
  • 11
  • 1
  • 3
1
vote
3 answers

How to install Cassandra

I have downloaded dsc-cassandra-2.2.4-bin.tar.gz from http://www.planetcassandra.org/cassandra/ . How do I install it?
user1354934
  • 113
  • 5
1
vote
0 answers

Cannot able to connect to another host

After few self tests, I thought I'm having a telnet problem. So I am recreating a shorter version of this question I have two machines: cassandra is running on one machine using IP 172.17.1.XX. ??? My java program is: public static void…
Gibbs
  • 125
  • 9
1
vote
1 answer

How can I configure multiple MaaS environments for juju?

i've realized a vMaaS with 3 vnodes where i deployed juju-gui (node1) and openstack in the other 2 nodes (node2,node3). These last ones at moment are in ready status on vMaaS. Then i've added other vnodes to vMaaS to deploy Cassandra and hadoop,…
Riccardo Magrini
  • 1,203
  • 4
  • 20
  • 37
1
vote
1 answer

How to resolve java : not found?

I execute the command sudo cassandra -R to start cassandra and I get the following error. getopt: invalid option -- 'R' /usr/sbin/cassandra: 158: exec: java: not found It points to the following line in the cassandra script. else exec…
0
votes
2 answers

Cassandra and CCM on Ubuntu, network loopback alias

Hi When I try to start CCM I get this error: ccmlib.common.UnavailableSocketError: Inet address 127.0.0.1:9042 is not available: [Errno 98] Address already in use; a cluster may already be running or you may need to add the loopback alias I know I…
Rastin
  • 784
  • 2
  • 11
  • 25
0
votes
0 answers

Unable to connect to server on VM- No route to host

Using Win7 host, Ubuntu 14.04 LTS guest, VM Player4.0 and Datastax 4.8.11 Cassandra 2.1.17 My application on the same VM is unable to connect to a service running on the same VM. Everything was working fine but suddenly not. It is a Cassandra…
Sam-T
  • 173
  • 3
  • 12
1
2