[
https://issues.apache.org/jira/browse/GORA-53?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13412996#comment-13412996
]
Kazuomi Kashii commented on GORA-53:
------------------------------------
At CassandraClient.java:
public void addColumn(K key, String fieldName, Object value) {
if (value == null) {
return;
}
ByteBuffer byteBuffer = toByteBuffer(value);
String columnFamily = this.cassandraMapping.getFamily(fieldName);
String columnName = this.cassandraMapping.getColumn(fieldName);
LOG.info("columnFamily=" + columnFamily + " columnName=" + columnName + "
value=" + value); // for debug
this.mutator.insert(key, columnFamily, HFactory.createColumn(columnName,
byteBuffer, StringSerializer.get(), ByteBufferSerializer.get()));
}
It printed:
12/07/12 10:40:46 INFO store.CassandraClient: columnFamily=p columnName=null
value=Random Joe
> Add Gora-Cassandra tests
> ------------------------
>
> Key: GORA-53
> URL: https://issues.apache.org/jira/browse/GORA-53
> Project: Apache Gora
> Issue Type: Improvement
> Components: storage-cassandra
> Affects Versions: 0.1.1-incubating
> Reporter: Lewis John McGibbney
> Assignee: Lewis John McGibbney
> Priority: Critical
> Fix For: 0.3
>
> Attachments: GORA-53-v2.patch, GORA-53.patch, GORA-54-v8.patch
>
>
> As per this thread [1], it is absolutely essential that we get some tests for
> the Cassandra module. Therefore this task should act as a summary task to
> manage all test which are hereby proposed.
> Realistically, this is going to take a good while, so I have marked it for
> 0.2 and 0.3-incubating releases.
> [1] http://www.mail-archive.com/[email protected]/msg00241.html
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira