ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vkulichenko <valentin.kuliche...@gmail.com>
Subject Re: 答复: problems in test ignite PersistentStore
Date Fri, 18 Aug 2017 17:54:11 GMT
You don't see anything in /ssd folder, because you provided it in
PersistenceStoreConfiguration object which is not even set anywhere. This
code has no effect:

val psc = new PersistentStoreConfiguration
psc.setPersistentStorePath("/ssd")

Actually, Ignite configuration can't be changed in runtime anyway, so it
should be done in XML as part of PersistentStoreConfiguration bean:

<property name="persistentStoreConfiguration">
    <bean
class="org.apache.ignite.configuration.PersistentStoreConfiguration">
        <property name="persistentStorePath" value="/ssd"/>
    </bean
</property>

-Val



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/problems-in-test-ignite-PersistentStore-tp16244p16297.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Mime
View raw message