Questions tagged [cassandra]

Apache Cassandra is an open source distributed key-value database cluster, designed to scale linearly when adding nodes. It provides multi-datacenter replication.

It was designed to handle very large amounts of data spread out across many commodity servers while providing a highly available service with no single point of failure. It is a NoSQL solution that was initially developed by Facebook and powered their Inbox Search feature until late 2010.

Official page

Source: wikipedia

214 questions
3
votes
1 answer

How to restrict Cassandra to use fixed memory

We are using Cassandra in order to collect data from Thingsboard. The memory it started with was 4GB (after executing the systemctl status for Cassandra) and after 15 hours it has reached up to 9.3GB. I am unsure about the reason for this increase…
vishruti
  • 131
  • 4
3
votes
0 answers

Cassandra ReadTimeout: code=1200 - Coordinator node timed out waiting for replica nodes

I've got 3 node cluster on DSE 4.8.8 with replication factor = 2 and consistency on write quorum and on read one. When I'm trying to select some of the data I get this error: cqlsh:production> SELECT * FROM cass_visitors WHERE domain_id = 364 LIMIT…
3
votes
1 answer

Cassandra tmpdir change location

Cassandra is failing to start if /tmp is set as noexec, which is pretty much default these days: java.lang.NoClassDefFoundError: Could not initialize class com.sun.jna.Native at…
Vladimir
  • 321
  • 1
  • 12
3
votes
1 answer

What is the best way to get a list of nodes that belong to a Cassandra cluster?

I'm creating some scripts for some Cassandra clusters I operate. Some of these scripts need a list of nodes that are part of the cluster. nodetool status will print a list of the nodes and their current state, but it prints out more information…
Gene
  • 3,663
  • 20
  • 39
3
votes
3 answers

How to authenticate with cassandra-stress 2.1

Is there a way to authenticate to cassandra using the new cassandra-stress tool released with cassandra 2.1? It appears as if the '-un' (username) and '-pw' (password) switches have been removed from the tool. In the 2.0 version, this is the…
jd1
  • 69
  • 1
  • 6
3
votes
1 answer

Cassandra EC2 slow response time

I have been developing with Cassandra locally for a while and response times on queries are in the region of 50ms. I have set up a 5 node EC2 cluster from the cassandra community ami, everything went fine, opscenter is up and running and there are…
felbus
  • 153
  • 7
3
votes
3 answers

How to run datastax opscenter behind nginx

I would like to run datastax cassandra opscenter behind Nginx. But it keeps adding opscenter port (8888 by default) to all urls. Is there a config setting to disable that or something? Here is my super simple nginx config: server { server_name…
gansbrest
  • 835
  • 2
  • 9
  • 17
3
votes
1 answer

DataStax Enterprise server won't start: dse dead but pid file exists

When I launch it with sudo /etc/init.d/dse start it seems to work. It returns: Starting DSE daemon dse DSE daemon starting with Hadoop and Solr disabled (edit /etc/default/dse to enable) But when I try to connect to the tutorial "Test Cluster" (so…
Sven Delmas
  • 196
  • 1
  • 6
3
votes
1 answer

"Cannot bind to port" enabling Cassandra client encryption

I'm running Cassandra 1.2 with a three-node cluster, on Debian 7. The cluster is working fine. But I want to enable encryption for clients, as documented here:…
danslimmon
  • 303
  • 2
  • 8
3
votes
2 answers

What is the best way for store images of website?

We are using cassandra database for store website information, but we are not sure how to save images. We can store them in cassandra, but we can also allocate a server for storing images. Cassandra has good performance for big-data storage but if…
Omid Ebrahimi
  • 143
  • 1
  • 1
  • 6
3
votes
1 answer

Unclosed TCP connections in CLOSE_WAIT for various processes

I have cluster of several machines connected on 10GBE network (NICs are Intel 82599EB 10GBE SFI/SFP+) running under Debian 6.0 and faced with problem of hung up TCP connections in CLOSE_WAIT state. I know that in theory connection in CLOSE_WAIT…
anglerhood
  • 31
  • 1
  • 2
2
votes
0 answers

Monitoring Cassandra Server Logs?

I've done some searching and have not found any examples of people using something like FluentD to forward Cassandra log file data (system.log) to a log indexer. Is this something any is doing? If not, why? If yes, are there example fluentD configs…
Drew
  • 123
  • 4
2
votes
0 answers

Cassandra nodetool repair failure - broken pipe

we're trying to check our Cassandra cluster data integrity with: nodetool repair but after several minutes (~2-10min), we got strange connection resets / broken pipe stack trace on a first node: ERROR [STREAM-OUT-/52.xx.xx.xx] 2016-01-14…
Greg M.
  • 41
  • 3
2
votes
1 answer

Mesos slave IP for Marathon-launched ( docker container ) service instance

i have a docker image i would like to launch a couple instances of via Mesos/Marathon. i'm using BRIDGE networking in docker, and i would like to pass in the "public" ( i.e. not the container's docker0 net ) address of the mesos slave / docker host…
pgn
  • 213
  • 2
  • 10
2
votes
1 answer

datastax-agent Cannot connect Error

Seeing an issue with the Opscenter Agents. Opscenter reports the agents are not connected and in the agent.log on each node, they all report the following: com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query…
Phil Burress
  • 133
  • 1
  • 3
1
2
3
14 15