ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raghav <puviaras...@gmail.com>
Subject Re: Persistent Store Not enabled in Ignite Yarn Deployment
Date Tue, 30 Jan 2018 13:21:52 GMT

1) Load data to cache 

 var cacheConf: CacheConfiguration[Long, Data] = new
CacheConfiguration[Long, Data]("DataCache")
    cacheConf.setIndexedTypes(classOf[Long], classOf[Data])
val cache = ignite.getOrCreateCache(cacheConf)
var dataMap = getDataMap()

There is no possibility of having duplicate keys as currentTimeInMillis
along with loop count is included. 

2) Count Logic:

val sql1 = "select * from DataCache"
val count = cache.*query*(new SqlFieldsQuery(sql1)).getAll.size()

Used query instead of metrics.

3) Errors: No error in server as well as client logs.

Also, checked for folder creation in ignite work
directory[IGNITE_WORKING_DIR] as per
But no folders created for persistence.

Thank you. 

Sent from: http://apache-ignite-users.70518.x6.nabble.com/

View raw message