ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "slava.koptilin" <slava.kopti...@gmail.com>
Subject Re: 2.1 PersistentStoreConfiguration is not configurable by spring injection
Date Mon, 21 Aug 2017 10:47:28 GMT
Hi Kane,

Could you please try the following example in order to set
'persistentStorePath' property?

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

If you are trying to set an absolute path, you need to provide correct
definition of pathname, which is system dependent.
On UNIX systems, a pathname is absolute if its prefix is "/".  On MS Windows
systems, a pathname is absolute if its prefix is a drive specifier followed
by "\"

For example:
unix: <property name="persistentStorePath"
value="/projects/persistentstoretest/work"/>
windows: <property name="persistentStorePath"
value="C:\Users\user\Documents\ignite"/>

Apache Ignite log should contain something like the following:
[INFO][main][FilePageStoreManager] Resolved page store work directory:
/projects/persistentstoretest/work/0_0_0_0_0_0_0_1_lo_10_0_2_15_127_0_0_1_47500

Best regards,
Slava.




--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/2-1-PersistentStoreConfiguration-is-not-configurable-by-spring-injection-tp16324p16334.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Mime
View raw message