8:28, 9 мая 2021 г., "siva.velich...@barclays.com" <siva.velich...@barclays.com>:
Hi,
We are trying to use ignite for the first time in our project. We are trying to use ignite with persistence enabled.
Architecture is as follows.
SpringBoot 2.3 application (thick client ) tries to connect to apace ignite cluster (3 nodes ) with persistence enabled and peer class loading enabled.
There seems to be a weird issue with peer class loading.
We are trying to load huge data following the same approach as here - https://www.gridgain.com/resources/blog/how-fast-load-large-datasets-apache-ignite-using-key-value-api
Cache Configuration
cacheConfiguration.setName(CacheIdentifiers.USER_IGNITE_CACHE.toString());
cacheConfiguration.setIndexedTypes(String.class, IgniteUser1.class);
cacheConfiguration.setCacheMode(CacheMode.PARTITIONED);
cacheConfiguration.setStoreKeepBinary(true);
RendezvousAffinityFunction rendezvousAffinityFunction = new RendezvousAffinityFunction();
rendezvousAffinityFunction.setPartitions(512);
cacheConfiguration.setBackups(1);
cacheConfiguration.setAffinity(rendezvousAffinityFunction);
Scenario 1.
Start the cluster à activate the cluster à start the thick client à Loading clients/ignite.cluster fails
Exception occured in adding the data javax.cache.CacheException: class org.apache.ignite.IgniteCheckedException: Failed to resolve class name [platformId=0, platform=Java, typeId=620850656]
Scenario 2.
Stop the Thick client , Rename the file from IgniteUser1 to IgniteUser and restart the thick client , the classes are now copied to the cluster and works fine.
I am not sure if there is an issue with grid deployment. Any help would be appreciated.
Thanks,
Siva._________________________________________________________________________________________________________________________________________________________________________________________________________________________________
“This message is for information purposes only, it is not a recommendation, advice, offer or solicitation to buy or sell a product or service nor an official confirmation of any transaction. It is directed at persons who are professionals and is not intended for retail customer use. Intended for recipient only. This message is subject to the terms at: www.barclays.com/emaildisclaimer.For important disclosures, please see: www.barclays.com/salesandtradingdisclaimer regarding market commentary from Barclays Sales and/or Trading, who are active market participants; https://www.investmentbank.barclays.com/disclosures/barclays-global-markets-disclosures.html regarding our standard terms for the Investment Bank of Barclays where we trade with you in principal-to-principal wholesale markets transactions; and in respect of Barclays Research, including disclosures relating to specific issuers, please see http://publicresearch.barclays.com.”
_________________________________________________________________________________________________________________________________________________________________________________________________________________________________
If you are incorporated or operating in Australia, please see https://www.home.barclays/disclosures/importantapacdisclosures.html for important disclosure.
_________________________________________________________________________________________________________________________________________________________________________________________________________________________________
How we use personal information see our privacy notice https://www.investmentbank.barclays.com/disclosures/personalinformationuse.html
_________________________________________________________________________________________________________________________________________________________________________________________________________________________________
--
Отправлено из мобильного приложения Яндекс.Почты