Hi
We are doing a a POC on exploring the Ignite in memory capabilities and
building a rest api on
top of it using node express.
Currently as a part of POC, installed Ignite in UNIX and trying to load
the
data from Oracle DB
to Ignite Cache using Cache JDBC Pojo Store.
As a part of this process, bean file is custom configured to start
ignite
node in
unix. Attached the bean file.
This bean file consists of both cache configuration details and ignite
configuration details.
Once the node is running, we are trying to do the following
1. Connecting to the ignite node running on unix by creating a replica
of
the attached bean file from
local system and adding an additional property in Bean file with
Client Mode = true and
then loading the cache that are defined in the bean file deployed in
unix using the
following method from local system using JAVA
ignite.cache("CacheName").loadCache(null);
We are able to do this successfully.
2. Connecting to the ignite node running on unix by creating a replica
of
the attached bean file
in local system and adding an additional property in Bean file
with Client
Mode = true
and then trying to create a cache and configure the cache and
then finally
loading
the cache using the attached JAVA Code.
When we are trying this approach, we are getting an error like
dynamic
cache change
is not allowed.
It would be really helpful if any one can help me in resolve
this issue.
If this not the right approach, then
Configuring all the caches in the bean file is the only
available
option?If this is case,
What should be the approach for building some additional
caches in ignite
and load these
Caches using Cache JDBC POJO Store when the node is running.
Also can you please help me on the ways to handle these issues.
1. If we want to add/drop/modify a column to the cache, can we
update the
bean file directly
when the node is running or do we need to stop the node and
then again
restart.
It would be really helpful if you can share sample code or
documentation link.
2. How to refresh the ignite cache automatically or schedule
the cache
refresh.
It would be really helpful if you can share sample code or
documentation link.
3. Is incremental refresh allowed? It would be really helpful
if you can
share sample code or
documentation link.
4. Is there any other way to load the caches fast other Cache
JDBC POJO
Store.
It would be really helpful if you can share sample code or
documentation link.
JavaCode.txt
<http://apache-ignite-users.70518.x6.nabble.com/file/t2737/JavaCode.txt>
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/