Re: Problems in the cassandra bulk loader

2013-10-15 Thread José Elias Queiroga da Costa Araújo
contact the sender immediately and irrevocably delete this message and any copies. *From:* José Elias Queiroga da Costa Araújo [mailto:je...@cesar.org.br] *Sent:* Thursday, October 10, 2013 4:33 PM *To:* user@cassandra.apache.org *Subject:* Re: Problems in the cassandra bulk loader

RE: Problems in the cassandra bulk loader

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

Re: Problems in the cassandra bulk loader

2013-10-10 Thread José Elias Queiroga da Costa Araújo
Hi, I thought the bulk API could handle this, merging all columns for the same super column. I did something like this in the java client (Hector) where it is able to solve this conflict only appending the columns. Regarding to the column value, if the code is overwriting the

RE: Problems in the cassandra bulk loader

2013-10-10 Thread Viktor Jevdokimov
PM To: user@cassandra.apache.org Subject: Re: Problems in the cassandra bulk loader Hi, I thought the bulk API could handle this, merging all columns for the same super column. I did something like this in the java client (Hector) where it is able to solve this conflict only appending