Questions tagged [helenus]
14 questions
15
votes
4 answers
How to extract timestamp from UUID v1 (TimeUUID) using javascript?
I use Cassandra DB and Helenus module for nodejs to operate with this. I have some rows which contains TimeUUID columns. How to get timestamp from TimeUUID in javascript?

Vadim
- 538
- 2
- 5
- 23
7
votes
2 answers
Change Helenus Consistency Level in CQL query
I'm doing some tests with Cassandra and its Node.JS Driver, Helenus. Is there any way to change the Consistency Level of a query, using CQL?
Helenus documentation only shows an example of doing this using the Helenus Thrift connector, but I want to…

Elisiário Couto
- 139
- 1
- 12
3
votes
1 answer
Helenus isn't able to connect
I am developing an application in nodejs with cassandra driver using helenus. the version of helenus is 0.6.10.
This is app.js.
var helenus = require('helenus');
var pool = new helenus.ConnectionPool({
hosts: ['localhost:9160'],
keyspace:…

skmahawar
- 313
- 1
- 13
1
vote
2 answers
Node.js lsof - many open DB connections
When I run "lsof | grep node" on my server (running a node.js app), I get about 1000+ lines (db connections to port 9160). Each line looks like this:
node 17006 root 160u IPv4 1362100969 0t0 TCP…

awaage
- 2,669
- 1
- 17
- 15
1
vote
0 answers
Cassandra driver for nodejs Helenus
I am having problems with cassandra driver for nodejs - helenus. I crated function loop that insert records into table, and I am calling with ab tool. The problem is after 10-20 insert the driver throws error:
This is the coffee code:
helenus =…

Meir
- 91
- 2
- 6
1
vote
1 answer
Cassandra - NodeJS - Issue while retrieving map type values
I am using helenus in my node-js project to get/set values in cassandra. I have a MapType field inside my Table, but when I retrieve the value from the table, I get an empty key-value set.
Below is the schema for my table
CREATE TABLE datapoints (
…

Rohit
- 5,631
- 4
- 31
- 59
1
vote
1 answer
Cassandra 2.0 Helenus Driver in node.js TTL and TS returned are incorrect
Cassandra version used is 2.0. With Cassandra Helenus Driver, TTL and TS returned don't seem to be correct. Not sure what I am missing here.
Here is the npm installation information:
cassandra-client@0.14.7 node_modules/cassandra-client
├──…

RovingStar
- 13
- 2
1
vote
2 answers
How do I get Helenus to return the actual value of a CQL query?
I am using Node.js with Helenus to connect to a Cassandra DB.
I have a query:
SELECT score FROM team_scores WHERE team_name = 'foo'
When run from cqlsh, I get results that look like this:
score
-------
10
I then move the query over to Node and…

Rambo
- 139
- 5
1
vote
1 answer
"SELECT * FROM cf" only returning indexed columns in Cassandra using Helenus for NodeJS
I am new to Cassandra, so I might be missing something very simple.
I started off with a simple nodejs application that retrieves and displays all rows from a columnfamily. And if I run the following:
pool.connect(function(err, keyspace){
…

HyderA
- 20,651
- 42
- 112
- 180
0
votes
0 answers
Helenus throwing Exception
I am trying to connect Node.js(using Express) with Cassandra CQL using Helenus.
I have created the keyspace in CQL and installed Helenus but I am getting the exception shown below: …

user3186696
- 1
- 1
0
votes
0 answers
helenus bigint insertion gives error
I'm currently using helenus library for inserting a column family.
CREATE TABLE page_request (
c_date text,
c_id timeuuid,
s bigint,
PRIMARY KEY (c_date, c_id)
);
I'm parsing the integer by parseInt();.
I'm using prepared statement of…

aacanakin
- 2,844
- 4
- 25
- 42
0
votes
1 answer
nodejs, Store Data in Cassandra using helenus
I am trying to implement interfacing for storing data to cassandra using helenus module.
Using thrift driver, I am inserting and getting the data.
keySpace.get(cfName, function (err, cf) {
cf.insert(key, storData,…

u_peerless
- 644
- 2
- 9
- 23
0
votes
1 answer
helenus performance problems - pool.connect() of new ConnectionPool
I have built an event api using php with use of cassandra and phpcassa.
Recently, I authored a node.js + helenus replacement of the same api. After I finished, I started to benchmark the node.js code with ab tool. However, after 1000+ inserts on…

aacanakin
- 2,844
- 4
- 25
- 42
0
votes
1 answer
How to change the CassandraHost for Helenos-GUI?
Helenos tries to connect to localhost:9160 by default.
For some reasons, localhost doesn't work for me.
So I get this error message in catalina.out:
ERROR HConnectionManager - Could not start connection pool for host localhost(127.0.0.1):9160
It it…

Stephan Wack
- 91
- 1
- 4