Re: Problems in the cassandra bulk loader

2013-10-15 Thread José Elias Queiroga da Costa Araújo
emains the property of the sender. You must not use, > disclose, distribute, copy, print or rely on this e-mail. If you have > received this message in error, please contact the sender immediately and > irrevocably delete this message and any copies. > > *From:* José Elias Queiroga da

RE: Problems in the cassandra bulk loader

2013-10-10 Thread Viktor Jevdokimov
.org.br] Sent: Thursday, October 10, 2013 4:33 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

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 colum

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