You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/05/15 15:00:00 UTC

[jira] [Commented] (IGNITE-8500) [Cassandra] Allow dynamic cache creation with Cassandra Store

    [ https://issues.apache.org/jira/browse/IGNITE-8500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16475959#comment-16475959 ] 

ASF GitHub Bot commented on IGNITE-8500:
----------------------------------------

GitHub user dkarachentsev opened a pull request:

    https://github.com/apache/ignite/pull/4003

    IGNITE-8500 - Dynamic Cassandra cache creation test.

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/gridgain/apache-ignite ignite-8500

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/ignite/pull/4003.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #4003
    
----
commit 2dddf820080355140973ca12a79203972aef7524
Author: dkarachentsev <dk...@...>
Date:   2018-05-15T14:58:04Z

    IGNITE-8500 - Dynamic Cassandra cache creation test.

----


> [Cassandra] Allow dynamic cache creation with Cassandra Store
> -------------------------------------------------------------
>
>                 Key: IGNITE-8500
>                 URL: https://issues.apache.org/jira/browse/IGNITE-8500
>             Project: Ignite
>          Issue Type: Improvement
>          Components: cassandra
>    Affects Versions: 2.5
>            Reporter: Dmitry Karachentsev
>            Priority: Major
>             Fix For: 2.6
>
>
> It's not possible for now dynamically create caches with Cassandra cache store:
> {noformat}
> class org.apache.ignite.IgniteCheckedException: null
> 	at org.apache.ignite.internal.util.IgniteUtils.cast(IgniteUtils.java:7307)
> 	at org.apache.ignite.internal.util.future.GridFutureAdapter.resolve(GridFutureAdapter.java:259)
> 	at org.apache.ignite.internal.util.future.GridFutureAdapter.get0(GridFutureAdapter.java:207)
> 	at org.apache.ignite.internal.util.future.GridFutureAdapter.get(GridFutureAdapter.java:159)
> 	at org.apache.ignite.internal.util.future.GridFutureAdapter.get(GridFutureAdapter.java:151)
> 	at org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body0(GridCachePartitionExchangeManager.java:2433)
> 	at org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body(GridCachePartitionExchangeManager.java:2299)
> 	at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110)
> 	at java.lang.Thread.run(Thread.java:748)
> Caused by: java.lang.NullPointerException
> 	at org.apache.ignite.cache.store.cassandra.persistence.PojoField.calculatedField(PojoField.java:155)
> 	at org.apache.ignite.cache.store.cassandra.persistence.PersistenceController.prepareLoadStatements(PersistenceController.java:313)
> 	at org.apache.ignite.cache.store.cassandra.persistence.PersistenceController.<init>(PersistenceController.java:85)
> 	at org.apache.ignite.cache.store.cassandra.CassandraCacheStore.<init>(CassandraCacheStore.java:106)
> 	at org.apache.ignite.cache.store.cassandra.CassandraCacheStoreFactory.create(CassandraCacheStoreFactory.java:59)
> 	at org.apache.ignite.cache.store.cassandra.CassandraCacheStoreFactory.create(CassandraCacheStoreFactory.java:34)
> 	at org.apache.ignite.internal.processors.cache.GridCacheProcessor.createCache(GridCacheProcessor.java:1437)
> 	at org.apache.ignite.internal.processors.cache.GridCacheProcessor.prepareCacheStart(GridCacheProcessor.java:1945)
> 	at org.apache.ignite.internal.processors.cache.GridCacheProcessor.startReceivedCaches(GridCacheProcessor.java:1864)
> 	at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.init(GridDhtPartitionsExchangeFuture.java:674)
> 	at org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body0(GridCachePartitionExchangeManager.java:2419)
> 	... 3 more
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)