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
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