Ognen, you could ask such questions here: http://apacheignite.readme.io/v1.0/discuss Also you can read documentation here: http://apacheignite.readme.io/v1.0/docs And try to play with examples first.
On Thu, Apr 16, 2015 at 9:01 PM, Ognen Duzlevski <[email protected]> wrote: > Hello all, > > I have a few questions as I am starting to play with Ignite in Scala: > > 1. It seems like every time I want to obtain a reference to a cache, I > actually "join or create a grid" with a full fledged JVM/CPU-set/dedicated > heap - is this observation correct? Is there a way to just use Ignite as a > "library" - I make a call, get a reference to a cache and execute puts and > gets. Or am I completely missing the point? > > 2. I am trying to create an Akka actor system where an actor commits some > data to a cache upon receiving a message. I already have a grid running and > it seems like I am able to join that local grid to use the named cache > (appropriately named "testCache"). Below is the output of what is happening > - am not sure what exactly the error message means - is it some kind of a > serialization issue? I am running my example from sbt - do I need to create > a fat jar and run/deploy that in order to make the failing class available? > > [08:12:06] Topology snapshot [ver=15, nodes=1, CPUs=8, heap=1.0GB] > [08:39:07] Topology snapshot [ver=16, nodes=2, CPUs=8, heap=2.3GB] > [08:39:08,582][SEVERE][ignite-#23%sys-null%][GridCacheIoManager] Failed to > process message (note that distributed services do not support peer class > loading, if you deploy distributed service you should have all required > classes in CLASSPATH on all nodes in topology) > [senderId=5e9a1002-76de-495a-8244-8ca337907f72, err=Failed to load class > [name=com.shoutlet.datascience.socialnetworkpollers.CacheGenderData, > ctx={1785472cc41-5e9a1002-76de-495a-8244-8ca337907f72=CachedDeploymentInfo > [sndId=5e9a1002-76de-495a-8244-8ca337907f72, > ldrId=1785472cc41-5e9a1002-76de-495a-8244-8ca337907f72, userVer=0, > depMode=SHARED, participants=null]}]] > [08:39:30] Topology snapshot [ver=17, nodes=1, CPUs=8, heap=1.0GB] > [08:39:30] > [08:39:30] Cleared all cache entries for undeployed class loader for cache: > default > [08:39:30] ^-- Cache auto-undeployment happens in SHARED deployment mode > (to turn off, switch to CONTINUOUS mode) > [08:39:30] > [08:39:30] > [08:39:30] Cleared all cache entries for undeployed class loader for cache: > testCache > [08:39:30] ^-- Cache auto-undeployment happens in SHARED deployment mode > (to turn off, switch to CONTINUOUS mode) > [08:39:30] > [08:47:50] Topology snapshot [ver=18, nodes=2, CPUs=8, heap=2.3GB] > [08:47:53,788][SEVERE][ignite-#32%sys-null%][GridCacheIoManager] Failed to > process message (note that distributed services do not support peer class > loading, if you deploy distributed service you should have all required > classes in CLASSPATH on all nodes in topology) > [senderId=78ec49fd-bb7b-44b8-a618-0b2b0ed6584c, err=Failed to load class > [name=com.shoutlet.datascience.socialnetworkpollers.CacheGenderData, > ctx={7235c72cc41-78ec49fd-bb7b-44b8-a618-0b2b0ed6584c=CachedDeploymentInfo > [sndId=78ec49fd-bb7b-44b8-a618-0b2b0ed6584c, > ldrId=7235c72cc41-78ec49fd-bb7b-44b8-a618-0b2b0ed6584c, userVer=0, > depMode=SHARED, participants=null]}]] > [08:48:48] Topology snapshot [ver=19, nodes=1, CPUs=8, heap=1.0GB] > > 3. Is there a user list where people can ask questions like the above? This > is dev list and this email may not necessarily fall under that > classification. I know there is "Ask a question" on the web site but it is > rather inconvenient and does not compare to a mailing list :) > > Thanks! > -- Alexey Kuznetsov GridGain Systems www.gridgain.com
