Problems in the cassandra bulk loader

2013-10-09 Thread José Elias Queiroga da Costa Araújo
Hi all, I'm trying to use the bulk insertion with the SSTableSimpleUnsortedWriter class from cassandra API and I facing some problems. After generating and uploading the .db files by using the ./sstableloader command , I noticed the data didn't match with inserted one. I

RE: Problems in the cassandra bulk loader

2013-10-09 Thread Viktor Jevdokimov
You overwrite your columns by writing new row/supercolumn. Remove new row/supercolumn from "for" statement, which is for columns: int rowKey = 10; int superColumnKey = 20; usersWriter.newRow(ByteBufferUtil.bytes(rowKey)); usersWriter.newSuperColumn(ByteBufferUtil.bytes(superColumnKey)); for (int