cassandra

AssertionError: Thrift API version mismatch. (Client: 12, Server: 13)

I am installing Twissandra - a python example on top of Cassandra. Instructions Here. After successfully compiling and building all dependencies on Lubuntu 10.04 (with Thrift 4.0 and then tried with 2.0)--when I run the last step with the webserver--it crashes and posts this Apache Thrift error: AssertionError: Thrift API version mis...

Thrift Make Error

hi, I can't compile thrift properly, when I use make, this is the output: make all make all-recursive make[1]: Entering directory `/root/thrift' Making all in compiler/cpp make[2]: Entering directory `/root/thrift/compiler/cpp' make all-am make[3]: Entering directory `/root/thrift/compiler/cpp' g++ -DHAVE_CONFIG_H -I. -I../.. -...

Which database for chat logging?

I'm implementing a chat system. What kind of database I should use for logging chat messages? I need to do some queries to it. For example "give me all the links from user x between these dates" I've heard some good things about MongoDB for this kind of stuff. How about other NoSQL solutions? Redis? Cassandra? How about old SQL solut...

Is key-value store database a good option for full-text search storage?

Hi all, Would it be a good option to use key-value store database like cassandra and riak for storing your texts, which will be used for full-text search? If it is not recommendable, what are the reason for not going this path? Anybody has any experience on using key-value store for full-text search store? Thanks for sharing. ...

Is there a way to retroactively create time/node based UUID in PHP?

Most time-based (type 1) UUIDs are created using the current time. I'm migrating a MySQL database to cassandra and would like to create timebased UUIDs for archived items. Can someone provide an example of how type-1 UUIDs are created using past time periods? ...

How do I filter through data in Cassandra?

I've been using mySQL for an app for some time, and the more data I collect, the slower it gets. So I have been looking into NOSQL options. One of the things I have in mySQL is a View created from a bunch of joins. The app shows all the important info in a grid, and the user can select ranges, do searches, etc. On this data set. Standard...

Cassandra Data Replication problem

I have a 2 node cassandra cluster with a replication factor of 2 and AutoBootStrap=true. Everything is good during startup and both nodes see each other. Let us call these nodes A and B. Add a set of keys and columns (lets call this set K1) to cassandra through node A. Connect to node A and read back set K1. Same on Node B. Success - G...

Cannot start Cassandra with "bin/cassandra -f"

I have a problem of using Cassandra, I can start it with "bin/cassandra", but cannot start it with "bin/cassandra -f", anyone know the reason? Here are the detailed info: root@server1:~/cassandra# bin/cassandra -f INFO 10:51:31,500 JNA not found. Native methods will be disabled. INFO 10:51:31,740 DiskAccessMode 'auto' determined to ...

Cassandra nodetool: Connection refused to host: 172.24.0.10

When i am using Cassandra's nodetool to see the ring of a remote host (use IP address), it gives following error, how to make this work? BTW - I can ping that host using IP address. root@ServerA:~/cassandra# bin/nodetool -h 172.24.0.10 ring Error connecting to remote JMX agent! java.rmi.ConnectException: Connection refused to host: 127...

Twitter record size

Hi! Sorry for maybe stupid question;) I am trying to model records like if they were modeled for twitter. It is interesting for me how big or small they are? Is it normal that they can be bigger than 512 bytes per record? And what methods do you know for optimization records within json documents? I mean especial for json;) Maybe some...

SQL parser for Wordpress NoSQL Fork

Call me crazy but I'm planning to Fork wordpress. I'm planning to swap out MySQL for Apache Cassandra. Call it ambitious but I'm planning to devote a chunk of time over the next few months. In any case my question is: I'm trying to aim to keep plugins working... In essence any plugin that doesn't require their own table should be able t...

storing binary data on cassandra just like MYSQL BLOB binary

can we store binary data to apache cassandra? i'm thinking about storing image to apache cassandra ...

How to create auto increment IDs in Cassandra

We know that it is easy to create auto increment IDs in SQL databases, iS there a good solution for it in Cassandra? The IDs should be for key or column name. ...

Cassandra - How to insert an UUID

I'm using Cassandra 0.6.4 and I'm trying to insert an UUID for a column and I get an exception of: InvalidRequestException(why:UUIDs must be exactly 16 bytes). What is the correct way to insert an UUID? Thanks! My column family is defined as: <ColumnFamily CompareWith="TimeUUIDType" Name="Comments"/> Code Snippet: try { ...

Insertion into Cassandra via thrift-client doesn't work after removing a row via cassandra-cli

I wrote a simpe test to validate my own understanding of the thrift interface for Cassandra. It just inserts a row into the database (using the keyspace and column familty that come preconfigured with the cassandra installation), then reads it from the database and compares the results. public class CassandraAPITest { @Test publ...

Cassandra NOSQL + DNS database ( indexed database of whole domains in the world )

Hello, I need to build an indexed database of whole domains in the world. . Example: domain1.com ips: 1.1.1.1,2.2.2.2,3.3.3.3 domain2.com ips: 1.1.1.1,4.4.4.4 requirements: fast insertions fast "selects" index on ip's - need fast "select" for all domains on IP: 1.1.1.1 . . I built it in Berkley-DB , and it seems fine: ( ple...

is there is any IDE or GUI available to work with CASSANDRA DATABASE with PHP?

we are doing project currently on php and we want to use cassandra no sql database and is there is any API available like MYSQL,LAMP? ...

is any simple web project using cassandra and php available?

we are doing project using php and cassandra? if any already finished project using PHP and CASSANDRA available means that will help ful for reference. is there is any sample project available? and facebook uses cassandra. so how can we get some inputs from facebook experience and tools? is facebook maintain as opened? ...

Integer type for row keys in Cassandra

I'm using only integer keys in column family and it pointless to convert them to string every time. So, how can I make them integers? ...