Igor R., Igor S.,
Please take a look at this issue reported on SO: https://stackoverflow.com/questions/44178514/ignite-c-client-for-cassandra-integration -- Denis |
I assume that's because you are using this:
<property name="storeKeepBinary" value="true"/> Current implementation supports only BLOB serialization for binary objects. We already have a ticket for this: https://issues.apache.org/jira/browse/IGNITE-5270 Igor On Thu, May 25, 2017 at 8:19 PM, Denis Magda <[hidden email]> wrote: > Igor R., Igor S., > > Please take a look at this issue reported on SO: > https://stackoverflow.com/questions/44178514/ignite-c- > client-for-cassandra-integration > > -- > Denis > |
Cross-posted Igor's answer to SO
Best Regards, Igor On Fri, May 26, 2017 at 8:58 AM, Igor Rudyak <[hidden email]> wrote: > I assume that's because you are using this: > > <property name="storeKeepBinary" value="true"/> > > > Current implementation supports only BLOB serialization for binary > objects. We already have a ticket for this: https://issues.apache. > org/jira/browse/IGNITE-5270 > > Igor > > > > On Thu, May 25, 2017 at 8:19 PM, Denis Magda <[hidden email]> wrote: > >> Igor R., Igor S., >> >> Please take a look at this issue reported on SO: >> https://stackoverflow.com/questions/44178514/ignite-c-client >> -for-cassandra-integration >> >> -- >> Denis >> > > |
User's answer:
I have changed my POJO to BLOB. Current persistence.xml file look like <persistence keyspace="sam" table="key"> <keyPersistence class="java.lang.String" strategy="BLOB" column="assetid"/> <valuePersistence class="java.lang.String" strategy="BLOB" column="asset_desc"/> </persistence> now it's produce an error like "Caused by: com.datastax.driver.core.exceptions.CodecNotFoundException: Codec not found for requested operation: [varchar <-> java.nio.HeapByteBuffer] " Best Regards, Igor On Fri, May 26, 2017 at 2:37 PM, Igor Sapego <[hidden email]> wrote: > Cross-posted Igor's answer to SO > > Best Regards, > Igor > > On Fri, May 26, 2017 at 8:58 AM, Igor Rudyak <[hidden email]> wrote: > >> I assume that's because you are using this: >> >> <property name="storeKeepBinary" value="true"/> >> >> >> Current implementation supports only BLOB serialization for binary >> objects. We already have a ticket for this: https://issues.apache.or >> g/jira/browse/IGNITE-5270 >> >> Igor >> >> >> >> On Thu, May 25, 2017 at 8:19 PM, Denis Magda <[hidden email]> wrote: >> >>> Igor R., Igor S., >>> >>> Please take a look at this issue reported on SO: >>> https://stackoverflow.com/questions/44178514/ignite-c-client >>> -for-cassandra-integration >>> >>> -- >>> Denis >>> >> >> > |
Igor,
There is another SO question about this, I already responded: https://stackoverflow.com/questions/44254079/ignite-with-cassandra-integration -Val On Tue, May 30, 2017 at 10:15 AM, Igor Sapego <[hidden email]> wrote: > User's answer: > I have changed my POJO to BLOB. > > Current persistence.xml file look like > > <persistence keyspace="sam" table="key"> > <keyPersistence class="java.lang.String" strategy="BLOB" > column="assetid"/> > <valuePersistence class="java.lang.String" strategy="BLOB" > column="asset_desc"/> > </persistence> > > now it's produce an error like > > "Caused by: com.datastax.driver.core.exceptions.CodecNotFoundException: > Codec not found for requested operation: [varchar <-> > java.nio.HeapByteBuffer] " > > Best Regards, > Igor > > On Fri, May 26, 2017 at 2:37 PM, Igor Sapego <[hidden email]> wrote: > > > Cross-posted Igor's answer to SO > > > > Best Regards, > > Igor > > > > On Fri, May 26, 2017 at 8:58 AM, Igor Rudyak <[hidden email]> wrote: > > > >> I assume that's because you are using this: > >> > >> <property name="storeKeepBinary" value="true"/> > >> > >> > >> Current implementation supports only BLOB serialization for binary > >> objects. We already have a ticket for this: https://issues.apache.or > >> g/jira/browse/IGNITE-5270 > >> > >> Igor > >> > >> > >> > >> On Thu, May 25, 2017 at 8:19 PM, Denis Magda <[hidden email]> > wrote: > >> > >>> Igor R., Igor S., > >>> > >>> Please take a look at this issue reported on SO: > >>> https://stackoverflow.com/questions/44178514/ignite-c-client > >>> -for-cassandra-integration > >>> > >>> -- > >>> Denis > >>> > >> > >> > > > |
Thanks.
Best Regards, Igor On Tue, May 30, 2017 at 11:35 AM, Valentin Kulichenko < [hidden email]> wrote: > Igor, > > There is another SO question about this, I already responded: > https://stackoverflow.com/questions/44254079/ignite- > with-cassandra-integration > > -Val > > On Tue, May 30, 2017 at 10:15 AM, Igor Sapego <[hidden email]> > wrote: > > > User's answer: > > I have changed my POJO to BLOB. > > > > Current persistence.xml file look like > > > > <persistence keyspace="sam" table="key"> > > <keyPersistence class="java.lang.String" strategy="BLOB" > > column="assetid"/> > > <valuePersistence class="java.lang.String" strategy="BLOB" > > column="asset_desc"/> > > </persistence> > > > > now it's produce an error like > > > > "Caused by: com.datastax.driver.core.exceptions.CodecNotFoundException: > > Codec not found for requested operation: [varchar <-> > > java.nio.HeapByteBuffer] " > > > > Best Regards, > > Igor > > > > On Fri, May 26, 2017 at 2:37 PM, Igor Sapego <[hidden email]> > wrote: > > > > > Cross-posted Igor's answer to SO > > > > > > Best Regards, > > > Igor > > > > > > On Fri, May 26, 2017 at 8:58 AM, Igor Rudyak <[hidden email]> > wrote: > > > > > >> I assume that's because you are using this: > > >> > > >> <property name="storeKeepBinary" value="true"/> > > >> > > >> > > >> Current implementation supports only BLOB serialization for binary > > >> objects. We already have a ticket for this: https://issues.apache.or > > >> g/jira/browse/IGNITE-5270 > > >> > > >> Igor > > >> > > >> > > >> > > >> On Thu, May 25, 2017 at 8:19 PM, Denis Magda <[hidden email]> > > wrote: > > >> > > >>> Igor R., Igor S., > > >>> > > >>> Please take a look at this issue reported on SO: > > >>> https://stackoverflow.com/questions/44178514/ignite-c-client > > >>> -for-cassandra-integration > > >>> > > >>> -- > > >>> Denis > > >>> > > >> > > >> > > > > > > |
User's comment:
I have my own cassandra table with 1 partiton key, 3 clustering keys, and I expect the value not to be stored in one column as a blob. Is there any way I can achieve this? I have used POJO and there is an issue like the key is only getting inserted into the cassandra table Best Regards, Igor On Tue, May 30, 2017 at 12:33 PM, Igor Sapego <[hidden email]> wrote: > Thanks. > > Best Regards, > Igor > > On Tue, May 30, 2017 at 11:35 AM, Valentin Kulichenko < > [hidden email]> wrote: > >> Igor, >> >> There is another SO question about this, I already responded: >> https://stackoverflow.com/questions/44254079/ignite-with- >> cassandra-integration >> >> -Val >> >> On Tue, May 30, 2017 at 10:15 AM, Igor Sapego <[hidden email]> >> wrote: >> >> > User's answer: >> > I have changed my POJO to BLOB. >> > >> > Current persistence.xml file look like >> > >> > <persistence keyspace="sam" table="key"> >> > <keyPersistence class="java.lang.String" strategy="BLOB" >> > column="assetid"/> >> > <valuePersistence class="java.lang.String" strategy="BLOB" >> > column="asset_desc"/> >> > </persistence> >> > >> > now it's produce an error like >> > >> > "Caused by: com.datastax.driver.core.exceptions.CodecNotFoundException: >> > Codec not found for requested operation: [varchar <-> >> > java.nio.HeapByteBuffer] " >> > >> > Best Regards, >> > Igor >> > >> > On Fri, May 26, 2017 at 2:37 PM, Igor Sapego <[hidden email]> >> wrote: >> > >> > > Cross-posted Igor's answer to SO >> > > >> > > Best Regards, >> > > Igor >> > > >> > > On Fri, May 26, 2017 at 8:58 AM, Igor Rudyak <[hidden email]> >> wrote: >> > > >> > >> I assume that's because you are using this: >> > >> >> > >> <property name="storeKeepBinary" value="true"/> >> > >> >> > >> >> > >> Current implementation supports only BLOB serialization for binary >> > >> objects. We already have a ticket for this: https://issues.apache.or >> > >> g/jira/browse/IGNITE-5270 >> > >> >> > >> Igor >> > >> >> > >> >> > >> >> > >> On Thu, May 25, 2017 at 8:19 PM, Denis Magda <[hidden email]> >> > wrote: >> > >> >> > >>> Igor R., Igor S., >> > >>> >> > >>> Please take a look at this issue reported on SO: >> > >>> https://stackoverflow.com/questions/44178514/ignite-c-client >> > >>> -for-cassandra-integration >> > >>> >> > >>> -- >> > >>> Denis >> > >>> >> > >> >> > >> >> > > >> > >> > > |
Could you share your POJO key/value classes and persistence descriptor?
Igor On Jun 1, 2017 8:30 AM, "Igor Sapego" <[hidden email]> wrote: > User's comment: > > I have my own cassandra table with 1 partiton key, 3 clustering keys, > and I expect the value not to be stored in one column as a blob. > > Is there any way I can achieve this? > I have used POJO and there is an issue like the key is only getting > inserted into the cassandra table > > Best Regards, > Igor > > On Tue, May 30, 2017 at 12:33 PM, Igor Sapego <[hidden email]> > wrote: > > > Thanks. > > > > Best Regards, > > Igor > > > > On Tue, May 30, 2017 at 11:35 AM, Valentin Kulichenko < > > [hidden email]> wrote: > > > >> Igor, > >> > >> There is another SO question about this, I already responded: > >> https://stackoverflow.com/questions/44254079/ignite-with- > >> cassandra-integration > >> > >> -Val > >> > >> On Tue, May 30, 2017 at 10:15 AM, Igor Sapego <[hidden email]> > >> wrote: > >> > >> > User's answer: > >> > I have changed my POJO to BLOB. > >> > > >> > Current persistence.xml file look like > >> > > >> > <persistence keyspace="sam" table="key"> > >> > <keyPersistence class="java.lang.String" strategy="BLOB" > >> > column="assetid"/> > >> > <valuePersistence class="java.lang.String" strategy="BLOB" > >> > column="asset_desc"/> > >> > </persistence> > >> > > >> > now it's produce an error like > >> > > >> > "Caused by: com.datastax.driver.core.exceptions. > CodecNotFoundException: > >> > Codec not found for requested operation: [varchar <-> > >> > java.nio.HeapByteBuffer] " > >> > > >> > Best Regards, > >> > Igor > >> > > >> > On Fri, May 26, 2017 at 2:37 PM, Igor Sapego <[hidden email]> > >> wrote: > >> > > >> > > Cross-posted Igor's answer to SO > >> > > > >> > > Best Regards, > >> > > Igor > >> > > > >> > > On Fri, May 26, 2017 at 8:58 AM, Igor Rudyak <[hidden email]> > >> wrote: > >> > > > >> > >> I assume that's because you are using this: > >> > >> > >> > >> <property name="storeKeepBinary" value="true"/> > >> > >> > >> > >> > >> > >> Current implementation supports only BLOB serialization for binary > >> > >> objects. We already have a ticket for this: > https://issues.apache.or > >> > >> g/jira/browse/IGNITE-5270 > >> > >> > >> > >> Igor > >> > >> > >> > >> > >> > >> > >> > >> On Thu, May 25, 2017 at 8:19 PM, Denis Magda <[hidden email]> > >> > wrote: > >> > >> > >> > >>> Igor R., Igor S., > >> > >>> > >> > >>> Please take a look at this issue reported on SO: > >> > >>> https://stackoverflow.com/questions/44178514/ignite-c-client > >> > >>> -for-cassandra-integration > >> > >>> > >> > >>> -- > >> > >>> Denis > >> > >>> > >> > >> > >> > >> > >> > > > >> > > >> > > > > > |
Take a look at initial message.
Best Regards, Igor On Thu, Jun 1, 2017 at 6:45 PM, Igor Rudyak <[hidden email]> wrote: > Could you share your POJO key/value classes and persistence descriptor? > > Igor > > On Jun 1, 2017 8:30 AM, "Igor Sapego" <[hidden email]> wrote: > > > User's comment: > > > > I have my own cassandra table with 1 partiton key, 3 clustering keys, > > and I expect the value not to be stored in one column as a blob. > > > > Is there any way I can achieve this? > > I have used POJO and there is an issue like the key is only getting > > inserted into the cassandra table > > > > Best Regards, > > Igor > > > > On Tue, May 30, 2017 at 12:33 PM, Igor Sapego <[hidden email]> > > wrote: > > > > > Thanks. > > > > > > Best Regards, > > > Igor > > > > > > On Tue, May 30, 2017 at 11:35 AM, Valentin Kulichenko < > > > [hidden email]> wrote: > > > > > >> Igor, > > >> > > >> There is another SO question about this, I already responded: > > >> https://stackoverflow.com/questions/44254079/ignite-with- > > >> cassandra-integration > > >> > > >> -Val > > >> > > >> On Tue, May 30, 2017 at 10:15 AM, Igor Sapego <[hidden email]> > > >> wrote: > > >> > > >> > User's answer: > > >> > I have changed my POJO to BLOB. > > >> > > > >> > Current persistence.xml file look like > > >> > > > >> > <persistence keyspace="sam" table="key"> > > >> > <keyPersistence class="java.lang.String" strategy="BLOB" > > >> > column="assetid"/> > > >> > <valuePersistence class="java.lang.String" strategy="BLOB" > > >> > column="asset_desc"/> > > >> > </persistence> > > >> > > > >> > now it's produce an error like > > >> > > > >> > "Caused by: com.datastax.driver.core.exceptions. > > CodecNotFoundException: > > >> > Codec not found for requested operation: [varchar <-> > > >> > java.nio.HeapByteBuffer] " > > >> > > > >> > Best Regards, > > >> > Igor > > >> > > > >> > On Fri, May 26, 2017 at 2:37 PM, Igor Sapego <[hidden email]> > > >> wrote: > > >> > > > >> > > Cross-posted Igor's answer to SO > > >> > > > > >> > > Best Regards, > > >> > > Igor > > >> > > > > >> > > On Fri, May 26, 2017 at 8:58 AM, Igor Rudyak <[hidden email]> > > >> wrote: > > >> > > > > >> > >> I assume that's because you are using this: > > >> > >> > > >> > >> <property name="storeKeepBinary" value="true"/> > > >> > >> > > >> > >> > > >> > >> Current implementation supports only BLOB serialization for > binary > > >> > >> objects. We already have a ticket for this: > > https://issues.apache.or > > >> > >> g/jira/browse/IGNITE-5270 > > >> > >> > > >> > >> Igor > > >> > >> > > >> > >> > > >> > >> > > >> > >> On Thu, May 25, 2017 at 8:19 PM, Denis Magda < > [hidden email]> > > >> > wrote: > > >> > >> > > >> > >>> Igor R., Igor S., > > >> > >>> > > >> > >>> Please take a look at this issue reported on SO: > > >> > >>> https://stackoverflow.com/questions/44178514/ignite-c-client > > >> > >>> -for-cassandra-integration > > >> > >>> > > >> > >>> -- > > >> > >>> Denis > > >> > >>> > > >> > >> > > >> > >> > > >> > > > > >> > > > >> > > > > > > > > > |
Free forum by Nabble | Edit this page |