Yes thanks I was able to see that .
Now I am getting the following error
OutboundTcpConnection.java (line 159) attempting to connect to astrix.com
where astrix.com is the machine on which I have installed cassandra
Internal error means "there is a stacktrace in the server system.log"
and in this case probably also means "you sent some kind of invalid
request that our validation didn't catch."
On Thu, Mar 17, 2011 at 11:29 AM, Anurag Gujral <firstname.lastname@example.org> wrote:
> Thanks for the reply. I added mutation.__isset.column_or_supercolumn=true;
> Now I am getting TApplicationException: Internal error processing
> Any suggestions?
> On Thu, Mar 17, 2011 at 8:13 AM, Anurag Gujral <email@example.com>
>> Hi All,
>> I am using function batch_mutate of cassandra 0.7 and I am
>> getting the error InvalidRequestException: Mutation must have one
>> ColumnOrSuperColumn or one Deletion. I have my own C++ cassandra client
>> using thrift 0.0.5 api.
>> Any Suggestions.
>> Sample Code
>> map<string, vector<Mutation> > cfmap;
>> vector<Mutation> mutations;
>> Column temp_col;
>> temp_col.timestamp = timestamp;
>> temp_col.ttl = 0; // TODO: TTL
>> ColumnOrSuperColumn cosc;
>> cosc.column = temp_col;
>> cosc.__isset.column = true; // must set which data type, col or
>> Mutation mutation ;
>> cfmap.insert(make_pair(colspace, mutations));
>> map<string, map<string, vector<Mutation> > > mutationMap;
Project Chair, Apache Cassandra
co-founder of DataStax, the source for professional Cassandra support