hadoop - How to store streaming data in cassandra -
hadoop - How to store streaming data in cassandra -
i new in cassandra, confused.i know cassandra write speed fast.i want store twitter info coming storm.i googled, every time got create sstable , load cluster. if every time have create sstable how possible store twitter info streaming in cassandra.
please help me.
how can store log data, generated @ 1000log per second.
please right me if wrong
i think cassandra single node can handle 1000 logs per sec without mass loading if schema good. depends on size of each log.
or utilize cassandra's copy csv command.
for need create table first.
here's illustration datastax website :
create table airplanes ( name text primary key, manufacturer text, year int, mach float ); re-create airplanes (name, manufacturer, year, mach) 'temp.csv'; you need specify names of columns based on order in stored in csv. , values comma(,) enclose them in double quotes (") or utilize different delimiter.
for more details refer http://www.datastax.com/documentation/cql/3.0/cql/cql_reference/copy_r.html
hadoop cassandra analytics
Comments
Post a Comment