Re: Error while starting service grid with persistent store enabled
Hi, I tried to reproduce the issue on 'master' and it seems it was resolved by IGNITE-5843 & IGNITE-5075. Thanks! -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/
Re: Error while starting service grid with persistent store enabled
Hi, When error occured I have used following deployment method, cfg.setName("myService_rishi"); cfg.setService(new codeToDeploy()); cfg.setTotalCount(9); cfg.setMaxPerNodeCount(1); ignite.active(true); ignite.services().deploy(cfg); but then I changed deployment method to, ignite.active(true); IgniteServices svcs = ignite.services(); svcs.deployNodeSingleton("TestService", new SurveillanceAlert()); Also initially code I wrote in java file and xml file, configuration was differing. Later I corrected it. Thanks, Rishikesh -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Error-while-starting-service-grid-with-persistent-store-enabled-tp15946p16361.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.
Re: Error while starting service grid with persistent store enabled
Hi Rishikesh, Could you please create a reproducer project with config that fails with NPE? This will help to find a bug. Thanks! -Dmitry. -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Error-while-starting-service-grid-with-persistent-store-enabled-tp15946p16358.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.
Re: Error while starting service grid with persistent store enabled
Guys, I see the NPE is the stack trace which suggest that this is a bug and not a misconfiguration: Suppressed: java.lang.NullPointerException at org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.getPageMemoryForCacheGroup(GridCacheDatabaseSharedManager.java:1451) at org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.restoreMemory(GridCacheDatabaseSharedManager.java:1396) Dmitriy, could you reproduce the issue? It should be easy to do this considering the place where NPE happened. — Denis > On Aug 15, 2017, at 2:00 AM, dkarachentsev wrote: > > Hi, > > The big slowdown gives writing WAL into disk. You may increase throughput by > setting lower fail safe requirements: set > PersistentStoreConfigiration.setWalMode() to LOG_ONLY (data may be lost on > power off) or BACKGROUND (data may be lost on process crash), or increase > available memory and set lower checkpoint frequency > PersistentStoreConfigiration.setCheckpointingFrequency(). > > Thanks! > -Dmitry. > > > > -- > View this message in context: > http://apache-ignite-users.70518.x6.nabble.com/Error-while-starting-service-grid-with-persistent-store-enabled-tp15946p16196.html > Sent from the Apache Ignite Users mailing list archive at Nabble.com.
Re: Error while starting service grid with persistent store enabled
Hi, The big slowdown gives writing WAL into disk. You may increase throughput by setting lower fail safe requirements: set PersistentStoreConfigiration.setWalMode() to LOG_ONLY (data may be lost on power off) or BACKGROUND (data may be lost on process crash), or increase available memory and set lower checkpoint frequency PersistentStoreConfigiration.setCheckpointingFrequency(). Thanks! -Dmitry. -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Error-while-starting-service-grid-with-persistent-store-enabled-tp15946p16196.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.
Re: Error while starting service grid with persistent store enabled
Hi, Setting same configuration in xml files and java code solved my problem. Also one another question, what parameters can we tune when persistent store enabled to get high throughput for data caching? Thanks, Rishikesh -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Error-while-starting-service-grid-with-persistent-store-enabled-tp15946p16028.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.
Re: Error while starting service grid with persistent store enabled
Hi Rishikesh, I cannot reproduce the issue. Could you provide me with more details? Please share IgniteConfiguration (xml or java code) and service which you are trying to deploy via Ignite Service Grid. Thanks. -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Error-while-starting-service-grid-with-persistent-store-enabled-tp15946p15956.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.
Error while starting service grid with persistent store enabled
igniteConfiguration.setMemoryConfiguration(memCfg); What might be the issue? Thanks, Rishikesh -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Error-while-starting-service-grid-with-persistent-store-enabled-tp15946.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.