You definitely need to analyze logs from your node, it will show why it hangs. Also, if you can't understand it only from logs, thread dumps would be useful.
Evgenii 2018-03-23 13:00 GMT+03:00 Teja <[email protected]>: > I have tried setting the persistence property in java as shown below, But > the > program is not running properly. it is hanging forever. Please help > > DataStorageConfiguration storageCfg = new DataStorageConfiguration(); > DataRegionConfiguration regionCfg = new DataRegionConfiguration(); > regionCfg.setName("500MB_Region"); > regionCfg.setInitialSize(100L*1024*1024); > regionCfg.setMaxSize(500L*1024*1024); > regionCfg.setPageEvictionMode(DataPageEvictionMode.RANDOM_LRU); > regionCfg.setPersistenceEnabled(true); > storageCfg.setDataRegionConfigurations(regionCfg); > iConf.setDataStorageConfiguration(storageCfg); > CacheConfiguration<Integer,AcdActivityModel_DR10MB > > CacheCfgn = new > CacheConfiguration<Integer, > AcdActivityModel_DR10MB>(CACHENAME).setSqlSchema("PUBLIC"); > CacheCfgn.setCacheMode(CacheMode.PARTITIONED); > CacheCfgn.setIndexedTypes(Integer.class, > AcdActivityModel_DR10MB.class); > iConf.setCacheConfiguration(CacheCfgn); > ignite = Ignition.start(iConf); > ignite.active(true); > > > > > -- > Sent from: http://apache-ignite-users.70518.x6.nabble.com/ >
