You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by ChickyDutt <as...@gmail.com> on 2016/05/19 13:18:31 UTC

Persistence using Cassandra

Hi Team,

I am trying to implement cache store persistence in Cassandra. Is their any
Cassandra specific module available off the shelf or any ignite provided
utilities that could help me binf the two?

Please let me know if you need any further information.

Regards,
Chicky D.




--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Persistence using Cassandra

Posted by ChickyDutt <as...@gmail.com>.
Thank you for the reply.

Meanwhile could you illuminate on the XML configuration details for a node
to operate with read and write through behaviours on Cassandra?

Please let me know if you need any further information.

Regards
Ashish Sharma.
On 19 May 2016 4:23 p.m., "Alexey Kuznetsov [via Apache Ignite Users]" <
ml-node+s70518n5032h67@n6.nabble.com> wrote:

> Hi Chicky D.!
>
> Cassandra cache store was merged into upcoming ignite-1.6 release.
> ignite-1.6 is under voting process right now and may be released next week.
>
> JIRA issue for that store:
> https://issues.apache.org/jira/browse/IGNITE-1371
>
> But you may already try latest nightly build.
> See https://ignite.apache.org/community/contribute.html#nightly-builds
>
> This ignite-cassandra module is not yet documented (will be done soon),
> but it has tests - you may take a look.
>
> Hope this help.
>
> On Thu, May 19, 2016 at 8:18 PM, ChickyDutt <[hidden email]
> <http:///user/SendEmail.jtp?type=node&node=5032&i=0>> wrote:
>
>> Hi Team,
>>
>> I am trying to implement cache store persistence in Cassandra. Is their
>> any Cassandra specific module available off the shelf or any ignite
>> provided utilities that could help me binf the two?
>>
>> Please let me know if you need any further information.
>>
>> Regards,
>> Chicky D.
>>
>> ------------------------------
>> View this message in context: Persistence using Cassandra
>> <http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031.html>
>> Sent from the Apache Ignite Users mailing list archive
>> <http://apache-ignite-users.70518.x6.nabble.com/> at Nabble.com.
>>
>
>
>
> --
> Alexey Kuznetsov
> GridGain Systems
> www.gridgain.com
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5032.html
> To start a new topic under Apache Ignite Users, email
> ml-node+s70518n1h6@n6.nabble.com
> To unsubscribe from Apache Ignite Users, click here
> <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=1&code=YXNoLmR1dHQuc2hhcm1hQGdtYWlsLmNvbXwxfC0xOTcwMDkyNjky>
> .
> NAML
> <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5042.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Persistence using Cassandra

Posted by ChickyDutt <as...@gmail.com>.
Hi Alexey

I run into the attached error after I run the ignite.bat with reference to
the server config file as mentioned in Load test examples.

Could you please advise on how to get around it?

On Thu, Jun 9, 2016 at 6:10 PM, Ashish Dutt Sharma <
ash.dutt.sharma@gmail.com> wrote:

> I decreased the JVM size and it worked. Thank you.
>
> Regards.
>
> On Thu, Jun 9, 2016 at 5:57 PM, Ashish Dutt Sharma <
> ash.dutt.sharma@gmail.com> wrote:
>
>> Thank you Alexey.
>>
>> I am now trying to run the load tests from the source package, After
>> building from the source and editing relevant properties, I run into the
>> following error after I run the 'cassandra-load-tests.bat' file.
>>
>> Could you please take a look at the attachment and advise on how to
>> resolve? Please let me know if you need any further information.
>>
>> Regards,
>> Ashish Sharma,
>>
>> On Wed, Jun 8, 2016 at 5:43 PM, Alexey Kuznetsov [via Apache Ignite
>> Users] <ml...@n6.nabble.com> wrote:
>>
>>> Hi, Ashish Sharma.
>>>
>>> Take a look at docs: https://apacheignite.readme.io/docs/overview
>>> As far as I see in docs
>>> https://apacheignite.readme.io/v1.6/docs/base-concepts
>>> there I found such note;
>>> ----------------
>>> Current implementation of
>>> org.apache.ignite.cache.store.cassandra.utils.datasource.DataSource doesn't
>>> implement Serializable,
>>>  thus for distributed Ignite clusters, CassandraCacheStoreFactory could
>>> only be setup through Spring XML file, but not from code
>>> ---------------
>>>
>>> I think this could be fixed in next releases.
>>>
>>>
>>>
>>> On Wed, Jun 8, 2016 at 10:35 PM, ChickyDutt <[hidden email]
>>> <http:///user/SendEmail.jtp?type=node&node=5535&i=0>> wrote:
>>>
>>>> Thank you Alexey.
>>>>
>>>> Do you have an example where the CacheConfiguration store is configured
>>>> using Java ?
>>>>
>>>> Regards,
>>>> Ashish Sharma.
>>>>
>>>> On Mon, May 23, 2016 at 3:28 PM, Alexey Kuznetsov [via Apache Ignite
>>>> Users] <[hidden email]
>>>> <http:///user/SendEmail.jtp?type=node&node=5534&i=0>> wrote:
>>>>
>>>>> If you need tests - you need to download sources (
>>>>> https://ignite.apache.org/download.cgi#sources).
>>>>> Also, today we released Ignite 1.6 it should be available on Maven now.
>>>>>
>>>>> Hope this help.
>>>>>
>>>>> On Mon, May 23, 2016 at 6:35 PM, ChickyDutt <[hidden email]
>>>>> <http:///user/SendEmail.jtp?type=node&node=5114&i=0>> wrote:
>>>>>
>>>>>> Mentioned below are the complete logs
>>>>>>
>>>>>> class org.apache.ignite.IgniteException: Failed to instantiate Spring
>>>>>> XML application context [springUrl=file:/C:/Users/D-UA96OU/Desktop/Ignite
>>>>>> /apache-ignite-fabric-1.6.0-SNAPSHOT-bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/config/default-config.xml,
>>>>>> err=Configuration problem: Failed t
>>>>>> o import bean definitions from URL location
>>>>>> [classpath:org/apache/ignite/tests/cassandra/connection-settings.xml]
>>>>>> Offending resource: URL
>>>>>> [file:/C:/Users/D-UA96OU/Desktop/Ignite/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin
>>>>>> /config/default-config.xml]; nested exception is
>>>>>> org.springframework.beans.factory.BeanDefinitionStoreException: IOException
>>>>>> parsing XML docume
>>>>>> nt from class path resource
>>>>>> [org/apache/ignite/tests/cassandra/connection-settings.xml]; nested
>>>>>> exception is java.io.FileNotFoundException: cla
>>>>>> ss path resource
>>>>>> [org/apache/ignite/tests/cassandra/connection-settings.xml] cannot be
>>>>>> opened because it does not exist]
>>>>>>         at
>>>>>> org.apache.ignite.internal.util.IgniteUtils.convertException(IgniteUtils.java:906)
>>>>>>         at org.apache.ignite.Ignition.start(Ignition.java:350)
>>>>>>         at
>>>>>> org.apache.ignite.startup.cmdline.CommandLineStartup.main(CommandLineStartup.java:302)
>>>>>> Caused by: class org.apache.ignite.IgniteCheckedException: Failed to
>>>>>> instantiate Spring XML application context [springUrl=file:/C:/Users/D-UA9
>>>>>> 6OU/Desktop/Ignite/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/config/default-config.xml,
>>>>>> err=Configuration
>>>>>>  problem: Failed to import bean definitions from URL location
>>>>>> [classpath:org/apache/ignite/tests/cassandra/connection-settings.xml]
>>>>>> Offending resource: URL
>>>>>> [file:/C:/Users/D-UA96OU/Desktop/Ignite/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin
>>>>>> /config/default-config.xml]; nested exception is
>>>>>> org.springframework.beans.factory.BeanDefinitionStoreException: IOException
>>>>>> parsing XML docume
>>>>>> nt from class path resource
>>>>>> [org/apache/ignite/tests/cassandra/connection-settings.xml]; nested
>>>>>> exception is java.io.FileNotFoundException: cla
>>>>>> ss path resource
>>>>>> [org/apache/ignite/tests/cassandra/connection-settings.xml] cannot be
>>>>>> opened because it does not exist]
>>>>>>         at
>>>>>> org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.applicationContext(IgniteSpringHelperImpl.java:391)
>>>>>>         at
>>>>>> org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.loadConfigurations(IgniteSpringHelperImpl.java:104)
>>>>>>         at
>>>>>> org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.loadConfigurations(IgniteSpringHelperImpl.java:98)
>>>>>>         at
>>>>>> org.apache.ignite.internal.IgnitionEx.loadConfigurations(IgnitionEx.java:639)
>>>>>>         at
>>>>>> org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:840)
>>>>>>         at
>>>>>> org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:749)
>>>>>>         at
>>>>>> org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:619)
>>>>>>         at
>>>>>> org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:589)
>>>>>>         at org.apache.ignite.Ignition.start(Ignition.java:347)
>>>>>>         ... 1 more
>>>>>> Caused by:
>>>>>> org.springframework.beans.factory.parsing.BeanDefinitionParsingException:
>>>>>> Configuration problem: Failed to import bean definitions f
>>>>>> rom URL location
>>>>>> [classpath:org/apache/ignite/tests/cassandra/connection-settings.xml]
>>>>>> Offending resource: URL
>>>>>> [file:/C:/Users/D-UA96OU/Desktop/Ignite/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin
>>>>>> /config/default-config.xml]; nested exception is
>>>>>> org.springframework.beans.factory.BeanDefinitionStoreException: IOException
>>>>>> parsing XML docume
>>>>>> nt from class path resource
>>>>>> [org/apache/ignite/tests/cassandra/connection-settings.xml]; nested
>>>>>> exception is java.io.FileNotFoundException: cla
>>>>>> ss path resource
>>>>>> [org/apache/ignite/tests/cassandra/connection-settings.xml] cannot be
>>>>>> opened because it does not exist
>>>>>>         at
>>>>>> org.springframework.beans.factory.parsing.FailFastProblemReporter.error(FailFastProblemReporter.java:70)
>>>>>>         at
>>>>>> org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:85)
>>>>>>         at
>>>>>> org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:76)
>>>>>>         at
>>>>>> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.importBeanDefinitionResource(DefaultBeanDefinitionDocument
>>>>>> Reader.java:250)
>>>>>>         at
>>>>>> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseDefaultElement(DefaultBeanDefinitionDocumentReader.ja
>>>>>> va:201)
>>>>>>         at
>>>>>> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.j
>>>>>> ava:186)
>>>>>>         at
>>>>>> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.doRegisterBeanDefinitions(DefaultBeanDefinitionDocumentRea
>>>>>> der.java:143)
>>>>>>         at
>>>>>> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReade
>>>>>> r.java:110)
>>>>>>         at
>>>>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:508)
>>>>>>         at
>>>>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:391)
>>>>>>         at
>>>>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:335)
>>>>>>         at
>>>>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:303)
>>>>>>         at
>>>>>> org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.applicationContext(IgniteSpringHelperImpl.java:379)
>>>>>>         ... 9 more
>>>>>> Caused by:
>>>>>> org.springframework.beans.factory.BeanDefinitionStoreException: IOException
>>>>>> parsing XML document from class path resource [org/apach
>>>>>> e/ignite/tests/cassandra/connection-settings.xml]; nested exception
>>>>>> is java.io.FileNotFoundException: class path resource [org/apache/ignite/te
>>>>>> sts/cassandra/connection-settings.xml] cannot be opened because it
>>>>>> does not exist
>>>>>>         at
>>>>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:343)
>>>>>>         at
>>>>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:303)
>>>>>>         at
>>>>>> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:180)
>>>>>>         at
>>>>>> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:216)
>>>>>>         at
>>>>>> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.importBeanDefinitionResource(DefaultBeanDefinitionDocument
>>>>>> Reader.java:244)
>>>>>>         ... 18 more
>>>>>> Caused by: java.io.FileNotFoundException: class path resource
>>>>>> [org/apache/ignite/tests/cassandra/connection-settings.xml] cannot be
>>>>>> opened beca
>>>>>> use it does not exist
>>>>>>         at
>>>>>> org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:172)
>>>>>>         at
>>>>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:329)
>>>>>>         ... 22 more
>>>>>> Failed to start grid: Failed to instantiate Spring XML application
>>>>>> context [springUrl=file:/C:/Users/D-UA96OU/Desktop/Ignite/apache-ignite-fabr
>>>>>> ic-1.6.0-SNAPSHOT-bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/config/default-config.xml,
>>>>>> err=Configuration problem: Failed to import bean defin
>>>>>> itions from URL location
>>>>>> [classpath:org/apache/ignite/tests/cassandra/connection-settings.xml]
>>>>>> Offending resource: URL
>>>>>> [file:/C:/Users/D-UA96OU/Desktop/Ignite/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin
>>>>>> /config/default-config.xml]; nested exception is
>>>>>> org.springframework.beans.factory.BeanDefinitionStoreException: IOException
>>>>>> parsing XML docume
>>>>>> nt from class path resource
>>>>>> [org/apache/ignite/tests/cassandra/connection-settings.xml]; nested
>>>>>> exception is java.io.FileNotFoundException: cla
>>>>>> ss path resource
>>>>>> [org/apache/ignite/tests/cassandra/connection-settings.xml] cannot be
>>>>>> opened because it does not exist]
>>>>>> Press any key to continue . . .
>>>>>>
>>>>>> On Mon, May 23, 2016 at 1:41 PM, Ashish Dutt Sharma <[hidden email]
>>>>>> <http:///user/SendEmail.jtp?type=node&node=5097&i=0>> wrote:
>>>>>>
>>>>>>> Thank you Alexey.
>>>>>>>
>>>>>>> I am unable to locate the test resources like the ignite
>>>>>>> configuration files and the persistent descriptors in the package. Could
>>>>>>> you please help me find them?
>>>>>>>
>>>>>>> I downloaded apache-ignite-fabric-1.6.0-SNAPSHOT-bin.zip
>>>>>>> <https://builds.apache.org/view/H-L/view/Ignite/job/Ignite-nightly/lastSuccessfulBuild/artifact/target/bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin.zip> from
>>>>>>> the link
>>>>>>> https://builds.apache.org/view/H-L/view/Ignite/job/Ignite-nightly/lastSuccessfulBuild/
>>>>>>> as the latest nightly version and then explored the ignite-Cassandra
>>>>>>> module in the lib folder.
>>>>>>>
>>>>>>> I then downloaded the ignite-cassandra-1.6.0-SNAPSHOT.jar
>>>>>>> <https://builds.apache.org/view/H-L/view/Ignite/job/Ignite-nightly/lastSuccessfulBuild/org.apache.ignite$ignite-cassandra/artifact/org.apache.ignite/ignite-cassandra/1.6.0-SNAPSHOT/ignite-cassandra-1.6.0-SNAPSHOT.jar> module
>>>>>>> from the link
>>>>>>> https://builds.apache.org/view/H-L/view/Ignite/job/Ignite-nightly/lastSuccessfulBuild/org.apache.ignite$ignite-cassandra/
>>>>>>> but still could not find any test resources in it.
>>>>>>>
>>>>>>> When I try to start a node with the configuration file present on
>>>>>>> the link https://github.com/irudyak/ignite/wiki/Examples
>>>>>>>
>>>>>>> I run into the below error..
>>>>>>>
>>>>>>> nested exception is org.springframework.beans.factory.BeanDefinitionS
>>>>>>> eException: IOException parsing XML document from class path
>>>>>>> resource [org/apache/ignite/tests/cassandra/connection-settings.xml];
>>>>>>> nested ex
>>>>>>> tion is java.io.FileNotFoundException: class path resource
>>>>>>> [org/apache/ignite/tests/cassandra/connection-settings.xml] cannot be
>>>>>>> opened beca
>>>>>>>  it does not exist]
>>>>>>>         at
>>>>>>> org.apache.ignite.internal.util.IgniteUtils.convertException(IgniteUtils.java:900)
>>>>>>>         at org.apache.ignite.Ignition.start(Ignition.java:350)
>>>>>>>         at
>>>>>>> org.apache.ignite.startup.cmdline.CommandLineStartup.main(CommandLineStartup.java:302)
>>>>>>>
>>>>>>> I understand the problem lies in finding the below resources in the
>>>>>>> ignite configuration file.
>>>>>>>
>>>>>>> <!-- Cassandra connection settings -->
>>>>>>>     <import
>>>>>>> resource="classpath:org/apache/ignite/tests/cassandra/connection-settings.xml"
>>>>>>> />
>>>>>>>     <!-- Persistence settings for 'cache1' -->
>>>>>>>     <bean id="cache1_persistence_settings"
>>>>>>> class="org.apache.ignite.cache.store.cassandra.utils.persistence.KeyValuePersistenceSettings">
>>>>>>>         <constructor-arg type="org.springframework.core.io.Resource"
>>>>>>> value="classpath:org/apache/ignite/tests/persistence/blob/persistence-settings-1.xml"
>>>>>>> />
>>>>>>>     </bean>
>>>>>>>     <!-- Persistence settings for 'cache2' -->
>>>>>>>     <bean id="cache2_persistence_settings"
>>>>>>> class="org.apache.ignite.cache.store.cassandra.utils.persistence.KeyValuePersistenceSettings">
>>>>>>>         <constructor-arg type="org.springframework.core.io.Resource"
>>>>>>> value="classpath:org/apache/ignite/tests/persistence/blob/persistence-settings-3.xml"
>>>>>>> />
>>>>>>>     </bean>
>>>>>>>
>>>>>>>
>>>>>>> Could you please help me fill the gap by explaining if there is
>>>>>>> another module that I should be working with or should there be any updates
>>>>>>> made? Please let me know if you need any further information.
>>>>>>>
>>>>>>> Regards.
>>>>>>>
>>>>>>>
>>>>>>> On Fri, May 20, 2016 at 10:19 AM, Alexey Kuznetsov [via Apache
>>>>>>> Ignite Users] <[hidden email]
>>>>>>> <http:///user/SendEmail.jtp?type=node&node=5097&i=1>> wrote:
>>>>>>>
>>>>>>>> If release vote will be successful then ignite-1.6 will be released
>>>>>>>> next week.
>>>>>>>> If not then it may take some time to fix issues and re-vote.
>>>>>>>>
>>>>>>>> Documentation may be added later, but for now you may use
>>>>>>>> unofficial docs
>>>>>>>>  from ignite-cassandra module contributor see
>>>>>>>> https://github.com/irudyak/ignite/wiki
>>>>>>>>
>>>>>>>> Also, you may use latest nightly build and do not wait for release.
>>>>>>>>  https://ignite.apache.org/community/contribute.html#nightly-builds
>>>>>>>>
>>>>>>>> Hope this help.
>>>>>>>>
>>>>>>>> On Fri, May 20, 2016 at 2:51 PM, ChickyDutt <[hidden email]
>>>>>>>> <http:///user/SendEmail.jtp?type=node&node=5049&i=0>> wrote:
>>>>>>>>
>>>>>>>>> And as conveyed earlier, you expect Ignite 1.6 to be released next
>>>>>>>>> week with the documentation for the if Cassandra module. Please correct me
>>>>>>>>> if I am wrong.
>>>>>>>>> On 20 May 2016 9:57 a.m., "Alexey Kuznetsov [via Apache Ignite
>>>>>>>>> Users]" <[hidden email]
>>>>>>>>> <http:///user/SendEmail.jtp?type=node&node=5048&i=0>> wrote:
>>>>>>>>>
>>>>>>>>>> Hi Chicky D.!
>>>>>>>>>>
>>>>>>>>>> About you first question about example - take a look
>>>>>>>>>> for org.apache.ignite.tests.IgnitePersistentStoreTest - it use some xml
>>>>>>>>>> configs.
>>>>>>>>>>
>>>>>>>>>> >> In addition to my previous query, Could you also help me
>>>>>>>>>> understand if the patch file available on the below link is likely to
>>>>>>>>>> undergo any further changes until the final release?
>>>>>>>>>> >> https://issues.apache.org/jira/browse/IGNITE-1371
>>>>>>>>>>
>>>>>>>>>> No, this issue is merged into ignite-1.6  and issue is closed
>>>>>>>>>> (sorry, I forgot to do it before).
>>>>>>>>>>
>>>>>>>>>> But you may open new issues in JIRA if you want.
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Alexey Kuznetsov
>>>>>>>>>> GridGain Systems
>>>>>>>>>> www.gridgain.com
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> ------------------------------
>>>>>>>>>> If you reply to this email, your message will be added to the
>>>>>>>>>> discussion below:
>>>>>>>>>>
>>>>>>>>>> http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5047.html
>>>>>>>>>> To start a new topic under Apache Ignite Users, email [hidden
>>>>>>>>>> email] <http:///user/SendEmail.jtp?type=node&node=5048&i=1>
>>>>>>>>>> To unsubscribe from Apache Ignite Users, click here.
>>>>>>>>>> NAML
>>>>>>>>>> <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> ------------------------------
>>>>>>>>> View this message in context: Re: Persistence using Cassandra
>>>>>>>>> <http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5048.html>
>>>>>>>>> Sent from the Apache Ignite Users mailing list archive
>>>>>>>>> <http://apache-ignite-users.70518.x6.nabble.com/> at Nabble.com.
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Alexey Kuznetsov
>>>>>>>> GridGain Systems
>>>>>>>> www.gridgain.com
>>>>>>>>
>>>>>>>>
>>>>>>>> ------------------------------
>>>>>>>> If you reply to this email, your message will be added to the
>>>>>>>> discussion below:
>>>>>>>>
>>>>>>>> http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5049.html
>>>>>>>> To start a new topic under Apache Ignite Users, email [hidden
>>>>>>>> email] <http:///user/SendEmail.jtp?type=node&node=5097&i=2>
>>>>>>>> To unsubscribe from Apache Ignite Users, click here.
>>>>>>>> NAML
>>>>>>>> <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> ------------------------------
>>>>>> View this message in context: Re: Persistence using Cassandra
>>>>>> <http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5097.html>
>>>>>> Sent from the Apache Ignite Users mailing list archive
>>>>>> <http://apache-ignite-users.70518.x6.nabble.com/> at Nabble.com.
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Alexey Kuznetsov
>>>>> GridGain Systems
>>>>> www.gridgain.com
>>>>>
>>>>>
>>>>> ------------------------------
>>>>> If you reply to this email, your message will be added to the
>>>>> discussion below:
>>>>>
>>>>> http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5114.html
>>>>> To start a new topic under Apache Ignite Users, email [hidden email]
>>>>> <http:///user/SendEmail.jtp?type=node&node=5534&i=1>
>>>>> To unsubscribe from Apache Ignite Users, click here.
>>>>> NAML
>>>>> <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>>>>
>>>>
>>>>
>>>> ------------------------------
>>>> View this message in context: Re: Persistence using Cassandra
>>>> <http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5534.html>
>>>> Sent from the Apache Ignite Users mailing list archive
>>>> <http://apache-ignite-users.70518.x6.nabble.com/> at Nabble.com.
>>>>
>>>
>>>
>>>
>>> --
>>> Alexey Kuznetsov
>>> GridGain Systems
>>> www.gridgain.com
>>>
>>>
>>> ------------------------------
>>> If you reply to this email, your message will be added to the discussion
>>> below:
>>>
>>> http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5535.html
>>> To start a new topic under Apache Ignite Users, email
>>> ml-node+s70518n1h6@n6.nabble.com
>>> To unsubscribe from Apache Ignite Users, click here
>>> <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=1&code=YXNoLmR1dHQuc2hhcm1hQGdtYWlsLmNvbXwxfC0xOTcwMDkyNjky>
>>> .
>>> NAML
>>> <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>>
>>
>>
>


Error.png (44K) <http://apache-ignite-users.70518.x6.nabble.com/attachment/5564/0/Error.png>




--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5564.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Persistence using Cassandra

Posted by ChickyDutt <as...@gmail.com>.
I decreased the JVM size and it worked. Thank you.

Regards.

On Thu, Jun 9, 2016 at 5:57 PM, Ashish Dutt Sharma <
ash.dutt.sharma@gmail.com> wrote:

> Thank you Alexey.
>
> I am now trying to run the load tests from the source package, After
> building from the source and editing relevant properties, I run into the
> following error after I run the 'cassandra-load-tests.bat' file.
>
> Could you please take a look at the attachment and advise on how to
> resolve? Please let me know if you need any further information.
>
> Regards,
> Ashish Sharma,
>
> On Wed, Jun 8, 2016 at 5:43 PM, Alexey Kuznetsov [via Apache Ignite Users]
> <ml...@n6.nabble.com> wrote:
>
>> Hi, Ashish Sharma.
>>
>> Take a look at docs: https://apacheignite.readme.io/docs/overview
>> As far as I see in docs
>> https://apacheignite.readme.io/v1.6/docs/base-concepts
>> there I found such note;
>> ----------------
>> Current implementation of
>> org.apache.ignite.cache.store.cassandra.utils.datasource.DataSource doesn't
>> implement Serializable,
>>  thus for distributed Ignite clusters, CassandraCacheStoreFactory could
>> only be setup through Spring XML file, but not from code
>> ---------------
>>
>> I think this could be fixed in next releases.
>>
>>
>>
>> On Wed, Jun 8, 2016 at 10:35 PM, ChickyDutt <[hidden email]
>> <http:///user/SendEmail.jtp?type=node&node=5535&i=0>> wrote:
>>
>>> Thank you Alexey.
>>>
>>> Do you have an example where the CacheConfiguration store is configured
>>> using Java ?
>>>
>>> Regards,
>>> Ashish Sharma.
>>>
>>> On Mon, May 23, 2016 at 3:28 PM, Alexey Kuznetsov [via Apache Ignite
>>> Users] <[hidden email]
>>> <http:///user/SendEmail.jtp?type=node&node=5534&i=0>> wrote:
>>>
>>>> If you need tests - you need to download sources (
>>>> https://ignite.apache.org/download.cgi#sources).
>>>> Also, today we released Ignite 1.6 it should be available on Maven now.
>>>>
>>>> Hope this help.
>>>>
>>>> On Mon, May 23, 2016 at 6:35 PM, ChickyDutt <[hidden email]
>>>> <http:///user/SendEmail.jtp?type=node&node=5114&i=0>> wrote:
>>>>
>>>>> Mentioned below are the complete logs
>>>>>
>>>>> class org.apache.ignite.IgniteException: Failed to instantiate Spring
>>>>> XML application context [springUrl=file:/C:/Users/D-UA96OU/Desktop/Ignite
>>>>> /apache-ignite-fabric-1.6.0-SNAPSHOT-bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/config/default-config.xml,
>>>>> err=Configuration problem: Failed t
>>>>> o import bean definitions from URL location
>>>>> [classpath:org/apache/ignite/tests/cassandra/connection-settings.xml]
>>>>> Offending resource: URL
>>>>> [file:/C:/Users/D-UA96OU/Desktop/Ignite/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin
>>>>> /config/default-config.xml]; nested exception is
>>>>> org.springframework.beans.factory.BeanDefinitionStoreException: IOException
>>>>> parsing XML docume
>>>>> nt from class path resource
>>>>> [org/apache/ignite/tests/cassandra/connection-settings.xml]; nested
>>>>> exception is java.io.FileNotFoundException: cla
>>>>> ss path resource
>>>>> [org/apache/ignite/tests/cassandra/connection-settings.xml] cannot be
>>>>> opened because it does not exist]
>>>>>         at
>>>>> org.apache.ignite.internal.util.IgniteUtils.convertException(IgniteUtils.java:906)
>>>>>         at org.apache.ignite.Ignition.start(Ignition.java:350)
>>>>>         at
>>>>> org.apache.ignite.startup.cmdline.CommandLineStartup.main(CommandLineStartup.java:302)
>>>>> Caused by: class org.apache.ignite.IgniteCheckedException: Failed to
>>>>> instantiate Spring XML application context [springUrl=file:/C:/Users/D-UA9
>>>>> 6OU/Desktop/Ignite/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/config/default-config.xml,
>>>>> err=Configuration
>>>>>  problem: Failed to import bean definitions from URL location
>>>>> [classpath:org/apache/ignite/tests/cassandra/connection-settings.xml]
>>>>> Offending resource: URL
>>>>> [file:/C:/Users/D-UA96OU/Desktop/Ignite/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin
>>>>> /config/default-config.xml]; nested exception is
>>>>> org.springframework.beans.factory.BeanDefinitionStoreException: IOException
>>>>> parsing XML docume
>>>>> nt from class path resource
>>>>> [org/apache/ignite/tests/cassandra/connection-settings.xml]; nested
>>>>> exception is java.io.FileNotFoundException: cla
>>>>> ss path resource
>>>>> [org/apache/ignite/tests/cassandra/connection-settings.xml] cannot be
>>>>> opened because it does not exist]
>>>>>         at
>>>>> org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.applicationContext(IgniteSpringHelperImpl.java:391)
>>>>>         at
>>>>> org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.loadConfigurations(IgniteSpringHelperImpl.java:104)
>>>>>         at
>>>>> org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.loadConfigurations(IgniteSpringHelperImpl.java:98)
>>>>>         at
>>>>> org.apache.ignite.internal.IgnitionEx.loadConfigurations(IgnitionEx.java:639)
>>>>>         at
>>>>> org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:840)
>>>>>         at
>>>>> org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:749)
>>>>>         at
>>>>> org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:619)
>>>>>         at
>>>>> org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:589)
>>>>>         at org.apache.ignite.Ignition.start(Ignition.java:347)
>>>>>         ... 1 more
>>>>> Caused by:
>>>>> org.springframework.beans.factory.parsing.BeanDefinitionParsingException:
>>>>> Configuration problem: Failed to import bean definitions f
>>>>> rom URL location
>>>>> [classpath:org/apache/ignite/tests/cassandra/connection-settings.xml]
>>>>> Offending resource: URL
>>>>> [file:/C:/Users/D-UA96OU/Desktop/Ignite/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin
>>>>> /config/default-config.xml]; nested exception is
>>>>> org.springframework.beans.factory.BeanDefinitionStoreException: IOException
>>>>> parsing XML docume
>>>>> nt from class path resource
>>>>> [org/apache/ignite/tests/cassandra/connection-settings.xml]; nested
>>>>> exception is java.io.FileNotFoundException: cla
>>>>> ss path resource
>>>>> [org/apache/ignite/tests/cassandra/connection-settings.xml] cannot be
>>>>> opened because it does not exist
>>>>>         at
>>>>> org.springframework.beans.factory.parsing.FailFastProblemReporter.error(FailFastProblemReporter.java:70)
>>>>>         at
>>>>> org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:85)
>>>>>         at
>>>>> org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:76)
>>>>>         at
>>>>> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.importBeanDefinitionResource(DefaultBeanDefinitionDocument
>>>>> Reader.java:250)
>>>>>         at
>>>>> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseDefaultElement(DefaultBeanDefinitionDocumentReader.ja
>>>>> va:201)
>>>>>         at
>>>>> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.j
>>>>> ava:186)
>>>>>         at
>>>>> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.doRegisterBeanDefinitions(DefaultBeanDefinitionDocumentRea
>>>>> der.java:143)
>>>>>         at
>>>>> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReade
>>>>> r.java:110)
>>>>>         at
>>>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:508)
>>>>>         at
>>>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:391)
>>>>>         at
>>>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:335)
>>>>>         at
>>>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:303)
>>>>>         at
>>>>> org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.applicationContext(IgniteSpringHelperImpl.java:379)
>>>>>         ... 9 more
>>>>> Caused by:
>>>>> org.springframework.beans.factory.BeanDefinitionStoreException: IOException
>>>>> parsing XML document from class path resource [org/apach
>>>>> e/ignite/tests/cassandra/connection-settings.xml]; nested exception is
>>>>> java.io.FileNotFoundException: class path resource [org/apache/ignite/te
>>>>> sts/cassandra/connection-settings.xml] cannot be opened because it
>>>>> does not exist
>>>>>         at
>>>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:343)
>>>>>         at
>>>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:303)
>>>>>         at
>>>>> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:180)
>>>>>         at
>>>>> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:216)
>>>>>         at
>>>>> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.importBeanDefinitionResource(DefaultBeanDefinitionDocument
>>>>> Reader.java:244)
>>>>>         ... 18 more
>>>>> Caused by: java.io.FileNotFoundException: class path resource
>>>>> [org/apache/ignite/tests/cassandra/connection-settings.xml] cannot be
>>>>> opened beca
>>>>> use it does not exist
>>>>>         at
>>>>> org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:172)
>>>>>         at
>>>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:329)
>>>>>         ... 22 more
>>>>> Failed to start grid: Failed to instantiate Spring XML application
>>>>> context [springUrl=file:/C:/Users/D-UA96OU/Desktop/Ignite/apache-ignite-fabr
>>>>> ic-1.6.0-SNAPSHOT-bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/config/default-config.xml,
>>>>> err=Configuration problem: Failed to import bean defin
>>>>> itions from URL location
>>>>> [classpath:org/apache/ignite/tests/cassandra/connection-settings.xml]
>>>>> Offending resource: URL
>>>>> [file:/C:/Users/D-UA96OU/Desktop/Ignite/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin
>>>>> /config/default-config.xml]; nested exception is
>>>>> org.springframework.beans.factory.BeanDefinitionStoreException: IOException
>>>>> parsing XML docume
>>>>> nt from class path resource
>>>>> [org/apache/ignite/tests/cassandra/connection-settings.xml]; nested
>>>>> exception is java.io.FileNotFoundException: cla
>>>>> ss path resource
>>>>> [org/apache/ignite/tests/cassandra/connection-settings.xml] cannot be
>>>>> opened because it does not exist]
>>>>> Press any key to continue . . .
>>>>>
>>>>> On Mon, May 23, 2016 at 1:41 PM, Ashish Dutt Sharma <[hidden email]
>>>>> <http:///user/SendEmail.jtp?type=node&node=5097&i=0>> wrote:
>>>>>
>>>>>> Thank you Alexey.
>>>>>>
>>>>>> I am unable to locate the test resources like the ignite
>>>>>> configuration files and the persistent descriptors in the package. Could
>>>>>> you please help me find them?
>>>>>>
>>>>>> I downloaded apache-ignite-fabric-1.6.0-SNAPSHOT-bin.zip
>>>>>> <https://builds.apache.org/view/H-L/view/Ignite/job/Ignite-nightly/lastSuccessfulBuild/artifact/target/bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin.zip> from
>>>>>> the link
>>>>>> https://builds.apache.org/view/H-L/view/Ignite/job/Ignite-nightly/lastSuccessfulBuild/
>>>>>> as the latest nightly version and then explored the ignite-Cassandra
>>>>>> module in the lib folder.
>>>>>>
>>>>>> I then downloaded the ignite-cassandra-1.6.0-SNAPSHOT.jar
>>>>>> <https://builds.apache.org/view/H-L/view/Ignite/job/Ignite-nightly/lastSuccessfulBuild/org.apache.ignite$ignite-cassandra/artifact/org.apache.ignite/ignite-cassandra/1.6.0-SNAPSHOT/ignite-cassandra-1.6.0-SNAPSHOT.jar> module
>>>>>> from the link
>>>>>> https://builds.apache.org/view/H-L/view/Ignite/job/Ignite-nightly/lastSuccessfulBuild/org.apache.ignite$ignite-cassandra/
>>>>>> but still could not find any test resources in it.
>>>>>>
>>>>>> When I try to start a node with the configuration file present on the
>>>>>> link https://github.com/irudyak/ignite/wiki/Examples
>>>>>>
>>>>>> I run into the below error..
>>>>>>
>>>>>> nested exception is org.springframework.beans.factory.BeanDefinitionS
>>>>>> eException: IOException parsing XML document from class path resource
>>>>>> [org/apache/ignite/tests/cassandra/connection-settings.xml]; nested ex
>>>>>> tion is java.io.FileNotFoundException: class path resource
>>>>>> [org/apache/ignite/tests/cassandra/connection-settings.xml] cannot be
>>>>>> opened beca
>>>>>>  it does not exist]
>>>>>>         at
>>>>>> org.apache.ignite.internal.util.IgniteUtils.convertException(IgniteUtils.java:900)
>>>>>>         at org.apache.ignite.Ignition.start(Ignition.java:350)
>>>>>>         at
>>>>>> org.apache.ignite.startup.cmdline.CommandLineStartup.main(CommandLineStartup.java:302)
>>>>>>
>>>>>> I understand the problem lies in finding the below resources in the
>>>>>> ignite configuration file.
>>>>>>
>>>>>> <!-- Cassandra connection settings -->
>>>>>>     <import
>>>>>> resource="classpath:org/apache/ignite/tests/cassandra/connection-settings.xml"
>>>>>> />
>>>>>>     <!-- Persistence settings for 'cache1' -->
>>>>>>     <bean id="cache1_persistence_settings"
>>>>>> class="org.apache.ignite.cache.store.cassandra.utils.persistence.KeyValuePersistenceSettings">
>>>>>>         <constructor-arg type="org.springframework.core.io.Resource"
>>>>>> value="classpath:org/apache/ignite/tests/persistence/blob/persistence-settings-1.xml"
>>>>>> />
>>>>>>     </bean>
>>>>>>     <!-- Persistence settings for 'cache2' -->
>>>>>>     <bean id="cache2_persistence_settings"
>>>>>> class="org.apache.ignite.cache.store.cassandra.utils.persistence.KeyValuePersistenceSettings">
>>>>>>         <constructor-arg type="org.springframework.core.io.Resource"
>>>>>> value="classpath:org/apache/ignite/tests/persistence/blob/persistence-settings-3.xml"
>>>>>> />
>>>>>>     </bean>
>>>>>>
>>>>>>
>>>>>> Could you please help me fill the gap by explaining if there is
>>>>>> another module that I should be working with or should there be any updates
>>>>>> made? Please let me know if you need any further information.
>>>>>>
>>>>>> Regards.
>>>>>>
>>>>>>
>>>>>> On Fri, May 20, 2016 at 10:19 AM, Alexey Kuznetsov [via Apache Ignite
>>>>>> Users] <[hidden email]
>>>>>> <http:///user/SendEmail.jtp?type=node&node=5097&i=1>> wrote:
>>>>>>
>>>>>>> If release vote will be successful then ignite-1.6 will be released
>>>>>>> next week.
>>>>>>> If not then it may take some time to fix issues and re-vote.
>>>>>>>
>>>>>>> Documentation may be added later, but for now you may use unofficial
>>>>>>> docs
>>>>>>>  from ignite-cassandra module contributor see
>>>>>>> https://github.com/irudyak/ignite/wiki
>>>>>>>
>>>>>>> Also, you may use latest nightly build and do not wait for release.
>>>>>>>  https://ignite.apache.org/community/contribute.html#nightly-builds
>>>>>>>
>>>>>>> Hope this help.
>>>>>>>
>>>>>>> On Fri, May 20, 2016 at 2:51 PM, ChickyDutt <[hidden email]
>>>>>>> <http:///user/SendEmail.jtp?type=node&node=5049&i=0>> wrote:
>>>>>>>
>>>>>>>> And as conveyed earlier, you expect Ignite 1.6 to be released next
>>>>>>>> week with the documentation for the if Cassandra module. Please correct me
>>>>>>>> if I am wrong.
>>>>>>>> On 20 May 2016 9:57 a.m., "Alexey Kuznetsov [via Apache Ignite
>>>>>>>> Users]" <[hidden email]
>>>>>>>> <http:///user/SendEmail.jtp?type=node&node=5048&i=0>> wrote:
>>>>>>>>
>>>>>>>>> Hi Chicky D.!
>>>>>>>>>
>>>>>>>>> About you first question about example - take a look
>>>>>>>>> for org.apache.ignite.tests.IgnitePersistentStoreTest - it use some xml
>>>>>>>>> configs.
>>>>>>>>>
>>>>>>>>> >> In addition to my previous query, Could you also help me
>>>>>>>>> understand if the patch file available on the below link is likely to
>>>>>>>>> undergo any further changes until the final release?
>>>>>>>>> >> https://issues.apache.org/jira/browse/IGNITE-1371
>>>>>>>>>
>>>>>>>>> No, this issue is merged into ignite-1.6  and issue is closed
>>>>>>>>> (sorry, I forgot to do it before).
>>>>>>>>>
>>>>>>>>> But you may open new issues in JIRA if you want.
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Alexey Kuznetsov
>>>>>>>>> GridGain Systems
>>>>>>>>> www.gridgain.com
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> ------------------------------
>>>>>>>>> If you reply to this email, your message will be added to the
>>>>>>>>> discussion below:
>>>>>>>>>
>>>>>>>>> http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5047.html
>>>>>>>>> To start a new topic under Apache Ignite Users, email [hidden
>>>>>>>>> email] <http:///user/SendEmail.jtp?type=node&node=5048&i=1>
>>>>>>>>> To unsubscribe from Apache Ignite Users, click here.
>>>>>>>>> NAML
>>>>>>>>> <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>>>>>>>>
>>>>>>>>
>>>>>>>> ------------------------------
>>>>>>>> View this message in context: Re: Persistence using Cassandra
>>>>>>>> <http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5048.html>
>>>>>>>> Sent from the Apache Ignite Users mailing list archive
>>>>>>>> <http://apache-ignite-users.70518.x6.nabble.com/> at Nabble.com.
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Alexey Kuznetsov
>>>>>>> GridGain Systems
>>>>>>> www.gridgain.com
>>>>>>>
>>>>>>>
>>>>>>> ------------------------------
>>>>>>> If you reply to this email, your message will be added to the
>>>>>>> discussion below:
>>>>>>>
>>>>>>> http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5049.html
>>>>>>> To start a new topic under Apache Ignite Users, email [hidden email]
>>>>>>> <http:///user/SendEmail.jtp?type=node&node=5097&i=2>
>>>>>>> To unsubscribe from Apache Ignite Users, click here.
>>>>>>> NAML
>>>>>>> <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>> ------------------------------
>>>>> View this message in context: Re: Persistence using Cassandra
>>>>> <http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5097.html>
>>>>> Sent from the Apache Ignite Users mailing list archive
>>>>> <http://apache-ignite-users.70518.x6.nabble.com/> at Nabble.com.
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Alexey Kuznetsov
>>>> GridGain Systems
>>>> www.gridgain.com
>>>>
>>>>
>>>> ------------------------------
>>>> If you reply to this email, your message will be added to the
>>>> discussion below:
>>>>
>>>> http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5114.html
>>>> To start a new topic under Apache Ignite Users, email [hidden email]
>>>> <http:///user/SendEmail.jtp?type=node&node=5534&i=1>
>>>> To unsubscribe from Apache Ignite Users, click here.
>>>> NAML
>>>> <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>>>
>>>
>>>
>>> ------------------------------
>>> View this message in context: Re: Persistence using Cassandra
>>> <http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5534.html>
>>> Sent from the Apache Ignite Users mailing list archive
>>> <http://apache-ignite-users.70518.x6.nabble.com/> at Nabble.com.
>>>
>>
>>
>>
>> --
>> Alexey Kuznetsov
>> GridGain Systems
>> www.gridgain.com
>>
>>
>> ------------------------------
>> If you reply to this email, your message will be added to the discussion
>> below:
>>
>> http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5535.html
>> To start a new topic under Apache Ignite Users, email
>> ml-node+s70518n1h6@n6.nabble.com
>> To unsubscribe from Apache Ignite Users, click here
>> <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=1&code=YXNoLmR1dHQuc2hhcm1hQGdtYWlsLmNvbXwxfC0xOTcwMDkyNjky>
>> .
>> NAML
>> <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>
>




--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5562.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Persistence using Cassandra

Posted by ChickyDutt <as...@gmail.com>.
Good morning Alexey

My use case is to load a object into the cache and then see it get inserted
in Cassandra. In other words a simple read and write through implementation.

I am trying to insert a custom object in cache. I have both the server and
client instances up and running. Request you to please help me understand
the following

1 - Where do I provide the Cassandra keyspace and table creation details?

 2- Apart from the server config file, and the libs folder (I have placed
the JAR file of the project there), is there any place else that I have to
mention or refer the custom object details?

3 - Also can you elaborate what is the difference between the credentials
provided in the server/client config file  and the credentials provided in
the credentials.properties file?

Please let me know if you need any further information.

Regards,
Ashish Sharma.






On Thu, Jun 9, 2016 at 11:47 PM, Ashish Dutt Sharma <
ash.dutt.sharma@gmail.com> wrote:

> Hi Alexey
>
> I reinstalled Ignite on C;\Ignite and I got through.
>
>
> Regards.
>
> On Thu, Jun 9, 2016 at 10:39 PM, Ashish Dutt Sharma <
> ash.dutt.sharma@gmail.com> wrote:
>
>> Hi Alexey
>>
>> I run into the attached error after I run the ignite.bat with reference
>> to the server config file as mentioned in Load test examples.
>>
>> Could you please advise on how to get around it?
>>
>> On Thu, Jun 9, 2016 at 6:10 PM, Ashish Dutt Sharma <
>> ash.dutt.sharma@gmail.com> wrote:
>>
>>> I decreased the JVM size and it worked. Thank you.
>>>
>>> Regards.
>>>
>>> On Thu, Jun 9, 2016 at 5:57 PM, Ashish Dutt Sharma <
>>> ash.dutt.sharma@gmail.com> wrote:
>>>
>>>> Thank you Alexey.
>>>>
>>>> I am now trying to run the load tests from the source package, After
>>>> building from the source and editing relevant properties, I run into the
>>>> following error after I run the 'cassandra-load-tests.bat' file.
>>>>
>>>> Could you please take a look at the attachment and advise on how to
>>>> resolve? Please let me know if you need any further information.
>>>>
>>>> Regards,
>>>> Ashish Sharma,
>>>>
>>>> On Wed, Jun 8, 2016 at 5:43 PM, Alexey Kuznetsov [via Apache Ignite
>>>> Users] <ml...@n6.nabble.com> wrote:
>>>>
>>>>> Hi, Ashish Sharma.
>>>>>
>>>>> Take a look at docs: https://apacheignite.readme.io/docs/overview
>>>>> As far as I see in docs
>>>>> https://apacheignite.readme.io/v1.6/docs/base-concepts
>>>>> there I found such note;
>>>>> ----------------
>>>>> Current implementation of
>>>>> org.apache.ignite.cache.store.cassandra.utils.datasource.DataSource doesn't
>>>>> implement Serializable,
>>>>>  thus for distributed Ignite clusters, CassandraCacheStoreFactory
>>>>> could only be setup through Spring XML file, but not from code
>>>>> ---------------
>>>>>
>>>>> I think this could be fixed in next releases.
>>>>>
>>>>>
>>>>>
>>>>> On Wed, Jun 8, 2016 at 10:35 PM, ChickyDutt <[hidden email]
>>>>> <http:///user/SendEmail.jtp?type=node&node=5535&i=0>> wrote:
>>>>>
>>>>>> Thank you Alexey.
>>>>>>
>>>>>> Do you have an example where the CacheConfiguration store is
>>>>>> configured using Java ?
>>>>>>
>>>>>> Regards,
>>>>>> Ashish Sharma.
>>>>>>
>>>>>> On Mon, May 23, 2016 at 3:28 PM, Alexey Kuznetsov [via Apache Ignite
>>>>>> Users] <[hidden email]
>>>>>> <http:///user/SendEmail.jtp?type=node&node=5534&i=0>> wrote:
>>>>>>
>>>>>>> If you need tests - you need to download sources (
>>>>>>> https://ignite.apache.org/download.cgi#sources).
>>>>>>> Also, today we released Ignite 1.6 it should be available on Maven
>>>>>>> now.
>>>>>>>
>>>>>>> Hope this help.
>>>>>>>
>>>>>>> On Mon, May 23, 2016 at 6:35 PM, ChickyDutt <[hidden email]
>>>>>>> <http:///user/SendEmail.jtp?type=node&node=5114&i=0>> wrote:
>>>>>>>
>>>>>>>> Mentioned below are the complete logs
>>>>>>>>
>>>>>>>> class org.apache.ignite.IgniteException: Failed to instantiate
>>>>>>>> Spring XML application context
>>>>>>>> [springUrl=file:/C:/Users/D-UA96OU/Desktop/Ignite
>>>>>>>> /apache-ignite-fabric-1.6.0-SNAPSHOT-bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/config/default-config.xml,
>>>>>>>> err=Configuration problem: Failed t
>>>>>>>> o import bean definitions from URL location
>>>>>>>> [classpath:org/apache/ignite/tests/cassandra/connection-settings.xml]
>>>>>>>> Offending resource: URL
>>>>>>>> [file:/C:/Users/D-UA96OU/Desktop/Ignite/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin
>>>>>>>> /config/default-config.xml]; nested exception is
>>>>>>>> org.springframework.beans.factory.BeanDefinitionStoreException: IOException
>>>>>>>> parsing XML docume
>>>>>>>> nt from class path resource
>>>>>>>> [org/apache/ignite/tests/cassandra/connection-settings.xml]; nested
>>>>>>>> exception is java.io.FileNotFoundException: cla
>>>>>>>> ss path resource
>>>>>>>> [org/apache/ignite/tests/cassandra/connection-settings.xml] cannot be
>>>>>>>> opened because it does not exist]
>>>>>>>>         at
>>>>>>>> org.apache.ignite.internal.util.IgniteUtils.convertException(IgniteUtils.java:906)
>>>>>>>>         at org.apache.ignite.Ignition.start(Ignition.java:350)
>>>>>>>>         at
>>>>>>>> org.apache.ignite.startup.cmdline.CommandLineStartup.main(CommandLineStartup.java:302)
>>>>>>>> Caused by: class org.apache.ignite.IgniteCheckedException: Failed
>>>>>>>> to instantiate Spring XML application context
>>>>>>>> [springUrl=file:/C:/Users/D-UA9
>>>>>>>> 6OU/Desktop/Ignite/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/config/default-config.xml,
>>>>>>>> err=Configuration
>>>>>>>>  problem: Failed to import bean definitions from URL location
>>>>>>>> [classpath:org/apache/ignite/tests/cassandra/connection-settings.xml]
>>>>>>>> Offending resource: URL
>>>>>>>> [file:/C:/Users/D-UA96OU/Desktop/Ignite/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin
>>>>>>>> /config/default-config.xml]; nested exception is
>>>>>>>> org.springframework.beans.factory.BeanDefinitionStoreException: IOException
>>>>>>>> parsing XML docume
>>>>>>>> nt from class path resource
>>>>>>>> [org/apache/ignite/tests/cassandra/connection-settings.xml]; nested
>>>>>>>> exception is java.io.FileNotFoundException: cla
>>>>>>>> ss path resource
>>>>>>>> [org/apache/ignite/tests/cassandra/connection-settings.xml] cannot be
>>>>>>>> opened because it does not exist]
>>>>>>>>         at
>>>>>>>> org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.applicationContext(IgniteSpringHelperImpl.java:391)
>>>>>>>>         at
>>>>>>>> org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.loadConfigurations(IgniteSpringHelperImpl.java:104)
>>>>>>>>         at
>>>>>>>> org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.loadConfigurations(IgniteSpringHelperImpl.java:98)
>>>>>>>>         at
>>>>>>>> org.apache.ignite.internal.IgnitionEx.loadConfigurations(IgnitionEx.java:639)
>>>>>>>>         at
>>>>>>>> org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:840)
>>>>>>>>         at
>>>>>>>> org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:749)
>>>>>>>>         at
>>>>>>>> org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:619)
>>>>>>>>         at
>>>>>>>> org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:589)
>>>>>>>>         at org.apache.ignite.Ignition.start(Ignition.java:347)
>>>>>>>>         ... 1 more
>>>>>>>> Caused by:
>>>>>>>> org.springframework.beans.factory.parsing.BeanDefinitionParsingException:
>>>>>>>> Configuration problem: Failed to import bean definitions f
>>>>>>>> rom URL location
>>>>>>>> [classpath:org/apache/ignite/tests/cassandra/connection-settings.xml]
>>>>>>>> Offending resource: URL
>>>>>>>> [file:/C:/Users/D-UA96OU/Desktop/Ignite/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin
>>>>>>>> /config/default-config.xml]; nested exception is
>>>>>>>> org.springframework.beans.factory.BeanDefinitionStoreException: IOException
>>>>>>>> parsing XML docume
>>>>>>>> nt from class path resource
>>>>>>>> [org/apache/ignite/tests/cassandra/connection-settings.xml]; nested
>>>>>>>> exception is java.io.FileNotFoundException: cla
>>>>>>>> ss path resource
>>>>>>>> [org/apache/ignite/tests/cassandra/connection-settings.xml] cannot be
>>>>>>>> opened because it does not exist
>>>>>>>>         at
>>>>>>>> org.springframework.beans.factory.parsing.FailFastProblemReporter.error(FailFastProblemReporter.java:70)
>>>>>>>>         at
>>>>>>>> org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:85)
>>>>>>>>         at
>>>>>>>> org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:76)
>>>>>>>>         at
>>>>>>>> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.importBeanDefinitionResource(DefaultBeanDefinitionDocument
>>>>>>>> Reader.java:250)
>>>>>>>>         at
>>>>>>>> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseDefaultElement(DefaultBeanDefinitionDocumentReader.ja
>>>>>>>> va:201)
>>>>>>>>         at
>>>>>>>> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.j
>>>>>>>> ava:186)
>>>>>>>>         at
>>>>>>>> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.doRegisterBeanDefinitions(DefaultBeanDefinitionDocumentRea
>>>>>>>> der.java:143)
>>>>>>>>         at
>>>>>>>> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReade
>>>>>>>> r.java:110)
>>>>>>>>         at
>>>>>>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:508)
>>>>>>>>         at
>>>>>>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:391)
>>>>>>>>         at
>>>>>>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:335)
>>>>>>>>         at
>>>>>>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:303)
>>>>>>>>         at
>>>>>>>> org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.applicationContext(IgniteSpringHelperImpl.java:379)
>>>>>>>>         ... 9 more
>>>>>>>> Caused by:
>>>>>>>> org.springframework.beans.factory.BeanDefinitionStoreException: IOException
>>>>>>>> parsing XML document from class path resource [org/apach
>>>>>>>> e/ignite/tests/cassandra/connection-settings.xml]; nested exception
>>>>>>>> is java.io.FileNotFoundException: class path resource [org/apache/ignite/te
>>>>>>>> sts/cassandra/connection-settings.xml] cannot be opened because it
>>>>>>>> does not exist
>>>>>>>>         at
>>>>>>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:343)
>>>>>>>>         at
>>>>>>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:303)
>>>>>>>>         at
>>>>>>>> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:180)
>>>>>>>>         at
>>>>>>>> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:216)
>>>>>>>>         at
>>>>>>>> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.importBeanDefinitionResource(DefaultBeanDefinitionDocument
>>>>>>>> Reader.java:244)
>>>>>>>>         ... 18 more
>>>>>>>> Caused by: java.io.FileNotFoundException: class path resource
>>>>>>>> [org/apache/ignite/tests/cassandra/connection-settings.xml] cannot be
>>>>>>>> opened beca
>>>>>>>> use it does not exist
>>>>>>>>         at
>>>>>>>> org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:172)
>>>>>>>>         at
>>>>>>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:329)
>>>>>>>>         ... 22 more
>>>>>>>> Failed to start grid: Failed to instantiate Spring XML application
>>>>>>>> context [springUrl=file:/C:/Users/D-UA96OU/Desktop/Ignite/apache-ignite-fabr
>>>>>>>> ic-1.6.0-SNAPSHOT-bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/config/default-config.xml,
>>>>>>>> err=Configuration problem: Failed to import bean defin
>>>>>>>> itions from URL location
>>>>>>>> [classpath:org/apache/ignite/tests/cassandra/connection-settings.xml]
>>>>>>>> Offending resource: URL
>>>>>>>> [file:/C:/Users/D-UA96OU/Desktop/Ignite/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin
>>>>>>>> /config/default-config.xml]; nested exception is
>>>>>>>> org.springframework.beans.factory.BeanDefinitionStoreException: IOException
>>>>>>>> parsing XML docume
>>>>>>>> nt from class path resource
>>>>>>>> [org/apache/ignite/tests/cassandra/connection-settings.xml]; nested
>>>>>>>> exception is java.io.FileNotFoundException: cla
>>>>>>>> ss path resource
>>>>>>>> [org/apache/ignite/tests/cassandra/connection-settings.xml] cannot be
>>>>>>>> opened because it does not exist]
>>>>>>>> Press any key to continue . . .
>>>>>>>>
>>>>>>>> On Mon, May 23, 2016 at 1:41 PM, Ashish Dutt Sharma <[hidden email]
>>>>>>>> <http:///user/SendEmail.jtp?type=node&node=5097&i=0>> wrote:
>>>>>>>>
>>>>>>>>> Thank you Alexey.
>>>>>>>>>
>>>>>>>>> I am unable to locate the test resources like the ignite
>>>>>>>>> configuration files and the persistent descriptors in the package. Could
>>>>>>>>> you please help me find them?
>>>>>>>>>
>>>>>>>>> I downloaded apache-ignite-fabric-1.6.0-SNAPSHOT-bin.zip
>>>>>>>>> <https://builds.apache.org/view/H-L/view/Ignite/job/Ignite-nightly/lastSuccessfulBuild/artifact/target/bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin.zip> from
>>>>>>>>> the link
>>>>>>>>> https://builds.apache.org/view/H-L/view/Ignite/job/Ignite-nightly/lastSuccessfulBuild/
>>>>>>>>> as the latest nightly version and then explored the
>>>>>>>>> ignite-Cassandra module in the lib folder.
>>>>>>>>>
>>>>>>>>> I then downloaded the ignite-cassandra-1.6.0-SNAPSHOT.jar
>>>>>>>>> <https://builds.apache.org/view/H-L/view/Ignite/job/Ignite-nightly/lastSuccessfulBuild/org.apache.ignite$ignite-cassandra/artifact/org.apache.ignite/ignite-cassandra/1.6.0-SNAPSHOT/ignite-cassandra-1.6.0-SNAPSHOT.jar> module
>>>>>>>>> from the link
>>>>>>>>> https://builds.apache.org/view/H-L/view/Ignite/job/Ignite-nightly/lastSuccessfulBuild/org.apache.ignite$ignite-cassandra/
>>>>>>>>> but still could not find any test resources in it.
>>>>>>>>>
>>>>>>>>> When I try to start a node with the configuration file present on
>>>>>>>>> the link https://github.com/irudyak/ignite/wiki/Examples
>>>>>>>>>
>>>>>>>>> I run into the below error..
>>>>>>>>>
>>>>>>>>> nested exception is
>>>>>>>>> org.springframework.beans.factory.BeanDefinitionS
>>>>>>>>> eException: IOException parsing XML document from class path
>>>>>>>>> resource [org/apache/ignite/tests/cassandra/connection-settings.xml];
>>>>>>>>> nested ex
>>>>>>>>> tion is java.io.FileNotFoundException: class path resource
>>>>>>>>> [org/apache/ignite/tests/cassandra/connection-settings.xml] cannot be
>>>>>>>>> opened beca
>>>>>>>>>  it does not exist]
>>>>>>>>>         at
>>>>>>>>> org.apache.ignite.internal.util.IgniteUtils.convertException(IgniteUtils.java:900)
>>>>>>>>>         at org.apache.ignite.Ignition.start(Ignition.java:350)
>>>>>>>>>         at
>>>>>>>>> org.apache.ignite.startup.cmdline.CommandLineStartup.main(CommandLineStartup.java:302)
>>>>>>>>>
>>>>>>>>> I understand the problem lies in finding the below resources in
>>>>>>>>> the ignite configuration file.
>>>>>>>>>
>>>>>>>>> <!-- Cassandra connection settings -->
>>>>>>>>>     <import
>>>>>>>>> resource="classpath:org/apache/ignite/tests/cassandra/connection-settings.xml"
>>>>>>>>> />
>>>>>>>>>     <!-- Persistence settings for 'cache1' -->
>>>>>>>>>     <bean id="cache1_persistence_settings"
>>>>>>>>> class="org.apache.ignite.cache.store.cassandra.utils.persistence.KeyValuePersistenceSettings">
>>>>>>>>>         <constructor-arg
>>>>>>>>> type="org.springframework.core.io.Resource"
>>>>>>>>> value="classpath:org/apache/ignite/tests/persistence/blob/persistence-settings-1.xml"
>>>>>>>>> />
>>>>>>>>>     </bean>
>>>>>>>>>     <!-- Persistence settings for 'cache2' -->
>>>>>>>>>     <bean id="cache2_persistence_settings"
>>>>>>>>> class="org.apache.ignite.cache.store.cassandra.utils.persistence.KeyValuePersistenceSettings">
>>>>>>>>>         <constructor-arg
>>>>>>>>> type="org.springframework.core.io.Resource"
>>>>>>>>> value="classpath:org/apache/ignite/tests/persistence/blob/persistence-settings-3.xml"
>>>>>>>>> />
>>>>>>>>>     </bean>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Could you please help me fill the gap by explaining if there is
>>>>>>>>> another module that I should be working with or should there be any updates
>>>>>>>>> made? Please let me know if you need any further information.
>>>>>>>>>
>>>>>>>>> Regards.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Fri, May 20, 2016 at 10:19 AM, Alexey Kuznetsov [via Apache
>>>>>>>>> Ignite Users] <[hidden email]
>>>>>>>>> <http:///user/SendEmail.jtp?type=node&node=5097&i=1>> wrote:
>>>>>>>>>
>>>>>>>>>> If release vote will be successful then ignite-1.6 will be
>>>>>>>>>> released next week.
>>>>>>>>>> If not then it may take some time to fix issues and re-vote.
>>>>>>>>>>
>>>>>>>>>> Documentation may be added later, but for now you may use
>>>>>>>>>> unofficial docs
>>>>>>>>>>  from ignite-cassandra module contributor see
>>>>>>>>>> https://github.com/irudyak/ignite/wiki
>>>>>>>>>>
>>>>>>>>>> Also, you may use latest nightly build and do not wait for
>>>>>>>>>> release.
>>>>>>>>>>
>>>>>>>>>> https://ignite.apache.org/community/contribute.html#nightly-builds
>>>>>>>>>>
>>>>>>>>>> Hope this help.
>>>>>>>>>>
>>>>>>>>>> On Fri, May 20, 2016 at 2:51 PM, ChickyDutt <[hidden email]
>>>>>>>>>> <http:///user/SendEmail.jtp?type=node&node=5049&i=0>> wrote:
>>>>>>>>>>
>>>>>>>>>>> And as conveyed earlier, you expect Ignite 1.6 to be released
>>>>>>>>>>> next week with the documentation for the if Cassandra module. Please
>>>>>>>>>>> correct me if I am wrong.
>>>>>>>>>>> On 20 May 2016 9:57 a.m., "Alexey Kuznetsov [via Apache Ignite
>>>>>>>>>>> Users]" <[hidden email]
>>>>>>>>>>> <http:///user/SendEmail.jtp?type=node&node=5048&i=0>> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Hi Chicky D.!
>>>>>>>>>>>>
>>>>>>>>>>>> About you first question about example - take a look
>>>>>>>>>>>> for org.apache.ignite.tests.IgnitePersistentStoreTest - it use some xml
>>>>>>>>>>>> configs.
>>>>>>>>>>>>
>>>>>>>>>>>> >> In addition to my previous query, Could you also help me
>>>>>>>>>>>> understand if the patch file available on the below link is likely to
>>>>>>>>>>>> undergo any further changes until the final release?
>>>>>>>>>>>> >> https://issues.apache.org/jira/browse/IGNITE-1371
>>>>>>>>>>>>
>>>>>>>>>>>> No, this issue is merged into ignite-1.6  and issue is closed
>>>>>>>>>>>> (sorry, I forgot to do it before).
>>>>>>>>>>>>
>>>>>>>>>>>> But you may open new issues in JIRA if you want.
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>> Alexey Kuznetsov
>>>>>>>>>>>> GridGain Systems
>>>>>>>>>>>> www.gridgain.com
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> ------------------------------
>>>>>>>>>>>> If you reply to this email, your message will be added to the
>>>>>>>>>>>> discussion below:
>>>>>>>>>>>>
>>>>>>>>>>>> http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5047.html
>>>>>>>>>>>> To start a new topic under Apache Ignite Users, email [hidden
>>>>>>>>>>>> email] <http:///user/SendEmail.jtp?type=node&node=5048&i=1>
>>>>>>>>>>>> To unsubscribe from Apache Ignite Users, click here.
>>>>>>>>>>>> NAML
>>>>>>>>>>>> <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> ------------------------------
>>>>>>>>>>> View this message in context: Re: Persistence using Cassandra
>>>>>>>>>>> <http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5048.html>
>>>>>>>>>>> Sent from the Apache Ignite Users mailing list archive
>>>>>>>>>>> <http://apache-ignite-users.70518.x6.nabble.com/> at Nabble.com.
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Alexey Kuznetsov
>>>>>>>>>> GridGain Systems
>>>>>>>>>> www.gridgain.com
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> ------------------------------
>>>>>>>>>> If you reply to this email, your message will be added to the
>>>>>>>>>> discussion below:
>>>>>>>>>>
>>>>>>>>>> http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5049.html
>>>>>>>>>> To start a new topic under Apache Ignite Users, email [hidden
>>>>>>>>>> email] <http:///user/SendEmail.jtp?type=node&node=5097&i=2>
>>>>>>>>>> To unsubscribe from Apache Ignite Users, click here.
>>>>>>>>>> NAML
>>>>>>>>>> <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>> ------------------------------
>>>>>>>> View this message in context: Re: Persistence using Cassandra
>>>>>>>> <http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5097.html>
>>>>>>>> Sent from the Apache Ignite Users mailing list archive
>>>>>>>> <http://apache-ignite-users.70518.x6.nabble.com/> at Nabble.com.
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Alexey Kuznetsov
>>>>>>> GridGain Systems
>>>>>>> www.gridgain.com
>>>>>>>
>>>>>>>
>>>>>>> ------------------------------
>>>>>>> If you reply to this email, your message will be added to the
>>>>>>> discussion below:
>>>>>>>
>>>>>>> http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5114.html
>>>>>>> To start a new topic under Apache Ignite Users, email [hidden email]
>>>>>>> <http:///user/SendEmail.jtp?type=node&node=5534&i=1>
>>>>>>> To unsubscribe from Apache Ignite Users, click here.
>>>>>>> NAML
>>>>>>> <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> ------------------------------
>>>>>> View this message in context: Re: Persistence using Cassandra
>>>>>> <http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5534.html>
>>>>>> Sent from the Apache Ignite Users mailing list archive
>>>>>> <http://apache-ignite-users.70518.x6.nabble.com/> at Nabble.com.
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Alexey Kuznetsov
>>>>> GridGain Systems
>>>>> www.gridgain.com
>>>>>
>>>>>
>>>>> ------------------------------
>>>>> If you reply to this email, your message will be added to the
>>>>> discussion below:
>>>>>
>>>>> http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5535.html
>>>>> To start a new topic under Apache Ignite Users, email
>>>>> ml-node+s70518n1h6@n6.nabble.com
>>>>> To unsubscribe from Apache Ignite Users, click here
>>>>> <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=1&code=YXNoLmR1dHQuc2hhcm1hQGdtYWlsLmNvbXwxfC0xOTcwMDkyNjky>
>>>>> .
>>>>> NAML
>>>>> <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>>>>
>>>>
>>>>
>>>
>>
>




--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5567.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Persistence using Cassandra

Posted by Denis Magda <dm...@gridgain.com>.
Hi,

To bypass this kind of exceptions you need either to add a class of CodingScheme to the class path of all remote nodes or avoid deserialization on a remote side following these principles.

1. Set CacheConfiguraiton.setStoreKeepBinary flag to true. The the deserialization of your custom class won’t happen at the time an object is being placed or get from the store.

2. Get a reference to a cache using ignite.cache(“name”).withKeepBinary() and use such a reference for all cache related operations. 

3. Make sure that your CodingScheme class is neither Externalizable nor overrides witeObject/readObject methods providing custom serialization logic.

For more details please refer to binary format documentation page
https://apacheignite.readme.io/docs/binary-marshaller <https://apacheignite.readme.io/docs/binary-marshaller>

—
Denis

> On Jun 10, 2016, at 11:24 AM, ChickyDutt <as...@gmail.com> wrote:
> 
> More info pertaining to the questions in the previous mails. 
> 
> I get the below exception when I try to do a put into the server cache .
> 
> Exception in thread "main" org.apache.ignite.cache.CachePartialUpdateException: Failed to update keys (retry update if possible).: [12]
>  at org.apache.ignite.internal.processors.cache.GridCacheUtils.convertToCacheException(GridCacheUtils.java:1464)
>  at org.apache.ignite.internal.processors.cache.IgniteCacheProxy.cacheException(IgniteCacheProxy.java:1972)
>  at org.apache.ignite.internal.processors.cache.IgniteCacheProxy.put(IgniteCacheProxy.java:1172)
>  at CassandraTest.main(CassandraTest.java:39)
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  at java.lang.reflect.Method.invoke(Method.java:498)
>  at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
> Caused by: class org.apache.ignite.internal.processors.cache.CachePartialUpdateCheckedException: Failed to update keys (retry update if possible).: [12]
>  at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridNearAtomicSingleUpdateFuture.onResult(GridNearAtomicSingleUpdateFuture.java:224)
>  at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache.processNearAtomicUpdateResponse(GridDhtAtomicCache.java:2959)
>  at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache.access$700(GridDhtAtomicCache.java:129)
>  at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache$6.apply(GridDhtAtomicCache.java:266)
>  at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache$6.apply(GridDhtAtomicCache.java:264)
>  at org.apache.ignite.internal.processors.cache.GridCacheIoManager.processMessage(GridCacheIoManager.java:622)
>  at org.apache.ignite.internal.processors.cache.GridCacheIoManager.onMessage0(GridCacheIoManager.java:320)
>  at org.apache.ignite.internal.processors.cache.GridCacheIoManager.handleMessage(GridCacheIoManager.java:244)
>  at org.apache.ignite.internal.processors.cache.GridCacheIoManager.access$000(GridCacheIoManager.java:81)
>  at org.apache.ignite.internal.processors.cache.GridCacheIoManager$1.onMessage(GridCacheIoManager.java:203)
>  at org.apache.ignite.internal.managers.communication.GridIoManager.invokeListener(GridIoManager.java:1219)
>  at org.apache.ignite.internal.managers.communication.GridIoManager.processRegularMessage0(GridIoManager.java:847)
>  at org.apache.ignite.internal.managers.communication.GridIoManager.access$1700(GridIoManager.java:105)
>  at org.apache.ignite.internal.managers.communication.GridIoManager$5.run(GridIoManager.java:810)
>  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>  at java.lang.Thread.run(Thread.java:745)
>  Suppressed: class org.apache.ignite.IgniteCheckedException: Failed to update keys on primary node.
>   at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridNearAtomicUpdateResponse.addFailedKeys(GridNearAtomicUpdateResponse.java:369)
>   at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache.updateAllAsyncInternal0(GridDhtAtomicCache.java:1713)
>   at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache.updateAllAsyncInternal(GridDhtAtomicCache.java:1484)
>   at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache.processNearAtomicUpdateRequest(GridDhtAtomicCache.java:2940)
>   at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache.access$600(GridDhtAtomicCache.java:129)
>   at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache$5.apply(GridDhtAtomicCache.java:260)
>   at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache$5.apply(GridDhtAtomicCache.java:258)
>   ... 12 more
>   Suppressed: class org.apache.ignite.binary.BinaryInvalidTypeException: CodingScheme
>    at org.apache.ignite.internal.binary.BinaryContext.descriptorForTypeId(BinaryContext.java:608)
>    at org.apache.ignite.internal.binary.BinaryReaderExImpl.deserialize(BinaryReaderExImpl.java:1474)
>    at org.apache.ignite.internal.binary.BinaryObjectImpl.deserializeValue(BinaryObjectImpl.java:572)
>    at org.apache.ignite.internal.binary.BinaryObjectImpl.value(BinaryObjectImpl.java:131)
>    at org.apache.ignite.internal.processors.cache.CacheObjectContext.unwrapBinary(CacheObjectContext.java:257)
>    at org.apache.ignite.internal.processors.cache.CacheObjectContext.unwrapBinaryIfNeeded(CacheObjectContext.java:148)
>    at org.apache.ignite.internal.processors.cache.CacheObjectContext.unwrapBinaryIfNeeded(CacheObjectContext.java:135)
>    at org.apache.ignite.internal.processors.cache.GridCacheContext.unwrapBinaryIfNeeded(GridCacheContext.java:1732)
>    at org.apache.ignite.internal.processors.cache.store.GridCacheStoreManagerAdapter.put(GridCacheStoreManagerAdapter.java:565)
>    at org.apache.ignite.internal.processors.cache.GridCacheMapEntry.innerUpdate(GridCacheMapEntry.java:2358)
>    at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache.updateSingle(GridDhtAtomicCache.java:2246)
>    at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache.updateAllAsyncInternal0(GridDhtAtomicCache.java:1644)
>    ... 17 more
>   Caused by: java.lang.ClassNotFoundException: CodingScheme
>    at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
>    at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
>    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>    at java.lang.Class.forName0(Native Method)
>    at java.lang.Class.forName(Class.java:348)
>    at org.apache.ignite.internal.util.IgniteUtils.forName(IgniteUtils.java:8250)
>    at org.apache.ignite.internal.MarshallerContextAdapter.getClass(MarshallerContextAdapter.java:185)
>    at org.apache.ignite.internal.binary.BinaryContext.descriptorForTypeId(BinaryContext.java:599)
>    ... 28 more
> 
> 
> Source code
> 
> public class CassandraTest {
> 
> 
>         public static void main(String[] args) throws Exception {
> 
> 
>             String cacheName = "cache1";
> 
>             String configURL = "C:\\ <smb://Ignite//modules//cassandra//target//tests-package//settings//org//apache//ignite//tests//persistence//primitive//ignite-remote-client-config.xml>Ignite <smb://Ignite//modules//cassandra//target//tests-package//settings//org//apache//ignite//tests//persistence//primitive//ignite-remote-client-config.xml>\\ <smb://Ignite//modules//cassandra//target//tests-package//settings//org//apache//ignite//tests//persistence//primitive//ignite-remote-client-config.xml>modules <smb://Ignite//modules//cassandra//target//tests-package//settings//org//apache//ignite//tests//persistence//primitive//ignite-remote-client-config.xml>\\ <smb://Ignite//modules//cassandra//target//tests-package//settings//org//apache//ignite//tests//persistence//primitive//ignite-remote-client-config.xml>cassandra <smb://Ignite//modules//cassandra//target//tests-package//settings//org//apache//ignite//tests//persistence//primitive//ignite-remote-client-config.xml>\\ <smb://Ignite//modules//cassandra//target//tests-package//settings//org//apache//ignite//tests//persistence//primitive//ignite-remote-client-config.xml>target <smb://Ignite//modules//cassandra//target//tests-package//settings//org//apache//ignite//tests//persistence//primitive//ignite-remote-client-config.xml>\\ <smb://Ignite//modules//cassandra//target//tests-package//settings//org//apache//ignite//tests//persistence//primitive//ignite-remote-client-config.xml>tests-package <smb://Ignite//modules//cassandra//target//tests-package//settings//org//apache//ignite//tests//persistence//primitive//ignite-remote-client-config.xml>\\ <smb://Ignite//modules//cassandra//target//tests-package//settings//org//apache//ignite//tests//persistence//primitive//ignite-remote-client-config.xml>settings <smb://Ignite//modules//cassandra//target//tests-package//settings//org//apache//ignite//tests//persistence//primitive//ignite-remote-client-config.xml>\\ <smb://Ignite//modules//cassandra//target//tests-package//settings//org//apache//ignite//tests//persistence//primitive//ignite-remote-client-config.xml>org <smb://Ignite//modules//cassandra//target//tests-package//settings//org//apache//ignite//tests//persistence//primitive//ignite-remote-client-config.xml>\\ <smb://Ignite//modules//cassandra//target//tests-package//settings//org//apache//ignite//tests//persistence//primitive//ignite-remote-client-config.xml>apache <smb://Ignite//modules//cassandra//target//tests-package//settings//org//apache//ignite//tests//persistence//primitive//ignite-remote-client-config.xml>\\ <smb://Ignite//modules//cassandra//target//tests-package//settings//org//apache//ignite//tests//persistence//primitive//ignite-remote-client-config.xml>ignite <smb://Ignite//modules//cassandra//target//tests-package//settings//org//apache//ignite//tests//persistence//primitive//ignite-remote-client-config.xml>\\ <smb://Ignite//modules//cassandra//target//tests-package//settings//org//apache//ignite//tests//persistence//primitive//ignite-remote-client-config.xml>tests <smb://Ignite//modules//cassandra//target//tests-package//settings//org//apache//ignite//tests//persistence//primitive//ignite-remote-client-config.xml>\\ <smb://Ignite//modules//cassandra//target//tests-package//settings//org//apache//ignite//tests//persistence//primitive//ignite-remote-client-config.xml>persistence <smb://Ignite//modules//cassandra//target//tests-package//settings//org//apache//ignite//tests//persistence//primitive//ignite-remote-client-config.xml>\\ <smb://Ignite//modules//cassandra//target//tests-package//settings//org//apache//ignite//tests//persistence//primitive//ignite-remote-client-config.xml>primitive <smb://Ignite//modules//cassandra//target//tests-package//settings//org//apache//ignite//tests//persistence//primitive//ignite-remote-client-config.xml>\\ <smb://Ignite//modules//cassandra//target//tests-package//settings//org//apache//ignite//tests//persistence//primitive//ignite-remote-client-config.xml>ignite-remote-client-config.xml <smb://Ignite//modules//cassandra//target//tests-package//settings//org//apache//ignite//tests//persistence//primitive//ignite-remote-client-config.xml>";
> 
>             IgniteConfiguration cfg = new IgniteConfiguration();
> 
> 
>             // InitiateClient ic = new InitiateClient();
>             //cfg=ic.Initiate(cacheName, rootPath, cfg);
> 
>             //Igniting cluster
>             Ignite ignite = Ignition.start(configURL);
> 
>             // obtaining cache handle
>             IgniteCache<String, CodingScheme> testCache = ignite.getOrCreateCache(cacheName);
> 
> 
>             // Populate coding scheme object
>             CodingScheme cs = new CodingScheme();
>             cs.setCode("CS");
>             cs.setentryId("123");
>             cs.setTableName("CS");
>             cs.setValueDE("DE");
> 
>             testCache.put(String.valueOf(12), cs);
> 
>         }
> 
> 
>     }
> 
> 
> 
> On Fri, Jun 10, 2016 at 10:03 AM, Ashish Dutt Sharma <[hidden email] <x-msg://11/user/SendEmail.jtp?type=node&node=5568&i=0>> wrote:
> Good morning Alexey
> 
> My use case is to load a object into the cache and then see it get inserted in Cassandra. In other words a simple read and write through implementation.
> 
> I am trying to insert a custom object in cache. I have both the server and client instances up and running. Request you to please help me understand the following
> 
> 1 - Where do I provide the Cassandra keyspace and table creation details?
> 
>  2- Apart from the server config file, and the libs folder (I have placed the JAR file of the project there), is there any place else that I have to mention or refer the custom object details?
> 
> 3 - Also can you elaborate what is the difference between the credentials provided in the server/client config file  and the credentials provided in the credentials.properties file?
> 
> Please let me know if you need any further information.
> 
> Regards,
> Ashish Sharma.
> 
> 
> 
> 
> 
> 
> On Thu, Jun 9, 2016 at 11:47 PM, Ashish Dutt Sharma <[hidden email] <x-msg://11/user/SendEmail.jtp?type=node&node=5568&i=1>> wrote:
> Hi Alexey
> 
> I reinstalled Ignite on C;\Ignite and I got through.
> 
> 
> Regards.
> 
> On Thu, Jun 9, 2016 at 10:39 PM, Ashish Dutt Sharma <[hidden email] <x-msg://11/user/SendEmail.jtp?type=node&node=5568&i=2>> wrote:
> Hi Alexey
> 
> I run into the attached error after I run the ignite.bat with reference to the server config file as mentioned in Load test examples.
> 
> Could you please advise on how to get around it?
> 
> On Thu, Jun 9, 2016 at 6:10 PM, Ashish Dutt Sharma <[hidden email] <x-msg://11/user/SendEmail.jtp?type=node&node=5568&i=3>> wrote:
> I decreased the JVM size and it worked. Thank you.
> 
> Regards.
> 
> On Thu, Jun 9, 2016 at 5:57 PM, Ashish Dutt Sharma <[hidden email] <x-msg://11/user/SendEmail.jtp?type=node&node=5568&i=4>> wrote:
> Thank you Alexey. 
> 
> I am now trying to run the load tests from the source package, After building from the source and editing relevant properties, I run into the following error after I run the 'cassandra-load-tests.bat' file.
> 
> Could you please take a look at the attachment and advise on how to resolve? Please let me know if you need any further information.
> 
> Regards,
> Ashish Sharma,
> 
> On Wed, Jun 8, 2016 at 5:43 PM, Alexey Kuznetsov [via Apache Ignite Users] <[hidden email] <x-msg://11/user/SendEmail.jtp?type=node&node=5568&i=5>> wrote:
> Hi, Ashish Sharma.
> 
> Take a look at docs: https://apacheignite.readme.io/docs/overview <https://apacheignite.readme.io/docs/overview>
> As far as I see in docs https://apacheignite.readme.io/v1.6/docs/base-concepts <https://apacheignite.readme.io/v1.6/docs/base-concepts>
> there I found such note;
> ----------------
> Current implementation of org.apache.ignite.cache.store.cassandra.utils.datasource.DataSource doesn't implement Serializable,
>  thus for distributed Ignite clusters, CassandraCacheStoreFactory could only be setup through Spring XML file, but not from code
> ---------------
> 
> I think this could be fixed in next releases.
> 
> 
> 
> On Wed, Jun 8, 2016 at 10:35 PM, ChickyDutt <[hidden email] <http://user/SendEmail.jtp?type=node&node=5535&i=0>> wrote:
> Thank you Alexey.
> 
> Do you have an example where the CacheConfiguration store is configured using Java ?
> 
> Regards,
> Ashish Sharma.
> 
> On Mon, May 23, 2016 at 3:28 PM, Alexey Kuznetsov [via Apache Ignite Users] <[hidden email] <http://user/SendEmail.jtp?type=node&node=5534&i=0>> wrote:
> If you need tests - you need to download sources (https://ignite.apache.org/download.cgi#sources <https://ignite.apache.org/download.cgi#sources>).
> Also, today we released Ignite 1.6 it should be available on Maven now.
> 
> Hope this help.
> 
> On Mon, May 23, 2016 at 6:35 PM, ChickyDutt <[hidden email] <http://user/SendEmail.jtp?type=node&node=5114&i=0>> wrote:
> Mentioned below are the complete logs
> 
> class org.apache.ignite.IgniteException: Failed to instantiate Spring XML application context [springUrl=file:/C:/Users/D-UA96OU/Desktop/Ignite
> /apache-ignite-fabric-1.6.0-SNAPSHOT-bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/config/default-config.xml, err=Configuration problem: Failed t
> o import bean definitions from URL location [classpath:org/apache/ignite/tests/cassandra/connection-settings.xml]
> Offending resource: URL [file:/C:/Users/D-UA96OU/Desktop/Ignite/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin
> /config/default-config.xml]; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML docume
> nt from class path resource [org/apache/ignite/tests/cassandra/connection-settings.xml]; nested exception is java.io.FileNotFoundException: cla
> ss path resource [org/apache/ignite/tests/cassandra/connection-settings.xml] cannot be opened because it does not exist]
>   at org.apache.ignite.internal.util.IgniteUtils.convertException(IgniteUtils.java:906)
>   at org.apache.ignite.Ignition.start(Ignition.java:350)
>   at org.apache.ignite.startup.cmdline.CommandLineStartup.main(CommandLineStartup.java:302)
> Caused by: class org.apache.ignite.IgniteCheckedException: Failed to instantiate Spring XML application context [springUrl=file:/C:/Users/D-UA9
> 6OU/Desktop/Ignite/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/config/default-config.xml, err=Configuration
>  problem: Failed to import bean definitions from URL location [classpath:org/apache/ignite/tests/cassandra/connection-settings.xml]
> Offending resource: URL [file:/C:/Users/D-UA96OU/Desktop/Ignite/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin
> /config/default-config.xml]; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML docume
> nt from class path resource [org/apache/ignite/tests/cassandra/connection-settings.xml]; nested exception is java.io.FileNotFoundException: cla
> ss path resource [org/apache/ignite/tests/cassandra/connection-settings.xml] cannot be opened because it does not exist]
>   at org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.applicationContext(IgniteSpringHelperImpl.java:391)
>   at org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.loadConfigurations(IgniteSpringHelperImpl.java:104)
>   at org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.loadConfigurations(IgniteSpringHelperImpl.java:98)
>   at org.apache.ignite.internal.IgnitionEx.loadConfigurations(IgnitionEx.java:639)
>   at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:840)
>   at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:749)
>   at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:619)
>   at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:589)
>   at org.apache.ignite.Ignition.start(Ignition.java:347)
>   ... 1 more
> Caused by: org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Failed to import bean definitions f
> rom URL location [classpath:org/apache/ignite/tests/cassandra/connection-settings.xml]
> Offending resource: URL [file:/C:/Users/D-UA96OU/Desktop/Ignite/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin
> /config/default-config.xml]; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML docume
> nt from class path resource [org/apache/ignite/tests/cassandra/connection-settings.xml]; nested exception is java.io.FileNotFoundException: cla
> ss path resource [org/apache/ignite/tests/cassandra/connection-settings.xml] cannot be opened because it does not exist
>   at org.springframework.beans.factory.parsing.FailFastProblemReporter.error(FailFastProblemReporter.java:70)
>   at org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:85)
>   at org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:76)
>   at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.importBeanDefinitionResource(DefaultBeanDefinitionDocument
> Reader.java:250)
>   at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseDefaultElement(DefaultBeanDefinitionDocumentReader.ja
> va:201)
>   at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.j
> ava:186)
>   at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.doRegisterBeanDefinitions(DefaultBeanDefinitionDocumentRea
> der.java:143)
>   at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReade
> r.java:110)
>   at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:508)
>   at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:391)
>   at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:335)
>   at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:303)
>   at org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.applicationContext(IgniteSpringHelperImpl.java:379)
>   ... 9 more
> Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [org/apach
> e/ignite/tests/cassandra/connection-settings.xml]; nested exception is java.io.FileNotFoundException: class path resource [org/apache/ignite/te
> sts/cassandra/connection-settings.xml] cannot be opened because it does not exist
>   at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:343)
>   at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:303)
>   at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:180)
>   at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:216)
>   at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.importBeanDefinitionResource(DefaultBeanDefinitionDocument
> Reader.java:244)
>   ... 18 more
> Caused by: java.io.FileNotFoundException: class path resource [org/apache/ignite/tests/cassandra/connection-settings.xml] cannot be opened beca
> use it does not exist
>   at org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:172)
>   at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:329)
>   ... 22 more
> Failed to start grid: Failed to instantiate Spring XML application context [springUrl=file:/C:/Users/D-UA96OU/Desktop/Ignite/apache-ignite-fabr
> ic-1.6.0-SNAPSHOT-bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/config/default-config.xml, err=Configuration problem: Failed to import bean defin
> itions from URL location [classpath:org/apache/ignite/tests/cassandra/connection-settings.xml]
> Offending resource: URL [file:/C:/Users/D-UA96OU/Desktop/Ignite/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin
> /config/default-config.xml]; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML docume
> nt from class path resource [org/apache/ignite/tests/cassandra/connection-settings.xml]; nested exception is java.io.FileNotFoundException: cla
> ss path resource [org/apache/ignite/tests/cassandra/connection-settings.xml] cannot be opened because it does not exist]
> Press any key to continue . . .
> 
> On Mon, May 23, 2016 at 1:41 PM, Ashish Dutt Sharma <[hidden email] <http://user/SendEmail.jtp?type=node&node=5097&i=0>> wrote:
> Thank you Alexey.
> 
> I am unable to locate the test resources like the ignite configuration files and the persistent descriptors in the package. Could you please help me find them?
> 
> I downloadedapache-ignite-fabric-1.6.0-SNAPSHOT-bin.zip <https://builds.apache.org/view/H-L/view/Ignite/job/Ignite-nightly/lastSuccessfulBuild/artifact/target/bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin.zip>from the linkhttps://builds.apache.org/view/H-L/view/Ignite/job/Ignite-nightly/lastSuccessfulBuild/ <https://builds.apache.org/view/H-L/view/Ignite/job/Ignite-nightly/lastSuccessfulBuild/>
> as the latest nightly version and then explored the ignite-Cassandra module in the lib folder.
> 
> I then downloaded theignite-cassandra-1.6.0-SNAPSHOT.jar <https://builds.apache.org/view/H-L/view/Ignite/job/Ignite-nightly/lastSuccessfulBuild/org.apache.ignite$ignite-cassandra/artifact/org.apache.ignite/ignite-cassandra/1.6.0-SNAPSHOT/ignite-cassandra-1.6.0-SNAPSHOT.jar>module from the linkhttps://builds.apache.org/view/H-L/view/Ignite/job/Ignite-nightly/lastSuccessfulBuild/org.apache.ignite$ignite-cassandra/ <https://builds.apache.org/view/H-L/view/Ignite/job/Ignite-nightly/lastSuccessfulBuild/org.apache.ignite$ignite-cassandra/>but still could not find any test resources in it.
> 
> When I try to start a node with the configuration file present on the linkhttps://github.com/irudyak/ignite/wiki/Examples <https://github.com/irudyak/ignite/wiki/Examples>
> 
> I run into the below error..
> 
> nested exception is org.springframework.beans.factory.BeanDefinitionS
> eException: IOException parsing XML document from class path resource [org/apache/ignite/tests/cassandra/connection-settings.xml]; nested ex
> tion is java.io.FileNotFoundException: class path resource [org/apache/ignite/tests/cassandra/connection-settings.xml] cannot be opened beca
>  it does not exist]
>   at org.apache.ignite.internal.util.IgniteUtils.convertException(IgniteUtils.java:900)
>   at org.apache.ignite.Ignition.start(Ignition.java:350)
>   at org.apache.ignite.startup.cmdline.CommandLineStartup.main(CommandLineStartup.java:302)
> 
> I understand the problem lies in finding the below resources in the ignite configuration file.
> 
> <!-- Cassandra connection settings -->
>   <import resource="classpath:org/apache/ignite/tests/cassandra/connection-settings.xml" />
>   <!-- Persistence settings for 'cache1' -->
>   <bean id="cache1_persistence_settings" class="org.apache.ignite.cache.store.cassandra.utils.persistence.KeyValuePersistenceSettings">
>   <constructor-arg type="org.springframework.core.io.Resource" value="classpath:org/apache/ignite/tests/persistence/blob/persistence-settings-1.xml" />
>   </bean>
>   <!-- Persistence settings for 'cache2' -->
>   <bean id="cache2_persistence_settings" class="org.apache.ignite.cache.store.cassandra.utils.persistence.KeyValuePersistenceSettings">
>   <constructor-arg type="org.springframework.core.io.Resource" value="classpath:org/apache/ignite/tests/persistence/blob/persistence-settings-3.xml" />
>   </bean>
> 
> 
> Could you please help me fill the gap by explaining if there is another module that I should be working with or should there be any updates made? Please let me know if you need any further information.
> 
> Regards.
> 
> 
> On Fri, May 20, 2016 at 10:19 AM, Alexey Kuznetsov [via Apache Ignite Users] <[hidden email] <http://user/SendEmail.jtp?type=node&node=5097&i=1>>wrote:
> If release vote will be successful then ignite-1.6 will be released next week.
> If not then it may take some time to fix issues and re-vote.
> 
> Documentation may be added later, but for now you may use unofficial docs
>  from ignite-cassandra module contributor seehttps://github.com/irudyak/ignite/wiki <https://github.com/irudyak/ignite/wiki>
> 
> Also, you may use latest nightly build and do not wait for release.
>  https://ignite.apache.org/community/contribute.html#nightly-builds <https://ignite.apache.org/community/contribute.html#nightly-builds>
> 
> Hope this help.
> 
> On Fri, May 20, 2016 at 2:51 PM, ChickyDutt <[hidden email] <http://user/SendEmail.jtp?type=node&node=5049&i=0>> wrote:
> And as conveyed earlier, you expect Ignite 1.6 to be released next week with the documentation for the if Cassandra module. Please correct me if I am wrong.
> 
> On 20 May 2016 9:57 a.m., "Alexey Kuznetsov [via Apache Ignite Users]" <[hidden email] <http://user/SendEmail.jtp?type=node&node=5048&i=0>> wrote:
> Hi Chicky D.!
> 
> About you first question about example - take a look for org.apache.ignite.tests.IgnitePersistentStoreTest - it use some xml configs.
> 
> >> In addition to my previous query, Could you also help me understand if the patch file available on the below link is likely to undergo any further changes until the final release?
> >>https://issues.apache.org/jira/browse/IGNITE-1371 <https://issues.apache.org/jira/browse/IGNITE-1371>
> 
> No, this issue is merged into ignite-1.6 and issue is closed (sorry, I forgot to do it before).
> 
> But you may open new issues in JIRA if you want.
> 
> --
> Alexey Kuznetsov
> GridGain Systems
> www.gridgain.com <http://www.gridgain.com/>
> 
> 
> If you reply to this email, your message will be added to the discussion below:
> http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5047.html <http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5047.html>
> To start a new topic under Apache Ignite Users, email[hidden email] <http://user/SendEmail.jtp?type=node&node=5048&i=1>
> To unsubscribe from Apache Ignite Users,click here <>.
> NAML <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
> 
> View this message in context:Re: Persistence using Cassandra <http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5048.html>
> Sent from theApache Ignite Users mailing list archive <http://apache-ignite-users.70518.x6.nabble.com/>at Nabble.com.
> 
> 
> 
> --
> Alexey Kuznetsov
> GridGain Systems
> www.gridgain.com <http://www.gridgain.com/>
> 
> 
> If you reply to this email, your message will be added to the discussion below:
> http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5049.html <http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5049.html>
> To start a new topic under Apache Ignite Users, email[hidden email] <http://user/SendEmail.jtp?type=node&node=5097&i=2>
> To unsubscribe from Apache Ignite Users,click here <>.
> NAML <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
> 
> 
> View this message in context:Re: Persistence using Cassandra <http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5097.html>
> Sent from theApache Ignite Users mailing list archive <http://apache-ignite-users.70518.x6.nabble.com/>at Nabble.com.
> 
> 
> 
> --
> Alexey Kuznetsov
> GridGain Systems
> www.gridgain.com <http://www.gridgain.com/>
> 
> 
> If you reply to this email, your message will be added to the discussion below:
> http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5114.html <http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5114.html>
> To start a new topic under Apache Ignite Users, email[hidden email] <http://user/SendEmail.jtp?type=node&node=5534&i=1>
> To unsubscribe from Apache Ignite Users,click here <>.
> NAML <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
> 
> View this message in context:Re: Persistence using Cassandra <http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5534.html>
> Sent from theApache Ignite Users mailing list archive <http://apache-ignite-users.70518.x6.nabble.com/>at Nabble.com.
> 
> 
> 
> -- 
> Alexey Kuznetsov
> GridGain Systems
> www.gridgain.com <http://www.gridgain.com/>
> 
> 
> If you reply to this email, your message will be added to the discussion below:
> http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5535.html <http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5535.html>
> To start a new topic under Apache Ignite Users, email [hidden email] <x-msg://11/user/SendEmail.jtp?type=node&node=5568&i=6> 
> To unsubscribe from Apache Ignite Users, click here <applewebdata://C21C71F1-D117-4851-BDB4-50E6A174EEC3>.
> NAML <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
> 
> 
> 
> 
> 
> 
> View this message in context: Re: Persistence using Cassandra <http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5568.html>
> Sent from the Apache Ignite Users mailing list archive <http://apache-ignite-users.70518.x6.nabble.com/> at Nabble.com <http://nabble.com/>.


Re: Persistence using Cassandra

Posted by ChickyDutt <as...@gmail.com>.
More info pertaining to the questions in the previous mails.

I get the below exception when I try to do a put into the server cache .

Exception in thread "main"
org.apache.ignite.cache.CachePartialUpdateException: Failed to update keys
(retry update if possible).: [12]
 at
org.apache.ignite.internal.processors.cache.GridCacheUtils.convertToCacheException(GridCacheUtils.java:1464)
 at
org.apache.ignite.internal.processors.cache.IgniteCacheProxy.cacheException(IgniteCacheProxy.java:1972)
 at
org.apache.ignite.internal.processors.cache.IgniteCacheProxy.put(IgniteCacheProxy.java:1172)
 at CassandraTest.main(CassandraTest.java:39)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
 at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:498)
 at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
Caused by: class
org.apache.ignite.internal.processors.cache.CachePartialUpdateCheckedException:
Failed to update keys (retry update if possible).: [12]
 at
org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridNearAtomicSingleUpdateFuture.onResult(GridNearAtomicSingleUpdateFuture.java:224)
 at
org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache.processNearAtomicUpdateResponse(GridDhtAtomicCache.java:2959)
 at
org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache.access$700(GridDhtAtomicCache.java:129)
 at
org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache$6.apply(GridDhtAtomicCache.java:266)
 at
org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache$6.apply(GridDhtAtomicCache.java:264)
 at
org.apache.ignite.internal.processors.cache.GridCacheIoManager.processMessage(GridCacheIoManager.java:622)
 at
org.apache.ignite.internal.processors.cache.GridCacheIoManager.onMessage0(GridCacheIoManager.java:320)
 at
org.apache.ignite.internal.processors.cache.GridCacheIoManager.handleMessage(GridCacheIoManager.java:244)
 at
org.apache.ignite.internal.processors.cache.GridCacheIoManager.access$000(GridCacheIoManager.java:81)
 at
org.apache.ignite.internal.processors.cache.GridCacheIoManager$1.onMessage(GridCacheIoManager.java:203)
 at
org.apache.ignite.internal.managers.communication.GridIoManager.invokeListener(GridIoManager.java:1219)
 at
org.apache.ignite.internal.managers.communication.GridIoManager.processRegularMessage0(GridIoManager.java:847)
 at
org.apache.ignite.internal.managers.communication.GridIoManager.access$1700(GridIoManager.java:105)
 at
org.apache.ignite.internal.managers.communication.GridIoManager$5.run(GridIoManager.java:810)
 at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
 at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
 at java.lang.Thread.run(Thread.java:745)
 Suppressed: class org.apache.ignite.IgniteCheckedException: Failed to
update keys on primary node.
  at
org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridNearAtomicUpdateResponse.addFailedKeys(GridNearAtomicUpdateResponse.java:369)
  at
org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache.updateAllAsyncInternal0(GridDhtAtomicCache.java:1713)
  at
org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache.updateAllAsyncInternal(GridDhtAtomicCache.java:1484)
  at
org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache.processNearAtomicUpdateRequest(GridDhtAtomicCache.java:2940)
  at
org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache.access$600(GridDhtAtomicCache.java:129)
  at
org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache$5.apply(GridDhtAtomicCache.java:260)
  at
org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache$5.apply(GridDhtAtomicCache.java:258)
  ... 12 more
  Suppressed: class org.apache.ignite.binary.BinaryInvalidTypeException:
CodingScheme
   at
org.apache.ignite.internal.binary.BinaryContext.descriptorForTypeId(BinaryContext.java:608)
   at
org.apache.ignite.internal.binary.BinaryReaderExImpl.deserialize(BinaryReaderExImpl.java:1474)
   at
org.apache.ignite.internal.binary.BinaryObjectImpl.deserializeValue(BinaryObjectImpl.java:572)
   at
org.apache.ignite.internal.binary.BinaryObjectImpl.value(BinaryObjectImpl.java:131)
   at
org.apache.ignite.internal.processors.cache.CacheObjectContext.unwrapBinary(CacheObjectContext.java:257)
   at
org.apache.ignite.internal.processors.cache.CacheObjectContext.unwrapBinaryIfNeeded(CacheObjectContext.java:148)
   at
org.apache.ignite.internal.processors.cache.CacheObjectContext.unwrapBinaryIfNeeded(CacheObjectContext.java:135)
   at
org.apache.ignite.internal.processors.cache.GridCacheContext.unwrapBinaryIfNeeded(GridCacheContext.java:1732)
   at
org.apache.ignite.internal.processors.cache.store.GridCacheStoreManagerAdapter.put(GridCacheStoreManagerAdapter.java:565)
   at
org.apache.ignite.internal.processors.cache.GridCacheMapEntry.innerUpdate(GridCacheMapEntry.java:2358)
   at
org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache.updateSingle(GridDhtAtomicCache.java:2246)
   at
org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache.updateAllAsyncInternal0(GridDhtAtomicCache.java:1644)
   ... 17 more
  Caused by: java.lang.ClassNotFoundException: CodingScheme
   at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
   at java.lang.Class.forName0(Native Method)
   at java.lang.Class.forName(Class.java:348)
   at
org.apache.ignite.internal.util.IgniteUtils.forName(IgniteUtils.java:8250)
   at
org.apache.ignite.internal.MarshallerContextAdapter.getClass(MarshallerContextAdapter.java:185)
   at
org.apache.ignite.internal.binary.BinaryContext.descriptorForTypeId(BinaryContext.java:599)
   ... 28 more


Source code

public class CassandraTest {


        public static void main(String[] args) throws Exception {


            String cacheName = "cache1";

            String configURL =
"C:\\Ignite\\modules\\cassandra\\target\\tests-package\\settings\\org\\apache\\ignite\\tests\\persistence\\primitive\\ignite-remote-client-config.xml";

            IgniteConfiguration cfg = new IgniteConfiguration();


            // InitiateClient ic = new InitiateClient();
            //cfg=ic.Initiate(cacheName, rootPath, cfg);

            //Igniting cluster
            Ignite ignite = Ignition.start(configURL);

            // obtaining cache handle
            IgniteCache<String, CodingScheme> testCache =
ignite.getOrCreateCache(cacheName);


            // Populate coding scheme object
            CodingScheme cs = new CodingScheme();
            cs.setCode("CS");
            cs.setentryId("123");
            cs.setTableName("CS");
            cs.setValueDE("DE");

            testCache.put(String.valueOf(12), cs);

        }


    }



On Fri, Jun 10, 2016 at 10:03 AM, Ashish Dutt Sharma <
ash.dutt.sharma@gmail.com> wrote:

> Good morning Alexey
>
> My use case is to load a object into the cache and then see it get
> inserted in Cassandra. In other words a simple read and write through
> implementation.
>
> I am trying to insert a custom object in cache. I have both the server and
> client instances up and running. Request you to please help me understand
> the following
>
> 1 - Where do I provide the Cassandra keyspace and table creation details?
>
>  2- Apart from the server config file, and the libs folder (I have placed
> the JAR file of the project there), is there any place else that I have to
> mention or refer the custom object details?
>
> 3 - Also can you elaborate what is the difference between the credentials
> provided in the server/client config file  and the credentials provided in
> the credentials.properties file?
>
> Please let me know if you need any further information.
>
> Regards,
> Ashish Sharma.
>
>
>
>
>
>
> On Thu, Jun 9, 2016 at 11:47 PM, Ashish Dutt Sharma <
> ash.dutt.sharma@gmail.com> wrote:
>
>> Hi Alexey
>>
>> I reinstalled Ignite on C;\Ignite and I got through.
>>
>>
>> Regards.
>>
>> On Thu, Jun 9, 2016 at 10:39 PM, Ashish Dutt Sharma <
>> ash.dutt.sharma@gmail.com> wrote:
>>
>>> Hi Alexey
>>>
>>> I run into the attached error after I run the ignite.bat with reference
>>> to the server config file as mentioned in Load test examples.
>>>
>>> Could you please advise on how to get around it?
>>>
>>> On Thu, Jun 9, 2016 at 6:10 PM, Ashish Dutt Sharma <
>>> ash.dutt.sharma@gmail.com> wrote:
>>>
>>>> I decreased the JVM size and it worked. Thank you.
>>>>
>>>> Regards.
>>>>
>>>> On Thu, Jun 9, 2016 at 5:57 PM, Ashish Dutt Sharma <
>>>> ash.dutt.sharma@gmail.com> wrote:
>>>>
>>>>> Thank you Alexey.
>>>>>
>>>>> I am now trying to run the load tests from the source package, After
>>>>> building from the source and editing relevant properties, I run into the
>>>>> following error after I run the 'cassandra-load-tests.bat' file.
>>>>>
>>>>> Could you please take a look at the attachment and advise on how to
>>>>> resolve? Please let me know if you need any further information.
>>>>>
>>>>> Regards,
>>>>> Ashish Sharma,
>>>>>
>>>>> On Wed, Jun 8, 2016 at 5:43 PM, Alexey Kuznetsov [via Apache Ignite
>>>>> Users] <ml...@n6.nabble.com> wrote:
>>>>>
>>>>>> Hi, Ashish Sharma.
>>>>>>
>>>>>> Take a look at docs: https://apacheignite.readme.io/docs/overview
>>>>>> As far as I see in docs
>>>>>> https://apacheignite.readme.io/v1.6/docs/base-concepts
>>>>>> there I found such note;
>>>>>> ----------------
>>>>>> Current implementation of
>>>>>> org.apache.ignite.cache.store.cassandra.utils.datasource.DataSource doesn't
>>>>>> implement Serializable,
>>>>>>  thus for distributed Ignite clusters, CassandraCacheStoreFactory
>>>>>> could only be setup through Spring XML file, but not from code
>>>>>> ---------------
>>>>>>
>>>>>> I think this could be fixed in next releases.
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Wed, Jun 8, 2016 at 10:35 PM, ChickyDutt <[hidden email]
>>>>>> <http:///user/SendEmail.jtp?type=node&node=5535&i=0>> wrote:
>>>>>>
>>>>>>> Thank you Alexey.
>>>>>>>
>>>>>>> Do you have an example where the CacheConfiguration store is
>>>>>>> configured using Java ?
>>>>>>>
>>>>>>> Regards,
>>>>>>> Ashish Sharma.
>>>>>>>
>>>>>>> On Mon, May 23, 2016 at 3:28 PM, Alexey Kuznetsov [via Apache Ignite
>>>>>>> Users] <[hidden email]
>>>>>>> <http:///user/SendEmail.jtp?type=node&node=5534&i=0>> wrote:
>>>>>>>
>>>>>>>> If you need tests - you need to download sources (
>>>>>>>> https://ignite.apache.org/download.cgi#sources).
>>>>>>>> Also, today we released Ignite 1.6 it should be available on Maven
>>>>>>>> now.
>>>>>>>>
>>>>>>>> Hope this help.
>>>>>>>>
>>>>>>>> On Mon, May 23, 2016 at 6:35 PM, ChickyDutt <[hidden email]
>>>>>>>> <http:///user/SendEmail.jtp?type=node&node=5114&i=0>> wrote:
>>>>>>>>
>>>>>>>>> Mentioned below are the complete logs
>>>>>>>>>
>>>>>>>>> class org.apache.ignite.IgniteException: Failed to instantiate
>>>>>>>>> Spring XML application context
>>>>>>>>> [springUrl=file:/C:/Users/D-UA96OU/Desktop/Ignite
>>>>>>>>> /apache-ignite-fabric-1.6.0-SNAPSHOT-bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/config/default-config.xml,
>>>>>>>>> err=Configuration problem: Failed t
>>>>>>>>> o import bean definitions from URL location
>>>>>>>>> [classpath:org/apache/ignite/tests/cassandra/connection-settings.xml]
>>>>>>>>> Offending resource: URL
>>>>>>>>> [file:/C:/Users/D-UA96OU/Desktop/Ignite/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin
>>>>>>>>> /config/default-config.xml]; nested exception is
>>>>>>>>> org.springframework.beans.factory.BeanDefinitionStoreException: IOException
>>>>>>>>> parsing XML docume
>>>>>>>>> nt from class path resource
>>>>>>>>> [org/apache/ignite/tests/cassandra/connection-settings.xml]; nested
>>>>>>>>> exception is java.io.FileNotFoundException: cla
>>>>>>>>> ss path resource
>>>>>>>>> [org/apache/ignite/tests/cassandra/connection-settings.xml] cannot be
>>>>>>>>> opened because it does not exist]
>>>>>>>>>         at
>>>>>>>>> org.apache.ignite.internal.util.IgniteUtils.convertException(IgniteUtils.java:906)
>>>>>>>>>         at org.apache.ignite.Ignition.start(Ignition.java:350)
>>>>>>>>>         at
>>>>>>>>> org.apache.ignite.startup.cmdline.CommandLineStartup.main(CommandLineStartup.java:302)
>>>>>>>>> Caused by: class org.apache.ignite.IgniteCheckedException: Failed
>>>>>>>>> to instantiate Spring XML application context
>>>>>>>>> [springUrl=file:/C:/Users/D-UA9
>>>>>>>>> 6OU/Desktop/Ignite/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/config/default-config.xml,
>>>>>>>>> err=Configuration
>>>>>>>>>  problem: Failed to import bean definitions from URL location
>>>>>>>>> [classpath:org/apache/ignite/tests/cassandra/connection-settings.xml]
>>>>>>>>> Offending resource: URL
>>>>>>>>> [file:/C:/Users/D-UA96OU/Desktop/Ignite/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin
>>>>>>>>> /config/default-config.xml]; nested exception is
>>>>>>>>> org.springframework.beans.factory.BeanDefinitionStoreException: IOException
>>>>>>>>> parsing XML docume
>>>>>>>>> nt from class path resource
>>>>>>>>> [org/apache/ignite/tests/cassandra/connection-settings.xml]; nested
>>>>>>>>> exception is java.io.FileNotFoundException: cla
>>>>>>>>> ss path resource
>>>>>>>>> [org/apache/ignite/tests/cassandra/connection-settings.xml] cannot be
>>>>>>>>> opened because it does not exist]
>>>>>>>>>         at
>>>>>>>>> org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.applicationContext(IgniteSpringHelperImpl.java:391)
>>>>>>>>>         at
>>>>>>>>> org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.loadConfigurations(IgniteSpringHelperImpl.java:104)
>>>>>>>>>         at
>>>>>>>>> org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.loadConfigurations(IgniteSpringHelperImpl.java:98)
>>>>>>>>>         at
>>>>>>>>> org.apache.ignite.internal.IgnitionEx.loadConfigurations(IgnitionEx.java:639)
>>>>>>>>>         at
>>>>>>>>> org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:840)
>>>>>>>>>         at
>>>>>>>>> org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:749)
>>>>>>>>>         at
>>>>>>>>> org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:619)
>>>>>>>>>         at
>>>>>>>>> org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:589)
>>>>>>>>>         at org.apache.ignite.Ignition.start(Ignition.java:347)
>>>>>>>>>         ... 1 more
>>>>>>>>> Caused by:
>>>>>>>>> org.springframework.beans.factory.parsing.BeanDefinitionParsingException:
>>>>>>>>> Configuration problem: Failed to import bean definitions f
>>>>>>>>> rom URL location
>>>>>>>>> [classpath:org/apache/ignite/tests/cassandra/connection-settings.xml]
>>>>>>>>> Offending resource: URL
>>>>>>>>> [file:/C:/Users/D-UA96OU/Desktop/Ignite/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin
>>>>>>>>> /config/default-config.xml]; nested exception is
>>>>>>>>> org.springframework.beans.factory.BeanDefinitionStoreException: IOException
>>>>>>>>> parsing XML docume
>>>>>>>>> nt from class path resource
>>>>>>>>> [org/apache/ignite/tests/cassandra/connection-settings.xml]; nested
>>>>>>>>> exception is java.io.FileNotFoundException: cla
>>>>>>>>> ss path resource
>>>>>>>>> [org/apache/ignite/tests/cassandra/connection-settings.xml] cannot be
>>>>>>>>> opened because it does not exist
>>>>>>>>>         at
>>>>>>>>> org.springframework.beans.factory.parsing.FailFastProblemReporter.error(FailFastProblemReporter.java:70)
>>>>>>>>>         at
>>>>>>>>> org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:85)
>>>>>>>>>         at
>>>>>>>>> org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:76)
>>>>>>>>>         at
>>>>>>>>> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.importBeanDefinitionResource(DefaultBeanDefinitionDocument
>>>>>>>>> Reader.java:250)
>>>>>>>>>         at
>>>>>>>>> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseDefaultElement(DefaultBeanDefinitionDocumentReader.ja
>>>>>>>>> va:201)
>>>>>>>>>         at
>>>>>>>>> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.j
>>>>>>>>> ava:186)
>>>>>>>>>         at
>>>>>>>>> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.doRegisterBeanDefinitions(DefaultBeanDefinitionDocumentRea
>>>>>>>>> der.java:143)
>>>>>>>>>         at
>>>>>>>>> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReade
>>>>>>>>> r.java:110)
>>>>>>>>>         at
>>>>>>>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:508)
>>>>>>>>>         at
>>>>>>>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:391)
>>>>>>>>>         at
>>>>>>>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:335)
>>>>>>>>>         at
>>>>>>>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:303)
>>>>>>>>>         at
>>>>>>>>> org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.applicationContext(IgniteSpringHelperImpl.java:379)
>>>>>>>>>         ... 9 more
>>>>>>>>> Caused by:
>>>>>>>>> org.springframework.beans.factory.BeanDefinitionStoreException: IOException
>>>>>>>>> parsing XML document from class path resource [org/apach
>>>>>>>>> e/ignite/tests/cassandra/connection-settings.xml]; nested
>>>>>>>>> exception is java.io.FileNotFoundException: class path resource
>>>>>>>>> [org/apache/ignite/te
>>>>>>>>> sts/cassandra/connection-settings.xml] cannot be opened because it
>>>>>>>>> does not exist
>>>>>>>>>         at
>>>>>>>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:343)
>>>>>>>>>         at
>>>>>>>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:303)
>>>>>>>>>         at
>>>>>>>>> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:180)
>>>>>>>>>         at
>>>>>>>>> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:216)
>>>>>>>>>         at
>>>>>>>>> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.importBeanDefinitionResource(DefaultBeanDefinitionDocument
>>>>>>>>> Reader.java:244)
>>>>>>>>>         ... 18 more
>>>>>>>>> Caused by: java.io.FileNotFoundException: class path resource
>>>>>>>>> [org/apache/ignite/tests/cassandra/connection-settings.xml] cannot be
>>>>>>>>> opened beca
>>>>>>>>> use it does not exist
>>>>>>>>>         at
>>>>>>>>> org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:172)
>>>>>>>>>         at
>>>>>>>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:329)
>>>>>>>>>         ... 22 more
>>>>>>>>> Failed to start grid: Failed to instantiate Spring XML application
>>>>>>>>> context [springUrl=file:/C:/Users/D-UA96OU/Desktop/Ignite/apache-ignite-fabr
>>>>>>>>> ic-1.6.0-SNAPSHOT-bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/config/default-config.xml,
>>>>>>>>> err=Configuration problem: Failed to import bean defin
>>>>>>>>> itions from URL location
>>>>>>>>> [classpath:org/apache/ignite/tests/cassandra/connection-settings.xml]
>>>>>>>>> Offending resource: URL
>>>>>>>>> [file:/C:/Users/D-UA96OU/Desktop/Ignite/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin
>>>>>>>>> /config/default-config.xml]; nested exception is
>>>>>>>>> org.springframework.beans.factory.BeanDefinitionStoreException: IOException
>>>>>>>>> parsing XML docume
>>>>>>>>> nt from class path resource
>>>>>>>>> [org/apache/ignite/tests/cassandra/connection-settings.xml]; nested
>>>>>>>>> exception is java.io.FileNotFoundException: cla
>>>>>>>>> ss path resource
>>>>>>>>> [org/apache/ignite/tests/cassandra/connection-settings.xml] cannot be
>>>>>>>>> opened because it does not exist]
>>>>>>>>> Press any key to continue . . .
>>>>>>>>>
>>>>>>>>> On Mon, May 23, 2016 at 1:41 PM, Ashish Dutt Sharma <[hidden
>>>>>>>>> email] <http:///user/SendEmail.jtp?type=node&node=5097&i=0>>
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>> Thank you Alexey.
>>>>>>>>>>
>>>>>>>>>> I am unable to locate the test resources like the ignite
>>>>>>>>>> configuration files and the persistent descriptors in the package. Could
>>>>>>>>>> you please help me find them?
>>>>>>>>>>
>>>>>>>>>> I downloaded apache-ignite-fabric-1.6.0-SNAPSHOT-bin.zip
>>>>>>>>>> <https://builds.apache.org/view/H-L/view/Ignite/job/Ignite-nightly/lastSuccessfulBuild/artifact/target/bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin.zip> from
>>>>>>>>>> the link
>>>>>>>>>> https://builds.apache.org/view/H-L/view/Ignite/job/Ignite-nightly/lastSuccessfulBuild/
>>>>>>>>>> as the latest nightly version and then explored the
>>>>>>>>>> ignite-Cassandra module in the lib folder.
>>>>>>>>>>
>>>>>>>>>> I then downloaded the ignite-cassandra-1.6.0-SNAPSHOT.jar
>>>>>>>>>> <https://builds.apache.org/view/H-L/view/Ignite/job/Ignite-nightly/lastSuccessfulBuild/org.apache.ignite$ignite-cassandra/artifact/org.apache.ignite/ignite-cassandra/1.6.0-SNAPSHOT/ignite-cassandra-1.6.0-SNAPSHOT.jar> module
>>>>>>>>>> from the link
>>>>>>>>>> https://builds.apache.org/view/H-L/view/Ignite/job/Ignite-nightly/lastSuccessfulBuild/org.apache.ignite$ignite-cassandra/
>>>>>>>>>> but still could not find any test resources in it.
>>>>>>>>>>
>>>>>>>>>> When I try to start a node with the configuration file present on
>>>>>>>>>> the link https://github.com/irudyak/ignite/wiki/Examples
>>>>>>>>>>
>>>>>>>>>> I run into the below error..
>>>>>>>>>>
>>>>>>>>>> nested exception is
>>>>>>>>>> org.springframework.beans.factory.BeanDefinitionS
>>>>>>>>>> eException: IOException parsing XML document from class path
>>>>>>>>>> resource [org/apache/ignite/tests/cassandra/connection-settings.xml];
>>>>>>>>>> nested ex
>>>>>>>>>> tion is java.io.FileNotFoundException: class path resource
>>>>>>>>>> [org/apache/ignite/tests/cassandra/connection-settings.xml] cannot be
>>>>>>>>>> opened beca
>>>>>>>>>>  it does not exist]
>>>>>>>>>>         at
>>>>>>>>>> org.apache.ignite.internal.util.IgniteUtils.convertException(IgniteUtils.java:900)
>>>>>>>>>>         at org.apache.ignite.Ignition.start(Ignition.java:350)
>>>>>>>>>>         at
>>>>>>>>>> org.apache.ignite.startup.cmdline.CommandLineStartup.main(CommandLineStartup.java:302)
>>>>>>>>>>
>>>>>>>>>> I understand the problem lies in finding the below resources in
>>>>>>>>>> the ignite configuration file.
>>>>>>>>>>
>>>>>>>>>> <!-- Cassandra connection settings -->
>>>>>>>>>>     <import
>>>>>>>>>> resource="classpath:org/apache/ignite/tests/cassandra/connection-settings.xml"
>>>>>>>>>> />
>>>>>>>>>>     <!-- Persistence settings for 'cache1' -->
>>>>>>>>>>     <bean id="cache1_persistence_settings"
>>>>>>>>>> class="org.apache.ignite.cache.store.cassandra.utils.persistence.KeyValuePersistenceSettings">
>>>>>>>>>>         <constructor-arg
>>>>>>>>>> type="org.springframework.core.io.Resource"
>>>>>>>>>> value="classpath:org/apache/ignite/tests/persistence/blob/persistence-settings-1.xml"
>>>>>>>>>> />
>>>>>>>>>>     </bean>
>>>>>>>>>>     <!-- Persistence settings for 'cache2' -->
>>>>>>>>>>     <bean id="cache2_persistence_settings"
>>>>>>>>>> class="org.apache.ignite.cache.store.cassandra.utils.persistence.KeyValuePersistenceSettings">
>>>>>>>>>>         <constructor-arg
>>>>>>>>>> type="org.springframework.core.io.Resource"
>>>>>>>>>> value="classpath:org/apache/ignite/tests/persistence/blob/persistence-settings-3.xml"
>>>>>>>>>> />
>>>>>>>>>>     </bean>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Could you please help me fill the gap by explaining if there is
>>>>>>>>>> another module that I should be working with or should there be any updates
>>>>>>>>>> made? Please let me know if you need any further information.
>>>>>>>>>>
>>>>>>>>>> Regards.
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Fri, May 20, 2016 at 10:19 AM, Alexey Kuznetsov [via Apache
>>>>>>>>>> Ignite Users] <[hidden email]
>>>>>>>>>> <http:///user/SendEmail.jtp?type=node&node=5097&i=1>> wrote:
>>>>>>>>>>
>>>>>>>>>>> If release vote will be successful then ignite-1.6 will be
>>>>>>>>>>> released next week.
>>>>>>>>>>> If not then it may take some time to fix issues and re-vote.
>>>>>>>>>>>
>>>>>>>>>>> Documentation may be added later, but for now you may use
>>>>>>>>>>> unofficial docs
>>>>>>>>>>>  from ignite-cassandra module contributor see
>>>>>>>>>>> https://github.com/irudyak/ignite/wiki
>>>>>>>>>>>
>>>>>>>>>>> Also, you may use latest nightly build and do not wait for
>>>>>>>>>>> release.
>>>>>>>>>>>
>>>>>>>>>>> https://ignite.apache.org/community/contribute.html#nightly-builds
>>>>>>>>>>>
>>>>>>>>>>> Hope this help.
>>>>>>>>>>>
>>>>>>>>>>> On Fri, May 20, 2016 at 2:51 PM, ChickyDutt <[hidden email]
>>>>>>>>>>> <http:///user/SendEmail.jtp?type=node&node=5049&i=0>> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> And as conveyed earlier, you expect Ignite 1.6 to be released
>>>>>>>>>>>> next week with the documentation for the if Cassandra module. Please
>>>>>>>>>>>> correct me if I am wrong.
>>>>>>>>>>>> On 20 May 2016 9:57 a.m., "Alexey Kuznetsov [via Apache Ignite
>>>>>>>>>>>> Users]" <[hidden email]
>>>>>>>>>>>> <http:///user/SendEmail.jtp?type=node&node=5048&i=0>> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> Hi Chicky D.!
>>>>>>>>>>>>>
>>>>>>>>>>>>> About you first question about example - take a look
>>>>>>>>>>>>> for org.apache.ignite.tests.IgnitePersistentStoreTest - it use some xml
>>>>>>>>>>>>> configs.
>>>>>>>>>>>>>
>>>>>>>>>>>>> >> In addition to my previous query, Could you also help me
>>>>>>>>>>>>> understand if the patch file available on the below link is likely to
>>>>>>>>>>>>> undergo any further changes until the final release?
>>>>>>>>>>>>> >> https://issues.apache.org/jira/browse/IGNITE-1371
>>>>>>>>>>>>>
>>>>>>>>>>>>> No, this issue is merged into ignite-1.6  and issue is closed
>>>>>>>>>>>>> (sorry, I forgot to do it before).
>>>>>>>>>>>>>
>>>>>>>>>>>>> But you may open new issues in JIRA if you want.
>>>>>>>>>>>>>
>>>>>>>>>>>>> --
>>>>>>>>>>>>> Alexey Kuznetsov
>>>>>>>>>>>>> GridGain Systems
>>>>>>>>>>>>> www.gridgain.com
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> ------------------------------
>>>>>>>>>>>>> If you reply to this email, your message will be added to the
>>>>>>>>>>>>> discussion below:
>>>>>>>>>>>>>
>>>>>>>>>>>>> http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5047.html
>>>>>>>>>>>>> To start a new topic under Apache Ignite Users, email [hidden
>>>>>>>>>>>>> email] <http:///user/SendEmail.jtp?type=node&node=5048&i=1>
>>>>>>>>>>>>> To unsubscribe from Apache Ignite Users, click here.
>>>>>>>>>>>>> NAML
>>>>>>>>>>>>> <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> ------------------------------
>>>>>>>>>>>> View this message in context: Re: Persistence using Cassandra
>>>>>>>>>>>> <http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5048.html>
>>>>>>>>>>>> Sent from the Apache Ignite Users mailing list archive
>>>>>>>>>>>> <http://apache-ignite-users.70518.x6.nabble.com/> at
>>>>>>>>>>>> Nabble.com.
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> Alexey Kuznetsov
>>>>>>>>>>> GridGain Systems
>>>>>>>>>>> www.gridgain.com
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> ------------------------------
>>>>>>>>>>> If you reply to this email, your message will be added to the
>>>>>>>>>>> discussion below:
>>>>>>>>>>>
>>>>>>>>>>> http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5049.html
>>>>>>>>>>> To start a new topic under Apache Ignite Users, email [hidden
>>>>>>>>>>> email] <http:///user/SendEmail.jtp?type=node&node=5097&i=2>
>>>>>>>>>>> To unsubscribe from Apache Ignite Users, click here.
>>>>>>>>>>> NAML
>>>>>>>>>>> <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> ------------------------------
>>>>>>>>> View this message in context: Re: Persistence using Cassandra
>>>>>>>>> <http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5097.html>
>>>>>>>>> Sent from the Apache Ignite Users mailing list archive
>>>>>>>>> <http://apache-ignite-users.70518.x6.nabble.com/> at Nabble.com.
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Alexey Kuznetsov
>>>>>>>> GridGain Systems
>>>>>>>> www.gridgain.com
>>>>>>>>
>>>>>>>>
>>>>>>>> ------------------------------
>>>>>>>> If you reply to this email, your message will be added to the
>>>>>>>> discussion below:
>>>>>>>>
>>>>>>>> http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5114.html
>>>>>>>> To start a new topic under Apache Ignite Users, email [hidden
>>>>>>>> email] <http:///user/SendEmail.jtp?type=node&node=5534&i=1>
>>>>>>>> To unsubscribe from Apache Ignite Users, click here.
>>>>>>>> NAML
>>>>>>>> <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> ------------------------------
>>>>>>> View this message in context: Re: Persistence using Cassandra
>>>>>>> <http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5534.html>
>>>>>>> Sent from the Apache Ignite Users mailing list archive
>>>>>>> <http://apache-ignite-users.70518.x6.nabble.com/> at Nabble.com.
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Alexey Kuznetsov
>>>>>> GridGain Systems
>>>>>> www.gridgain.com
>>>>>>
>>>>>>
>>>>>> ------------------------------
>>>>>> If you reply to this email, your message will be added to the
>>>>>> discussion below:
>>>>>>
>>>>>> http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5535.html
>>>>>> To start a new topic under Apache Ignite Users, email
>>>>>> ml-node+s70518n1h6@n6.nabble.com
>>>>>> To unsubscribe from Apache Ignite Users, click here
>>>>>> <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=1&code=YXNoLmR1dHQuc2hhcm1hQGdtYWlsLmNvbXwxfC0xOTcwMDkyNjky>
>>>>>> .
>>>>>> NAML
>>>>>> <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>>>>>
>>>>>
>>>>>
>>>>
>>>
>>
>




--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5568.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Persistence using Cassandra

Posted by ChickyDutt <as...@gmail.com>.
Thank you Alexey.

I am now trying to run the load tests from the source package, After
building from the source and editing relevant properties, I run into the
following error after I run the 'cassandra-load-tests.bat' file.

Could you please take a look at the attachment and advise on how to
resolve? Please let me know if you need any further information.

Regards,
Ashish Sharma,

On Wed, Jun 8, 2016 at 5:43 PM, Alexey Kuznetsov [via Apache Ignite Users] <
ml-node+s70518n5535h60@n6.nabble.com> wrote:

> Hi, Ashish Sharma.
>
> Take a look at docs: https://apacheignite.readme.io/docs/overview
> As far as I see in docs
> https://apacheignite.readme.io/v1.6/docs/base-concepts
> there I found such note;
> ----------------
> Current implementation of
> org.apache.ignite.cache.store.cassandra.utils.datasource.DataSource doesn't
> implement Serializable,
>  thus for distributed Ignite clusters, CassandraCacheStoreFactory could
> only be setup through Spring XML file, but not from code
> ---------------
>
> I think this could be fixed in next releases.
>
>
>
> On Wed, Jun 8, 2016 at 10:35 PM, ChickyDutt <[hidden email]
> <http:///user/SendEmail.jtp?type=node&node=5535&i=0>> wrote:
>
>> Thank you Alexey.
>>
>> Do you have an example where the CacheConfiguration store is configured
>> using Java ?
>>
>> Regards,
>> Ashish Sharma.
>>
>> On Mon, May 23, 2016 at 3:28 PM, Alexey Kuznetsov [via Apache Ignite
>> Users] <[hidden email]
>> <http:///user/SendEmail.jtp?type=node&node=5534&i=0>> wrote:
>>
>>> If you need tests - you need to download sources (
>>> https://ignite.apache.org/download.cgi#sources).
>>> Also, today we released Ignite 1.6 it should be available on Maven now.
>>>
>>> Hope this help.
>>>
>>> On Mon, May 23, 2016 at 6:35 PM, ChickyDutt <[hidden email]
>>> <http:///user/SendEmail.jtp?type=node&node=5114&i=0>> wrote:
>>>
>>>> Mentioned below are the complete logs
>>>>
>>>> class org.apache.ignite.IgniteException: Failed to instantiate Spring
>>>> XML application context [springUrl=file:/C:/Users/D-UA96OU/Desktop/Ignite
>>>> /apache-ignite-fabric-1.6.0-SNAPSHOT-bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/config/default-config.xml,
>>>> err=Configuration problem: Failed t
>>>> o import bean definitions from URL location
>>>> [classpath:org/apache/ignite/tests/cassandra/connection-settings.xml]
>>>> Offending resource: URL
>>>> [file:/C:/Users/D-UA96OU/Desktop/Ignite/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin
>>>> /config/default-config.xml]; nested exception is
>>>> org.springframework.beans.factory.BeanDefinitionStoreException: IOException
>>>> parsing XML docume
>>>> nt from class path resource
>>>> [org/apache/ignite/tests/cassandra/connection-settings.xml]; nested
>>>> exception is java.io.FileNotFoundException: cla
>>>> ss path resource
>>>> [org/apache/ignite/tests/cassandra/connection-settings.xml] cannot be
>>>> opened because it does not exist]
>>>>         at
>>>> org.apache.ignite.internal.util.IgniteUtils.convertException(IgniteUtils.java:906)
>>>>         at org.apache.ignite.Ignition.start(Ignition.java:350)
>>>>         at
>>>> org.apache.ignite.startup.cmdline.CommandLineStartup.main(CommandLineStartup.java:302)
>>>> Caused by: class org.apache.ignite.IgniteCheckedException: Failed to
>>>> instantiate Spring XML application context [springUrl=file:/C:/Users/D-UA9
>>>> 6OU/Desktop/Ignite/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/config/default-config.xml,
>>>> err=Configuration
>>>>  problem: Failed to import bean definitions from URL location
>>>> [classpath:org/apache/ignite/tests/cassandra/connection-settings.xml]
>>>> Offending resource: URL
>>>> [file:/C:/Users/D-UA96OU/Desktop/Ignite/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin
>>>> /config/default-config.xml]; nested exception is
>>>> org.springframework.beans.factory.BeanDefinitionStoreException: IOException
>>>> parsing XML docume
>>>> nt from class path resource
>>>> [org/apache/ignite/tests/cassandra/connection-settings.xml]; nested
>>>> exception is java.io.FileNotFoundException: cla
>>>> ss path resource
>>>> [org/apache/ignite/tests/cassandra/connection-settings.xml] cannot be
>>>> opened because it does not exist]
>>>>         at
>>>> org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.applicationContext(IgniteSpringHelperImpl.java:391)
>>>>         at
>>>> org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.loadConfigurations(IgniteSpringHelperImpl.java:104)
>>>>         at
>>>> org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.loadConfigurations(IgniteSpringHelperImpl.java:98)
>>>>         at
>>>> org.apache.ignite.internal.IgnitionEx.loadConfigurations(IgnitionEx.java:639)
>>>>         at
>>>> org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:840)
>>>>         at
>>>> org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:749)
>>>>         at
>>>> org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:619)
>>>>         at
>>>> org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:589)
>>>>         at org.apache.ignite.Ignition.start(Ignition.java:347)
>>>>         ... 1 more
>>>> Caused by:
>>>> org.springframework.beans.factory.parsing.BeanDefinitionParsingException:
>>>> Configuration problem: Failed to import bean definitions f
>>>> rom URL location
>>>> [classpath:org/apache/ignite/tests/cassandra/connection-settings.xml]
>>>> Offending resource: URL
>>>> [file:/C:/Users/D-UA96OU/Desktop/Ignite/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin
>>>> /config/default-config.xml]; nested exception is
>>>> org.springframework.beans.factory.BeanDefinitionStoreException: IOException
>>>> parsing XML docume
>>>> nt from class path resource
>>>> [org/apache/ignite/tests/cassandra/connection-settings.xml]; nested
>>>> exception is java.io.FileNotFoundException: cla
>>>> ss path resource
>>>> [org/apache/ignite/tests/cassandra/connection-settings.xml] cannot be
>>>> opened because it does not exist
>>>>         at
>>>> org.springframework.beans.factory.parsing.FailFastProblemReporter.error(FailFastProblemReporter.java:70)
>>>>         at
>>>> org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:85)
>>>>         at
>>>> org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:76)
>>>>         at
>>>> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.importBeanDefinitionResource(DefaultBeanDefinitionDocument
>>>> Reader.java:250)
>>>>         at
>>>> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseDefaultElement(DefaultBeanDefinitionDocumentReader.ja
>>>> va:201)
>>>>         at
>>>> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.j
>>>> ava:186)
>>>>         at
>>>> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.doRegisterBeanDefinitions(DefaultBeanDefinitionDocumentRea
>>>> der.java:143)
>>>>         at
>>>> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReade
>>>> r.java:110)
>>>>         at
>>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:508)
>>>>         at
>>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:391)
>>>>         at
>>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:335)
>>>>         at
>>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:303)
>>>>         at
>>>> org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.applicationContext(IgniteSpringHelperImpl.java:379)
>>>>         ... 9 more
>>>> Caused by:
>>>> org.springframework.beans.factory.BeanDefinitionStoreException: IOException
>>>> parsing XML document from class path resource [org/apach
>>>> e/ignite/tests/cassandra/connection-settings.xml]; nested exception is
>>>> java.io.FileNotFoundException: class path resource [org/apache/ignite/te
>>>> sts/cassandra/connection-settings.xml] cannot be opened because it does
>>>> not exist
>>>>         at
>>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:343)
>>>>         at
>>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:303)
>>>>         at
>>>> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:180)
>>>>         at
>>>> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:216)
>>>>         at
>>>> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.importBeanDefinitionResource(DefaultBeanDefinitionDocument
>>>> Reader.java:244)
>>>>         ... 18 more
>>>> Caused by: java.io.FileNotFoundException: class path resource
>>>> [org/apache/ignite/tests/cassandra/connection-settings.xml] cannot be
>>>> opened beca
>>>> use it does not exist
>>>>         at
>>>> org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:172)
>>>>         at
>>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:329)
>>>>         ... 22 more
>>>> Failed to start grid: Failed to instantiate Spring XML application
>>>> context [springUrl=file:/C:/Users/D-UA96OU/Desktop/Ignite/apache-ignite-fabr
>>>> ic-1.6.0-SNAPSHOT-bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/config/default-config.xml,
>>>> err=Configuration problem: Failed to import bean defin
>>>> itions from URL location
>>>> [classpath:org/apache/ignite/tests/cassandra/connection-settings.xml]
>>>> Offending resource: URL
>>>> [file:/C:/Users/D-UA96OU/Desktop/Ignite/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin
>>>> /config/default-config.xml]; nested exception is
>>>> org.springframework.beans.factory.BeanDefinitionStoreException: IOException
>>>> parsing XML docume
>>>> nt from class path resource
>>>> [org/apache/ignite/tests/cassandra/connection-settings.xml]; nested
>>>> exception is java.io.FileNotFoundException: cla
>>>> ss path resource
>>>> [org/apache/ignite/tests/cassandra/connection-settings.xml] cannot be
>>>> opened because it does not exist]
>>>> Press any key to continue . . .
>>>>
>>>> On Mon, May 23, 2016 at 1:41 PM, Ashish Dutt Sharma <[hidden email]
>>>> <http:///user/SendEmail.jtp?type=node&node=5097&i=0>> wrote:
>>>>
>>>>> Thank you Alexey.
>>>>>
>>>>> I am unable to locate the test resources like the ignite configuration
>>>>> files and the persistent descriptors in the package. Could you please help
>>>>> me find them?
>>>>>
>>>>> I downloaded apache-ignite-fabric-1.6.0-SNAPSHOT-bin.zip
>>>>> <https://builds.apache.org/view/H-L/view/Ignite/job/Ignite-nightly/lastSuccessfulBuild/artifact/target/bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin.zip> from
>>>>> the link
>>>>> https://builds.apache.org/view/H-L/view/Ignite/job/Ignite-nightly/lastSuccessfulBuild/
>>>>> as the latest nightly version and then explored the ignite-Cassandra
>>>>> module in the lib folder.
>>>>>
>>>>> I then downloaded the ignite-cassandra-1.6.0-SNAPSHOT.jar
>>>>> <https://builds.apache.org/view/H-L/view/Ignite/job/Ignite-nightly/lastSuccessfulBuild/org.apache.ignite$ignite-cassandra/artifact/org.apache.ignite/ignite-cassandra/1.6.0-SNAPSHOT/ignite-cassandra-1.6.0-SNAPSHOT.jar> module
>>>>> from the link
>>>>> https://builds.apache.org/view/H-L/view/Ignite/job/Ignite-nightly/lastSuccessfulBuild/org.apache.ignite$ignite-cassandra/
>>>>> but still could not find any test resources in it.
>>>>>
>>>>> When I try to start a node with the configuration file present on the
>>>>> link https://github.com/irudyak/ignite/wiki/Examples
>>>>>
>>>>> I run into the below error..
>>>>>
>>>>> nested exception is org.springframework.beans.factory.BeanDefinitionS
>>>>> eException: IOException parsing XML document from class path resource
>>>>> [org/apache/ignite/tests/cassandra/connection-settings.xml]; nested ex
>>>>> tion is java.io.FileNotFoundException: class path resource
>>>>> [org/apache/ignite/tests/cassandra/connection-settings.xml] cannot be
>>>>> opened beca
>>>>>  it does not exist]
>>>>>         at
>>>>> org.apache.ignite.internal.util.IgniteUtils.convertException(IgniteUtils.java:900)
>>>>>         at org.apache.ignite.Ignition.start(Ignition.java:350)
>>>>>         at
>>>>> org.apache.ignite.startup.cmdline.CommandLineStartup.main(CommandLineStartup.java:302)
>>>>>
>>>>> I understand the problem lies in finding the below resources in the
>>>>> ignite configuration file.
>>>>>
>>>>> <!-- Cassandra connection settings -->
>>>>>     <import
>>>>> resource="classpath:org/apache/ignite/tests/cassandra/connection-settings.xml"
>>>>> />
>>>>>     <!-- Persistence settings for 'cache1' -->
>>>>>     <bean id="cache1_persistence_settings"
>>>>> class="org.apache.ignite.cache.store.cassandra.utils.persistence.KeyValuePersistenceSettings">
>>>>>         <constructor-arg type="org.springframework.core.io.Resource"
>>>>> value="classpath:org/apache/ignite/tests/persistence/blob/persistence-settings-1.xml"
>>>>> />
>>>>>     </bean>
>>>>>     <!-- Persistence settings for 'cache2' -->
>>>>>     <bean id="cache2_persistence_settings"
>>>>> class="org.apache.ignite.cache.store.cassandra.utils.persistence.KeyValuePersistenceSettings">
>>>>>         <constructor-arg type="org.springframework.core.io.Resource"
>>>>> value="classpath:org/apache/ignite/tests/persistence/blob/persistence-settings-3.xml"
>>>>> />
>>>>>     </bean>
>>>>>
>>>>>
>>>>> Could you please help me fill the gap by explaining if there is
>>>>> another module that I should be working with or should there be any updates
>>>>> made? Please let me know if you need any further information.
>>>>>
>>>>> Regards.
>>>>>
>>>>>
>>>>> On Fri, May 20, 2016 at 10:19 AM, Alexey Kuznetsov [via Apache Ignite
>>>>> Users] <[hidden email]
>>>>> <http:///user/SendEmail.jtp?type=node&node=5097&i=1>> wrote:
>>>>>
>>>>>> If release vote will be successful then ignite-1.6 will be released
>>>>>> next week.
>>>>>> If not then it may take some time to fix issues and re-vote.
>>>>>>
>>>>>> Documentation may be added later, but for now you may use unofficial
>>>>>> docs
>>>>>>  from ignite-cassandra module contributor see
>>>>>> https://github.com/irudyak/ignite/wiki
>>>>>>
>>>>>> Also, you may use latest nightly build and do not wait for release.
>>>>>>  https://ignite.apache.org/community/contribute.html#nightly-builds
>>>>>>
>>>>>> Hope this help.
>>>>>>
>>>>>> On Fri, May 20, 2016 at 2:51 PM, ChickyDutt <[hidden email]
>>>>>> <http:///user/SendEmail.jtp?type=node&node=5049&i=0>> wrote:
>>>>>>
>>>>>>> And as conveyed earlier, you expect Ignite 1.6 to be released next
>>>>>>> week with the documentation for the if Cassandra module. Please correct me
>>>>>>> if I am wrong.
>>>>>>> On 20 May 2016 9:57 a.m., "Alexey Kuznetsov [via Apache Ignite
>>>>>>> Users]" <[hidden email]
>>>>>>> <http:///user/SendEmail.jtp?type=node&node=5048&i=0>> wrote:
>>>>>>>
>>>>>>>> Hi Chicky D.!
>>>>>>>>
>>>>>>>> About you first question about example - take a look
>>>>>>>> for org.apache.ignite.tests.IgnitePersistentStoreTest - it use some xml
>>>>>>>> configs.
>>>>>>>>
>>>>>>>> >> In addition to my previous query, Could you also help me
>>>>>>>> understand if the patch file available on the below link is likely to
>>>>>>>> undergo any further changes until the final release?
>>>>>>>> >> https://issues.apache.org/jira/browse/IGNITE-1371
>>>>>>>>
>>>>>>>> No, this issue is merged into ignite-1.6  and issue is closed
>>>>>>>> (sorry, I forgot to do it before).
>>>>>>>>
>>>>>>>> But you may open new issues in JIRA if you want.
>>>>>>>>
>>>>>>>> --
>>>>>>>> Alexey Kuznetsov
>>>>>>>> GridGain Systems
>>>>>>>> www.gridgain.com
>>>>>>>>
>>>>>>>>
>>>>>>>> ------------------------------
>>>>>>>> If you reply to this email, your message will be added to the
>>>>>>>> discussion below:
>>>>>>>>
>>>>>>>> http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5047.html
>>>>>>>> To start a new topic under Apache Ignite Users, email [hidden
>>>>>>>> email] <http:///user/SendEmail.jtp?type=node&node=5048&i=1>
>>>>>>>> To unsubscribe from Apache Ignite Users, click here.
>>>>>>>> NAML
>>>>>>>> <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>>>>>>>
>>>>>>>
>>>>>>> ------------------------------
>>>>>>> View this message in context: Re: Persistence using Cassandra
>>>>>>> <http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5048.html>
>>>>>>> Sent from the Apache Ignite Users mailing list archive
>>>>>>> <http://apache-ignite-users.70518.x6.nabble.com/> at Nabble.com.
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Alexey Kuznetsov
>>>>>> GridGain Systems
>>>>>> www.gridgain.com
>>>>>>
>>>>>>
>>>>>> ------------------------------
>>>>>> If you reply to this email, your message will be added to the
>>>>>> discussion below:
>>>>>>
>>>>>> http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5049.html
>>>>>> To start a new topic under Apache Ignite Users, email [hidden email]
>>>>>> <http:///user/SendEmail.jtp?type=node&node=5097&i=2>
>>>>>> To unsubscribe from Apache Ignite Users, click here.
>>>>>> NAML
>>>>>> <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>>>>>
>>>>>
>>>>>
>>>>
>>>> ------------------------------
>>>> View this message in context: Re: Persistence using Cassandra
>>>> <http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5097.html>
>>>> Sent from the Apache Ignite Users mailing list archive
>>>> <http://apache-ignite-users.70518.x6.nabble.com/> at Nabble.com.
>>>>
>>>
>>>
>>>
>>> --
>>> Alexey Kuznetsov
>>> GridGain Systems
>>> www.gridgain.com
>>>
>>>
>>> ------------------------------
>>> If you reply to this email, your message will be added to the discussion
>>> below:
>>>
>>> http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5114.html
>>> To start a new topic under Apache Ignite Users, email [hidden email]
>>> <http:///user/SendEmail.jtp?type=node&node=5534&i=1>
>>> To unsubscribe from Apache Ignite Users, click here.
>>> NAML
>>> <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>>
>>
>>
>> ------------------------------
>> View this message in context: Re: Persistence using Cassandra
>> <http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5534.html>
>> Sent from the Apache Ignite Users mailing list archive
>> <http://apache-ignite-users.70518.x6.nabble.com/> at Nabble.com.
>>
>
>
>
> --
> Alexey Kuznetsov
> GridGain Systems
> www.gridgain.com
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5535.html
> To start a new topic under Apache Ignite Users, email
> ml-node+s70518n1h6@n6.nabble.com
> To unsubscribe from Apache Ignite Users, click here
> <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=1&code=YXNoLmR1dHQuc2hhcm1hQGdtYWlsLmNvbXwxfC0xOTcwMDkyNjky>
> .
> NAML
> <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>


Heap_SIZE_ERROR.png (66K) <http://apache-ignite-users.70518.x6.nabble.com/attachment/5561/0/Heap_SIZE_ERROR.png>




--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5561.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Persistence using Cassandra

Posted by ChickyDutt <as...@gmail.com>.
Hi Alexey

I reinstalled Ignite on C;\Ignite and I got through.


Regards.

On Thu, Jun 9, 2016 at 10:39 PM, Ashish Dutt Sharma <
ash.dutt.sharma@gmail.com> wrote:

> Hi Alexey
>
> I run into the attached error after I run the ignite.bat with reference to
> the server config file as mentioned in Load test examples.
>
> Could you please advise on how to get around it?
>
> On Thu, Jun 9, 2016 at 6:10 PM, Ashish Dutt Sharma <
> ash.dutt.sharma@gmail.com> wrote:
>
>> I decreased the JVM size and it worked. Thank you.
>>
>> Regards.
>>
>> On Thu, Jun 9, 2016 at 5:57 PM, Ashish Dutt Sharma <
>> ash.dutt.sharma@gmail.com> wrote:
>>
>>> Thank you Alexey.
>>>
>>> I am now trying to run the load tests from the source package, After
>>> building from the source and editing relevant properties, I run into the
>>> following error after I run the 'cassandra-load-tests.bat' file.
>>>
>>> Could you please take a look at the attachment and advise on how to
>>> resolve? Please let me know if you need any further information.
>>>
>>> Regards,
>>> Ashish Sharma,
>>>
>>> On Wed, Jun 8, 2016 at 5:43 PM, Alexey Kuznetsov [via Apache Ignite
>>> Users] <ml...@n6.nabble.com> wrote:
>>>
>>>> Hi, Ashish Sharma.
>>>>
>>>> Take a look at docs: https://apacheignite.readme.io/docs/overview
>>>> As far as I see in docs
>>>> https://apacheignite.readme.io/v1.6/docs/base-concepts
>>>> there I found such note;
>>>> ----------------
>>>> Current implementation of
>>>> org.apache.ignite.cache.store.cassandra.utils.datasource.DataSource doesn't
>>>> implement Serializable,
>>>>  thus for distributed Ignite clusters, CassandraCacheStoreFactory could
>>>> only be setup through Spring XML file, but not from code
>>>> ---------------
>>>>
>>>> I think this could be fixed in next releases.
>>>>
>>>>
>>>>
>>>> On Wed, Jun 8, 2016 at 10:35 PM, ChickyDutt <[hidden email]
>>>> <http:///user/SendEmail.jtp?type=node&node=5535&i=0>> wrote:
>>>>
>>>>> Thank you Alexey.
>>>>>
>>>>> Do you have an example where the CacheConfiguration store is
>>>>> configured using Java ?
>>>>>
>>>>> Regards,
>>>>> Ashish Sharma.
>>>>>
>>>>> On Mon, May 23, 2016 at 3:28 PM, Alexey Kuznetsov [via Apache Ignite
>>>>> Users] <[hidden email]
>>>>> <http:///user/SendEmail.jtp?type=node&node=5534&i=0>> wrote:
>>>>>
>>>>>> If you need tests - you need to download sources (
>>>>>> https://ignite.apache.org/download.cgi#sources).
>>>>>> Also, today we released Ignite 1.6 it should be available on Maven
>>>>>> now.
>>>>>>
>>>>>> Hope this help.
>>>>>>
>>>>>> On Mon, May 23, 2016 at 6:35 PM, ChickyDutt <[hidden email]
>>>>>> <http:///user/SendEmail.jtp?type=node&node=5114&i=0>> wrote:
>>>>>>
>>>>>>> Mentioned below are the complete logs
>>>>>>>
>>>>>>> class org.apache.ignite.IgniteException: Failed to instantiate
>>>>>>> Spring XML application context
>>>>>>> [springUrl=file:/C:/Users/D-UA96OU/Desktop/Ignite
>>>>>>> /apache-ignite-fabric-1.6.0-SNAPSHOT-bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/config/default-config.xml,
>>>>>>> err=Configuration problem: Failed t
>>>>>>> o import bean definitions from URL location
>>>>>>> [classpath:org/apache/ignite/tests/cassandra/connection-settings.xml]
>>>>>>> Offending resource: URL
>>>>>>> [file:/C:/Users/D-UA96OU/Desktop/Ignite/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin
>>>>>>> /config/default-config.xml]; nested exception is
>>>>>>> org.springframework.beans.factory.BeanDefinitionStoreException: IOException
>>>>>>> parsing XML docume
>>>>>>> nt from class path resource
>>>>>>> [org/apache/ignite/tests/cassandra/connection-settings.xml]; nested
>>>>>>> exception is java.io.FileNotFoundException: cla
>>>>>>> ss path resource
>>>>>>> [org/apache/ignite/tests/cassandra/connection-settings.xml] cannot be
>>>>>>> opened because it does not exist]
>>>>>>>         at
>>>>>>> org.apache.ignite.internal.util.IgniteUtils.convertException(IgniteUtils.java:906)
>>>>>>>         at org.apache.ignite.Ignition.start(Ignition.java:350)
>>>>>>>         at
>>>>>>> org.apache.ignite.startup.cmdline.CommandLineStartup.main(CommandLineStartup.java:302)
>>>>>>> Caused by: class org.apache.ignite.IgniteCheckedException: Failed to
>>>>>>> instantiate Spring XML application context [springUrl=file:/C:/Users/D-UA9
>>>>>>> 6OU/Desktop/Ignite/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/config/default-config.xml,
>>>>>>> err=Configuration
>>>>>>>  problem: Failed to import bean definitions from URL location
>>>>>>> [classpath:org/apache/ignite/tests/cassandra/connection-settings.xml]
>>>>>>> Offending resource: URL
>>>>>>> [file:/C:/Users/D-UA96OU/Desktop/Ignite/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin
>>>>>>> /config/default-config.xml]; nested exception is
>>>>>>> org.springframework.beans.factory.BeanDefinitionStoreException: IOException
>>>>>>> parsing XML docume
>>>>>>> nt from class path resource
>>>>>>> [org/apache/ignite/tests/cassandra/connection-settings.xml]; nested
>>>>>>> exception is java.io.FileNotFoundException: cla
>>>>>>> ss path resource
>>>>>>> [org/apache/ignite/tests/cassandra/connection-settings.xml] cannot be
>>>>>>> opened because it does not exist]
>>>>>>>         at
>>>>>>> org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.applicationContext(IgniteSpringHelperImpl.java:391)
>>>>>>>         at
>>>>>>> org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.loadConfigurations(IgniteSpringHelperImpl.java:104)
>>>>>>>         at
>>>>>>> org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.loadConfigurations(IgniteSpringHelperImpl.java:98)
>>>>>>>         at
>>>>>>> org.apache.ignite.internal.IgnitionEx.loadConfigurations(IgnitionEx.java:639)
>>>>>>>         at
>>>>>>> org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:840)
>>>>>>>         at
>>>>>>> org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:749)
>>>>>>>         at
>>>>>>> org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:619)
>>>>>>>         at
>>>>>>> org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:589)
>>>>>>>         at org.apache.ignite.Ignition.start(Ignition.java:347)
>>>>>>>         ... 1 more
>>>>>>> Caused by:
>>>>>>> org.springframework.beans.factory.parsing.BeanDefinitionParsingException:
>>>>>>> Configuration problem: Failed to import bean definitions f
>>>>>>> rom URL location
>>>>>>> [classpath:org/apache/ignite/tests/cassandra/connection-settings.xml]
>>>>>>> Offending resource: URL
>>>>>>> [file:/C:/Users/D-UA96OU/Desktop/Ignite/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin
>>>>>>> /config/default-config.xml]; nested exception is
>>>>>>> org.springframework.beans.factory.BeanDefinitionStoreException: IOException
>>>>>>> parsing XML docume
>>>>>>> nt from class path resource
>>>>>>> [org/apache/ignite/tests/cassandra/connection-settings.xml]; nested
>>>>>>> exception is java.io.FileNotFoundException: cla
>>>>>>> ss path resource
>>>>>>> [org/apache/ignite/tests/cassandra/connection-settings.xml] cannot be
>>>>>>> opened because it does not exist
>>>>>>>         at
>>>>>>> org.springframework.beans.factory.parsing.FailFastProblemReporter.error(FailFastProblemReporter.java:70)
>>>>>>>         at
>>>>>>> org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:85)
>>>>>>>         at
>>>>>>> org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:76)
>>>>>>>         at
>>>>>>> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.importBeanDefinitionResource(DefaultBeanDefinitionDocument
>>>>>>> Reader.java:250)
>>>>>>>         at
>>>>>>> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseDefaultElement(DefaultBeanDefinitionDocumentReader.ja
>>>>>>> va:201)
>>>>>>>         at
>>>>>>> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.j
>>>>>>> ava:186)
>>>>>>>         at
>>>>>>> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.doRegisterBeanDefinitions(DefaultBeanDefinitionDocumentRea
>>>>>>> der.java:143)
>>>>>>>         at
>>>>>>> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReade
>>>>>>> r.java:110)
>>>>>>>         at
>>>>>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:508)
>>>>>>>         at
>>>>>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:391)
>>>>>>>         at
>>>>>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:335)
>>>>>>>         at
>>>>>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:303)
>>>>>>>         at
>>>>>>> org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.applicationContext(IgniteSpringHelperImpl.java:379)
>>>>>>>         ... 9 more
>>>>>>> Caused by:
>>>>>>> org.springframework.beans.factory.BeanDefinitionStoreException: IOException
>>>>>>> parsing XML document from class path resource [org/apach
>>>>>>> e/ignite/tests/cassandra/connection-settings.xml]; nested exception
>>>>>>> is java.io.FileNotFoundException: class path resource [org/apache/ignite/te
>>>>>>> sts/cassandra/connection-settings.xml] cannot be opened because it
>>>>>>> does not exist
>>>>>>>         at
>>>>>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:343)
>>>>>>>         at
>>>>>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:303)
>>>>>>>         at
>>>>>>> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:180)
>>>>>>>         at
>>>>>>> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:216)
>>>>>>>         at
>>>>>>> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.importBeanDefinitionResource(DefaultBeanDefinitionDocument
>>>>>>> Reader.java:244)
>>>>>>>         ... 18 more
>>>>>>> Caused by: java.io.FileNotFoundException: class path resource
>>>>>>> [org/apache/ignite/tests/cassandra/connection-settings.xml] cannot be
>>>>>>> opened beca
>>>>>>> use it does not exist
>>>>>>>         at
>>>>>>> org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:172)
>>>>>>>         at
>>>>>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:329)
>>>>>>>         ... 22 more
>>>>>>> Failed to start grid: Failed to instantiate Spring XML application
>>>>>>> context [springUrl=file:/C:/Users/D-UA96OU/Desktop/Ignite/apache-ignite-fabr
>>>>>>> ic-1.6.0-SNAPSHOT-bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/config/default-config.xml,
>>>>>>> err=Configuration problem: Failed to import bean defin
>>>>>>> itions from URL location
>>>>>>> [classpath:org/apache/ignite/tests/cassandra/connection-settings.xml]
>>>>>>> Offending resource: URL
>>>>>>> [file:/C:/Users/D-UA96OU/Desktop/Ignite/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin
>>>>>>> /config/default-config.xml]; nested exception is
>>>>>>> org.springframework.beans.factory.BeanDefinitionStoreException: IOException
>>>>>>> parsing XML docume
>>>>>>> nt from class path resource
>>>>>>> [org/apache/ignite/tests/cassandra/connection-settings.xml]; nested
>>>>>>> exception is java.io.FileNotFoundException: cla
>>>>>>> ss path resource
>>>>>>> [org/apache/ignite/tests/cassandra/connection-settings.xml] cannot be
>>>>>>> opened because it does not exist]
>>>>>>> Press any key to continue . . .
>>>>>>>
>>>>>>> On Mon, May 23, 2016 at 1:41 PM, Ashish Dutt Sharma <[hidden email]
>>>>>>> <http:///user/SendEmail.jtp?type=node&node=5097&i=0>> wrote:
>>>>>>>
>>>>>>>> Thank you Alexey.
>>>>>>>>
>>>>>>>> I am unable to locate the test resources like the ignite
>>>>>>>> configuration files and the persistent descriptors in the package. Could
>>>>>>>> you please help me find them?
>>>>>>>>
>>>>>>>> I downloaded apache-ignite-fabric-1.6.0-SNAPSHOT-bin.zip
>>>>>>>> <https://builds.apache.org/view/H-L/view/Ignite/job/Ignite-nightly/lastSuccessfulBuild/artifact/target/bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin.zip> from
>>>>>>>> the link
>>>>>>>> https://builds.apache.org/view/H-L/view/Ignite/job/Ignite-nightly/lastSuccessfulBuild/
>>>>>>>> as the latest nightly version and then explored the
>>>>>>>> ignite-Cassandra module in the lib folder.
>>>>>>>>
>>>>>>>> I then downloaded the ignite-cassandra-1.6.0-SNAPSHOT.jar
>>>>>>>> <https://builds.apache.org/view/H-L/view/Ignite/job/Ignite-nightly/lastSuccessfulBuild/org.apache.ignite$ignite-cassandra/artifact/org.apache.ignite/ignite-cassandra/1.6.0-SNAPSHOT/ignite-cassandra-1.6.0-SNAPSHOT.jar> module
>>>>>>>> from the link
>>>>>>>> https://builds.apache.org/view/H-L/view/Ignite/job/Ignite-nightly/lastSuccessfulBuild/org.apache.ignite$ignite-cassandra/
>>>>>>>> but still could not find any test resources in it.
>>>>>>>>
>>>>>>>> When I try to start a node with the configuration file present on
>>>>>>>> the link https://github.com/irudyak/ignite/wiki/Examples
>>>>>>>>
>>>>>>>> I run into the below error..
>>>>>>>>
>>>>>>>> nested exception is
>>>>>>>> org.springframework.beans.factory.BeanDefinitionS
>>>>>>>> eException: IOException parsing XML document from class path
>>>>>>>> resource [org/apache/ignite/tests/cassandra/connection-settings.xml];
>>>>>>>> nested ex
>>>>>>>> tion is java.io.FileNotFoundException: class path resource
>>>>>>>> [org/apache/ignite/tests/cassandra/connection-settings.xml] cannot be
>>>>>>>> opened beca
>>>>>>>>  it does not exist]
>>>>>>>>         at
>>>>>>>> org.apache.ignite.internal.util.IgniteUtils.convertException(IgniteUtils.java:900)
>>>>>>>>         at org.apache.ignite.Ignition.start(Ignition.java:350)
>>>>>>>>         at
>>>>>>>> org.apache.ignite.startup.cmdline.CommandLineStartup.main(CommandLineStartup.java:302)
>>>>>>>>
>>>>>>>> I understand the problem lies in finding the below resources in the
>>>>>>>> ignite configuration file.
>>>>>>>>
>>>>>>>> <!-- Cassandra connection settings -->
>>>>>>>>     <import
>>>>>>>> resource="classpath:org/apache/ignite/tests/cassandra/connection-settings.xml"
>>>>>>>> />
>>>>>>>>     <!-- Persistence settings for 'cache1' -->
>>>>>>>>     <bean id="cache1_persistence_settings"
>>>>>>>> class="org.apache.ignite.cache.store.cassandra.utils.persistence.KeyValuePersistenceSettings">
>>>>>>>>         <constructor-arg
>>>>>>>> type="org.springframework.core.io.Resource"
>>>>>>>> value="classpath:org/apache/ignite/tests/persistence/blob/persistence-settings-1.xml"
>>>>>>>> />
>>>>>>>>     </bean>
>>>>>>>>     <!-- Persistence settings for 'cache2' -->
>>>>>>>>     <bean id="cache2_persistence_settings"
>>>>>>>> class="org.apache.ignite.cache.store.cassandra.utils.persistence.KeyValuePersistenceSettings">
>>>>>>>>         <constructor-arg
>>>>>>>> type="org.springframework.core.io.Resource"
>>>>>>>> value="classpath:org/apache/ignite/tests/persistence/blob/persistence-settings-3.xml"
>>>>>>>> />
>>>>>>>>     </bean>
>>>>>>>>
>>>>>>>>
>>>>>>>> Could you please help me fill the gap by explaining if there is
>>>>>>>> another module that I should be working with or should there be any updates
>>>>>>>> made? Please let me know if you need any further information.
>>>>>>>>
>>>>>>>> Regards.
>>>>>>>>
>>>>>>>>
>>>>>>>> On Fri, May 20, 2016 at 10:19 AM, Alexey Kuznetsov [via Apache
>>>>>>>> Ignite Users] <[hidden email]
>>>>>>>> <http:///user/SendEmail.jtp?type=node&node=5097&i=1>> wrote:
>>>>>>>>
>>>>>>>>> If release vote will be successful then ignite-1.6 will be
>>>>>>>>> released next week.
>>>>>>>>> If not then it may take some time to fix issues and re-vote.
>>>>>>>>>
>>>>>>>>> Documentation may be added later, but for now you may use
>>>>>>>>> unofficial docs
>>>>>>>>>  from ignite-cassandra module contributor see
>>>>>>>>> https://github.com/irudyak/ignite/wiki
>>>>>>>>>
>>>>>>>>> Also, you may use latest nightly build and do not wait for release.
>>>>>>>>>
>>>>>>>>> https://ignite.apache.org/community/contribute.html#nightly-builds
>>>>>>>>>
>>>>>>>>> Hope this help.
>>>>>>>>>
>>>>>>>>> On Fri, May 20, 2016 at 2:51 PM, ChickyDutt <[hidden email]
>>>>>>>>> <http:///user/SendEmail.jtp?type=node&node=5049&i=0>> wrote:
>>>>>>>>>
>>>>>>>>>> And as conveyed earlier, you expect Ignite 1.6 to be released
>>>>>>>>>> next week with the documentation for the if Cassandra module. Please
>>>>>>>>>> correct me if I am wrong.
>>>>>>>>>> On 20 May 2016 9:57 a.m., "Alexey Kuznetsov [via Apache Ignite
>>>>>>>>>> Users]" <[hidden email]
>>>>>>>>>> <http:///user/SendEmail.jtp?type=node&node=5048&i=0>> wrote:
>>>>>>>>>>
>>>>>>>>>>> Hi Chicky D.!
>>>>>>>>>>>
>>>>>>>>>>> About you first question about example - take a look
>>>>>>>>>>> for org.apache.ignite.tests.IgnitePersistentStoreTest - it use some xml
>>>>>>>>>>> configs.
>>>>>>>>>>>
>>>>>>>>>>> >> In addition to my previous query, Could you also help me
>>>>>>>>>>> understand if the patch file available on the below link is likely to
>>>>>>>>>>> undergo any further changes until the final release?
>>>>>>>>>>> >> https://issues.apache.org/jira/browse/IGNITE-1371
>>>>>>>>>>>
>>>>>>>>>>> No, this issue is merged into ignite-1.6  and issue is closed
>>>>>>>>>>> (sorry, I forgot to do it before).
>>>>>>>>>>>
>>>>>>>>>>> But you may open new issues in JIRA if you want.
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> Alexey Kuznetsov
>>>>>>>>>>> GridGain Systems
>>>>>>>>>>> www.gridgain.com
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> ------------------------------
>>>>>>>>>>> If you reply to this email, your message will be added to the
>>>>>>>>>>> discussion below:
>>>>>>>>>>>
>>>>>>>>>>> http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5047.html
>>>>>>>>>>> To start a new topic under Apache Ignite Users, email [hidden
>>>>>>>>>>> email] <http:///user/SendEmail.jtp?type=node&node=5048&i=1>
>>>>>>>>>>> To unsubscribe from Apache Ignite Users, click here.
>>>>>>>>>>> NAML
>>>>>>>>>>> <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> ------------------------------
>>>>>>>>>> View this message in context: Re: Persistence using Cassandra
>>>>>>>>>> <http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5048.html>
>>>>>>>>>> Sent from the Apache Ignite Users mailing list archive
>>>>>>>>>> <http://apache-ignite-users.70518.x6.nabble.com/> at Nabble.com.
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Alexey Kuznetsov
>>>>>>>>> GridGain Systems
>>>>>>>>> www.gridgain.com
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> ------------------------------
>>>>>>>>> If you reply to this email, your message will be added to the
>>>>>>>>> discussion below:
>>>>>>>>>
>>>>>>>>> http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5049.html
>>>>>>>>> To start a new topic under Apache Ignite Users, email [hidden
>>>>>>>>> email] <http:///user/SendEmail.jtp?type=node&node=5097&i=2>
>>>>>>>>> To unsubscribe from Apache Ignite Users, click here.
>>>>>>>>> NAML
>>>>>>>>> <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>> ------------------------------
>>>>>>> View this message in context: Re: Persistence using Cassandra
>>>>>>> <http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5097.html>
>>>>>>> Sent from the Apache Ignite Users mailing list archive
>>>>>>> <http://apache-ignite-users.70518.x6.nabble.com/> at Nabble.com.
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Alexey Kuznetsov
>>>>>> GridGain Systems
>>>>>> www.gridgain.com
>>>>>>
>>>>>>
>>>>>> ------------------------------
>>>>>> If you reply to this email, your message will be added to the
>>>>>> discussion below:
>>>>>>
>>>>>> http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5114.html
>>>>>> To start a new topic under Apache Ignite Users, email [hidden email]
>>>>>> <http:///user/SendEmail.jtp?type=node&node=5534&i=1>
>>>>>> To unsubscribe from Apache Ignite Users, click here.
>>>>>> NAML
>>>>>> <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>>>>>
>>>>>
>>>>>
>>>>> ------------------------------
>>>>> View this message in context: Re: Persistence using Cassandra
>>>>> <http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5534.html>
>>>>> Sent from the Apache Ignite Users mailing list archive
>>>>> <http://apache-ignite-users.70518.x6.nabble.com/> at Nabble.com.
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Alexey Kuznetsov
>>>> GridGain Systems
>>>> www.gridgain.com
>>>>
>>>>
>>>> ------------------------------
>>>> If you reply to this email, your message will be added to the
>>>> discussion below:
>>>>
>>>> http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5535.html
>>>> To start a new topic under Apache Ignite Users, email
>>>> ml-node+s70518n1h6@n6.nabble.com
>>>> To unsubscribe from Apache Ignite Users, click here
>>>> <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=1&code=YXNoLmR1dHQuc2hhcm1hQGdtYWlsLmNvbXwxfC0xOTcwMDkyNjky>
>>>> .
>>>> NAML
>>>> <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>>>
>>>
>>>
>>
>




--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5565.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Persistence using Cassandra

Posted by Alexey Kuznetsov <ak...@gridgain.com>.
Hi, Ashish Sharma.

Take a look at docs: https://apacheignite.readme.io/docs/overview
As far as I see in docs
https://apacheignite.readme.io/v1.6/docs/base-concepts
there I found such note;
----------------
Current implementation of
org.apache.ignite.cache.store.cassandra.utils.datasource.DataSource doesn't
implement Serializable,
 thus for distributed Ignite clusters, CassandraCacheStoreFactory could
only be setup through Spring XML file, but not from code
---------------

I think this could be fixed in next releases.



On Wed, Jun 8, 2016 at 10:35 PM, ChickyDutt <as...@gmail.com>
wrote:

> Thank you Alexey.
>
> Do you have an example where the CacheConfiguration store is configured
> using Java ?
>
> Regards,
> Ashish Sharma.
>
> On Mon, May 23, 2016 at 3:28 PM, Alexey Kuznetsov [via Apache Ignite
> Users] <[hidden email]
> <http:///user/SendEmail.jtp?type=node&node=5534&i=0>> wrote:
>
>> If you need tests - you need to download sources (
>> https://ignite.apache.org/download.cgi#sources).
>> Also, today we released Ignite 1.6 it should be available on Maven now.
>>
>> Hope this help.
>>
>> On Mon, May 23, 2016 at 6:35 PM, ChickyDutt <[hidden email]
>> <http:///user/SendEmail.jtp?type=node&node=5114&i=0>> wrote:
>>
>>> Mentioned below are the complete logs
>>>
>>> class org.apache.ignite.IgniteException: Failed to instantiate Spring
>>> XML application context [springUrl=file:/C:/Users/D-UA96OU/Desktop/Ignite
>>> /apache-ignite-fabric-1.6.0-SNAPSHOT-bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/config/default-config.xml,
>>> err=Configuration problem: Failed t
>>> o import bean definitions from URL location
>>> [classpath:org/apache/ignite/tests/cassandra/connection-settings.xml]
>>> Offending resource: URL
>>> [file:/C:/Users/D-UA96OU/Desktop/Ignite/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin
>>> /config/default-config.xml]; nested exception is
>>> org.springframework.beans.factory.BeanDefinitionStoreException: IOException
>>> parsing XML docume
>>> nt from class path resource
>>> [org/apache/ignite/tests/cassandra/connection-settings.xml]; nested
>>> exception is java.io.FileNotFoundException: cla
>>> ss path resource
>>> [org/apache/ignite/tests/cassandra/connection-settings.xml] cannot be
>>> opened because it does not exist]
>>>         at
>>> org.apache.ignite.internal.util.IgniteUtils.convertException(IgniteUtils.java:906)
>>>         at org.apache.ignite.Ignition.start(Ignition.java:350)
>>>         at
>>> org.apache.ignite.startup.cmdline.CommandLineStartup.main(CommandLineStartup.java:302)
>>> Caused by: class org.apache.ignite.IgniteCheckedException: Failed to
>>> instantiate Spring XML application context [springUrl=file:/C:/Users/D-UA9
>>> 6OU/Desktop/Ignite/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/config/default-config.xml,
>>> err=Configuration
>>>  problem: Failed to import bean definitions from URL location
>>> [classpath:org/apache/ignite/tests/cassandra/connection-settings.xml]
>>> Offending resource: URL
>>> [file:/C:/Users/D-UA96OU/Desktop/Ignite/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin
>>> /config/default-config.xml]; nested exception is
>>> org.springframework.beans.factory.BeanDefinitionStoreException: IOException
>>> parsing XML docume
>>> nt from class path resource
>>> [org/apache/ignite/tests/cassandra/connection-settings.xml]; nested
>>> exception is java.io.FileNotFoundException: cla
>>> ss path resource
>>> [org/apache/ignite/tests/cassandra/connection-settings.xml] cannot be
>>> opened because it does not exist]
>>>         at
>>> org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.applicationContext(IgniteSpringHelperImpl.java:391)
>>>         at
>>> org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.loadConfigurations(IgniteSpringHelperImpl.java:104)
>>>         at
>>> org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.loadConfigurations(IgniteSpringHelperImpl.java:98)
>>>         at
>>> org.apache.ignite.internal.IgnitionEx.loadConfigurations(IgnitionEx.java:639)
>>>         at
>>> org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:840)
>>>         at
>>> org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:749)
>>>         at
>>> org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:619)
>>>         at
>>> org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:589)
>>>         at org.apache.ignite.Ignition.start(Ignition.java:347)
>>>         ... 1 more
>>> Caused by:
>>> org.springframework.beans.factory.parsing.BeanDefinitionParsingException:
>>> Configuration problem: Failed to import bean definitions f
>>> rom URL location
>>> [classpath:org/apache/ignite/tests/cassandra/connection-settings.xml]
>>> Offending resource: URL
>>> [file:/C:/Users/D-UA96OU/Desktop/Ignite/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin
>>> /config/default-config.xml]; nested exception is
>>> org.springframework.beans.factory.BeanDefinitionStoreException: IOException
>>> parsing XML docume
>>> nt from class path resource
>>> [org/apache/ignite/tests/cassandra/connection-settings.xml]; nested
>>> exception is java.io.FileNotFoundException: cla
>>> ss path resource
>>> [org/apache/ignite/tests/cassandra/connection-settings.xml] cannot be
>>> opened because it does not exist
>>>         at
>>> org.springframework.beans.factory.parsing.FailFastProblemReporter.error(FailFastProblemReporter.java:70)
>>>         at
>>> org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:85)
>>>         at
>>> org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:76)
>>>         at
>>> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.importBeanDefinitionResource(DefaultBeanDefinitionDocument
>>> Reader.java:250)
>>>         at
>>> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseDefaultElement(DefaultBeanDefinitionDocumentReader.ja
>>> va:201)
>>>         at
>>> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.j
>>> ava:186)
>>>         at
>>> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.doRegisterBeanDefinitions(DefaultBeanDefinitionDocumentRea
>>> der.java:143)
>>>         at
>>> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReade
>>> r.java:110)
>>>         at
>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:508)
>>>         at
>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:391)
>>>         at
>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:335)
>>>         at
>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:303)
>>>         at
>>> org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.applicationContext(IgniteSpringHelperImpl.java:379)
>>>         ... 9 more
>>> Caused by:
>>> org.springframework.beans.factory.BeanDefinitionStoreException: IOException
>>> parsing XML document from class path resource [org/apach
>>> e/ignite/tests/cassandra/connection-settings.xml]; nested exception is
>>> java.io.FileNotFoundException: class path resource [org/apache/ignite/te
>>> sts/cassandra/connection-settings.xml] cannot be opened because it does
>>> not exist
>>>         at
>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:343)
>>>         at
>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:303)
>>>         at
>>> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:180)
>>>         at
>>> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:216)
>>>         at
>>> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.importBeanDefinitionResource(DefaultBeanDefinitionDocument
>>> Reader.java:244)
>>>         ... 18 more
>>> Caused by: java.io.FileNotFoundException: class path resource
>>> [org/apache/ignite/tests/cassandra/connection-settings.xml] cannot be
>>> opened beca
>>> use it does not exist
>>>         at
>>> org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:172)
>>>         at
>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:329)
>>>         ... 22 more
>>> Failed to start grid: Failed to instantiate Spring XML application
>>> context [springUrl=file:/C:/Users/D-UA96OU/Desktop/Ignite/apache-ignite-fabr
>>> ic-1.6.0-SNAPSHOT-bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/config/default-config.xml,
>>> err=Configuration problem: Failed to import bean defin
>>> itions from URL location
>>> [classpath:org/apache/ignite/tests/cassandra/connection-settings.xml]
>>> Offending resource: URL
>>> [file:/C:/Users/D-UA96OU/Desktop/Ignite/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin
>>> /config/default-config.xml]; nested exception is
>>> org.springframework.beans.factory.BeanDefinitionStoreException: IOException
>>> parsing XML docume
>>> nt from class path resource
>>> [org/apache/ignite/tests/cassandra/connection-settings.xml]; nested
>>> exception is java.io.FileNotFoundException: cla
>>> ss path resource
>>> [org/apache/ignite/tests/cassandra/connection-settings.xml] cannot be
>>> opened because it does not exist]
>>> Press any key to continue . . .
>>>
>>> On Mon, May 23, 2016 at 1:41 PM, Ashish Dutt Sharma <[hidden email]
>>> <http:///user/SendEmail.jtp?type=node&node=5097&i=0>> wrote:
>>>
>>>> Thank you Alexey.
>>>>
>>>> I am unable to locate the test resources like the ignite configuration
>>>> files and the persistent descriptors in the package. Could you please help
>>>> me find them?
>>>>
>>>> I downloaded apache-ignite-fabric-1.6.0-SNAPSHOT-bin.zip
>>>> <https://builds.apache.org/view/H-L/view/Ignite/job/Ignite-nightly/lastSuccessfulBuild/artifact/target/bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin.zip> from
>>>> the link
>>>> https://builds.apache.org/view/H-L/view/Ignite/job/Ignite-nightly/lastSuccessfulBuild/
>>>> as the latest nightly version and then explored the ignite-Cassandra
>>>> module in the lib folder.
>>>>
>>>> I then downloaded the ignite-cassandra-1.6.0-SNAPSHOT.jar
>>>> <https://builds.apache.org/view/H-L/view/Ignite/job/Ignite-nightly/lastSuccessfulBuild/org.apache.ignite$ignite-cassandra/artifact/org.apache.ignite/ignite-cassandra/1.6.0-SNAPSHOT/ignite-cassandra-1.6.0-SNAPSHOT.jar> module
>>>> from the link
>>>> https://builds.apache.org/view/H-L/view/Ignite/job/Ignite-nightly/lastSuccessfulBuild/org.apache.ignite$ignite-cassandra/
>>>> but still could not find any test resources in it.
>>>>
>>>> When I try to start a node with the configuration file present on the
>>>> link https://github.com/irudyak/ignite/wiki/Examples
>>>>
>>>> I run into the below error..
>>>>
>>>> nested exception is org.springframework.beans.factory.BeanDefinitionS
>>>> eException: IOException parsing XML document from class path resource
>>>> [org/apache/ignite/tests/cassandra/connection-settings.xml]; nested ex
>>>> tion is java.io.FileNotFoundException: class path resource
>>>> [org/apache/ignite/tests/cassandra/connection-settings.xml] cannot be
>>>> opened beca
>>>>  it does not exist]
>>>>         at
>>>> org.apache.ignite.internal.util.IgniteUtils.convertException(IgniteUtils.java:900)
>>>>         at org.apache.ignite.Ignition.start(Ignition.java:350)
>>>>         at
>>>> org.apache.ignite.startup.cmdline.CommandLineStartup.main(CommandLineStartup.java:302)
>>>>
>>>> I understand the problem lies in finding the below resources in the
>>>> ignite configuration file.
>>>>
>>>> <!-- Cassandra connection settings -->
>>>>     <import
>>>> resource="classpath:org/apache/ignite/tests/cassandra/connection-settings.xml"
>>>> />
>>>>     <!-- Persistence settings for 'cache1' -->
>>>>     <bean id="cache1_persistence_settings"
>>>> class="org.apache.ignite.cache.store.cassandra.utils.persistence.KeyValuePersistenceSettings">
>>>>         <constructor-arg type="org.springframework.core.io.Resource"
>>>> value="classpath:org/apache/ignite/tests/persistence/blob/persistence-settings-1.xml"
>>>> />
>>>>     </bean>
>>>>     <!-- Persistence settings for 'cache2' -->
>>>>     <bean id="cache2_persistence_settings"
>>>> class="org.apache.ignite.cache.store.cassandra.utils.persistence.KeyValuePersistenceSettings">
>>>>         <constructor-arg type="org.springframework.core.io.Resource"
>>>> value="classpath:org/apache/ignite/tests/persistence/blob/persistence-settings-3.xml"
>>>> />
>>>>     </bean>
>>>>
>>>>
>>>> Could you please help me fill the gap by explaining if there is another
>>>> module that I should be working with or should there be any updates made?
>>>> Please let me know if you need any further information.
>>>>
>>>> Regards.
>>>>
>>>>
>>>> On Fri, May 20, 2016 at 10:19 AM, Alexey Kuznetsov [via Apache Ignite
>>>> Users] <[hidden email]
>>>> <http:///user/SendEmail.jtp?type=node&node=5097&i=1>> wrote:
>>>>
>>>>> If release vote will be successful then ignite-1.6 will be released
>>>>> next week.
>>>>> If not then it may take some time to fix issues and re-vote.
>>>>>
>>>>> Documentation may be added later, but for now you may use unofficial
>>>>> docs
>>>>>  from ignite-cassandra module contributor see
>>>>> https://github.com/irudyak/ignite/wiki
>>>>>
>>>>> Also, you may use latest nightly build and do not wait for release.
>>>>>  https://ignite.apache.org/community/contribute.html#nightly-builds
>>>>>
>>>>> Hope this help.
>>>>>
>>>>> On Fri, May 20, 2016 at 2:51 PM, ChickyDutt <[hidden email]
>>>>> <http:///user/SendEmail.jtp?type=node&node=5049&i=0>> wrote:
>>>>>
>>>>>> And as conveyed earlier, you expect Ignite 1.6 to be released next
>>>>>> week with the documentation for the if Cassandra module. Please correct me
>>>>>> if I am wrong.
>>>>>> On 20 May 2016 9:57 a.m., "Alexey Kuznetsov [via Apache Ignite
>>>>>> Users]" <[hidden email]
>>>>>> <http:///user/SendEmail.jtp?type=node&node=5048&i=0>> wrote:
>>>>>>
>>>>>>> Hi Chicky D.!
>>>>>>>
>>>>>>> About you first question about example - take a look
>>>>>>> for org.apache.ignite.tests.IgnitePersistentStoreTest - it use some xml
>>>>>>> configs.
>>>>>>>
>>>>>>> >> In addition to my previous query, Could you also help me
>>>>>>> understand if the patch file available on the below link is likely to
>>>>>>> undergo any further changes until the final release?
>>>>>>> >> https://issues.apache.org/jira/browse/IGNITE-1371
>>>>>>>
>>>>>>> No, this issue is merged into ignite-1.6  and issue is closed
>>>>>>> (sorry, I forgot to do it before).
>>>>>>>
>>>>>>> But you may open new issues in JIRA if you want.
>>>>>>>
>>>>>>> --
>>>>>>> Alexey Kuznetsov
>>>>>>> GridGain Systems
>>>>>>> www.gridgain.com
>>>>>>>
>>>>>>>
>>>>>>> ------------------------------
>>>>>>> If you reply to this email, your message will be added to the
>>>>>>> discussion below:
>>>>>>>
>>>>>>> http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5047.html
>>>>>>> To start a new topic under Apache Ignite Users, email [hidden email]
>>>>>>> <http:///user/SendEmail.jtp?type=node&node=5048&i=1>
>>>>>>> To unsubscribe from Apache Ignite Users, click here.
>>>>>>> NAML
>>>>>>> <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>>>>>>
>>>>>>
>>>>>> ------------------------------
>>>>>> View this message in context: Re: Persistence using Cassandra
>>>>>> <http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5048.html>
>>>>>> Sent from the Apache Ignite Users mailing list archive
>>>>>> <http://apache-ignite-users.70518.x6.nabble.com/> at Nabble.com.
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Alexey Kuznetsov
>>>>> GridGain Systems
>>>>> www.gridgain.com
>>>>>
>>>>>
>>>>> ------------------------------
>>>>> If you reply to this email, your message will be added to the
>>>>> discussion below:
>>>>>
>>>>> http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5049.html
>>>>> To start a new topic under Apache Ignite Users, email [hidden email]
>>>>> <http:///user/SendEmail.jtp?type=node&node=5097&i=2>
>>>>> To unsubscribe from Apache Ignite Users, click here.
>>>>> NAML
>>>>> <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>>>>
>>>>
>>>>
>>>
>>> ------------------------------
>>> View this message in context: Re: Persistence using Cassandra
>>> <http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5097.html>
>>> Sent from the Apache Ignite Users mailing list archive
>>> <http://apache-ignite-users.70518.x6.nabble.com/> at Nabble.com.
>>>
>>
>>
>>
>> --
>> Alexey Kuznetsov
>> GridGain Systems
>> www.gridgain.com
>>
>>
>> ------------------------------
>> If you reply to this email, your message will be added to the discussion
>> below:
>>
>> http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5114.html
>> To start a new topic under Apache Ignite Users, email [hidden email]
>> <http:///user/SendEmail.jtp?type=node&node=5534&i=1>
>> To unsubscribe from Apache Ignite Users, click here.
>> NAML
>> <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>
>
> ------------------------------
> View this message in context: Re: Persistence using Cassandra
> <http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5534.html>
> Sent from the Apache Ignite Users mailing list archive
> <http://apache-ignite-users.70518.x6.nabble.com/> at Nabble.com.
>



-- 
Alexey Kuznetsov
GridGain Systems
www.gridgain.com

Re: Persistence using Cassandra

Posted by ChickyDutt <as...@gmail.com>.
Thank you Alexey.

Do you have an example where the CacheConfiguration store is configured
using Java ?

Regards,
Ashish Sharma.

On Mon, May 23, 2016 at 3:28 PM, Alexey Kuznetsov [via Apache Ignite Users]
<ml...@n6.nabble.com> wrote:

> If you need tests - you need to download sources (
> https://ignite.apache.org/download.cgi#sources).
> Also, today we released Ignite 1.6 it should be available on Maven now.
>
> Hope this help.
>
> On Mon, May 23, 2016 at 6:35 PM, ChickyDutt <[hidden email]
> <http:///user/SendEmail.jtp?type=node&node=5114&i=0>> wrote:
>
>> Mentioned below are the complete logs
>>
>> class org.apache.ignite.IgniteException: Failed to instantiate Spring XML
>> application context [springUrl=file:/C:/Users/D-UA96OU/Desktop/Ignite
>> /apache-ignite-fabric-1.6.0-SNAPSHOT-bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/config/default-config.xml,
>> err=Configuration problem: Failed t
>> o import bean definitions from URL location
>> [classpath:org/apache/ignite/tests/cassandra/connection-settings.xml]
>> Offending resource: URL
>> [file:/C:/Users/D-UA96OU/Desktop/Ignite/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin
>> /config/default-config.xml]; nested exception is
>> org.springframework.beans.factory.BeanDefinitionStoreException: IOException
>> parsing XML docume
>> nt from class path resource
>> [org/apache/ignite/tests/cassandra/connection-settings.xml]; nested
>> exception is java.io.FileNotFoundException: cla
>> ss path resource
>> [org/apache/ignite/tests/cassandra/connection-settings.xml] cannot be
>> opened because it does not exist]
>>         at
>> org.apache.ignite.internal.util.IgniteUtils.convertException(IgniteUtils.java:906)
>>         at org.apache.ignite.Ignition.start(Ignition.java:350)
>>         at
>> org.apache.ignite.startup.cmdline.CommandLineStartup.main(CommandLineStartup.java:302)
>> Caused by: class org.apache.ignite.IgniteCheckedException: Failed to
>> instantiate Spring XML application context [springUrl=file:/C:/Users/D-UA9
>> 6OU/Desktop/Ignite/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/config/default-config.xml,
>> err=Configuration
>>  problem: Failed to import bean definitions from URL location
>> [classpath:org/apache/ignite/tests/cassandra/connection-settings.xml]
>> Offending resource: URL
>> [file:/C:/Users/D-UA96OU/Desktop/Ignite/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin
>> /config/default-config.xml]; nested exception is
>> org.springframework.beans.factory.BeanDefinitionStoreException: IOException
>> parsing XML docume
>> nt from class path resource
>> [org/apache/ignite/tests/cassandra/connection-settings.xml]; nested
>> exception is java.io.FileNotFoundException: cla
>> ss path resource
>> [org/apache/ignite/tests/cassandra/connection-settings.xml] cannot be
>> opened because it does not exist]
>>         at
>> org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.applicationContext(IgniteSpringHelperImpl.java:391)
>>         at
>> org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.loadConfigurations(IgniteSpringHelperImpl.java:104)
>>         at
>> org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.loadConfigurations(IgniteSpringHelperImpl.java:98)
>>         at
>> org.apache.ignite.internal.IgnitionEx.loadConfigurations(IgnitionEx.java:639)
>>         at
>> org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:840)
>>         at
>> org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:749)
>>         at
>> org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:619)
>>         at
>> org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:589)
>>         at org.apache.ignite.Ignition.start(Ignition.java:347)
>>         ... 1 more
>> Caused by:
>> org.springframework.beans.factory.parsing.BeanDefinitionParsingException:
>> Configuration problem: Failed to import bean definitions f
>> rom URL location
>> [classpath:org/apache/ignite/tests/cassandra/connection-settings.xml]
>> Offending resource: URL
>> [file:/C:/Users/D-UA96OU/Desktop/Ignite/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin
>> /config/default-config.xml]; nested exception is
>> org.springframework.beans.factory.BeanDefinitionStoreException: IOException
>> parsing XML docume
>> nt from class path resource
>> [org/apache/ignite/tests/cassandra/connection-settings.xml]; nested
>> exception is java.io.FileNotFoundException: cla
>> ss path resource
>> [org/apache/ignite/tests/cassandra/connection-settings.xml] cannot be
>> opened because it does not exist
>>         at
>> org.springframework.beans.factory.parsing.FailFastProblemReporter.error(FailFastProblemReporter.java:70)
>>         at
>> org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:85)
>>         at
>> org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:76)
>>         at
>> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.importBeanDefinitionResource(DefaultBeanDefinitionDocument
>> Reader.java:250)
>>         at
>> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseDefaultElement(DefaultBeanDefinitionDocumentReader.ja
>> va:201)
>>         at
>> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.j
>> ava:186)
>>         at
>> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.doRegisterBeanDefinitions(DefaultBeanDefinitionDocumentRea
>> der.java:143)
>>         at
>> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReade
>> r.java:110)
>>         at
>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:508)
>>         at
>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:391)
>>         at
>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:335)
>>         at
>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:303)
>>         at
>> org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.applicationContext(IgniteSpringHelperImpl.java:379)
>>         ... 9 more
>> Caused by:
>> org.springframework.beans.factory.BeanDefinitionStoreException: IOException
>> parsing XML document from class path resource [org/apach
>> e/ignite/tests/cassandra/connection-settings.xml]; nested exception is
>> java.io.FileNotFoundException: class path resource [org/apache/ignite/te
>> sts/cassandra/connection-settings.xml] cannot be opened because it does
>> not exist
>>         at
>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:343)
>>         at
>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:303)
>>         at
>> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:180)
>>         at
>> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:216)
>>         at
>> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.importBeanDefinitionResource(DefaultBeanDefinitionDocument
>> Reader.java:244)
>>         ... 18 more
>> Caused by: java.io.FileNotFoundException: class path resource
>> [org/apache/ignite/tests/cassandra/connection-settings.xml] cannot be
>> opened beca
>> use it does not exist
>>         at
>> org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:172)
>>         at
>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:329)
>>         ... 22 more
>> Failed to start grid: Failed to instantiate Spring XML application
>> context [springUrl=file:/C:/Users/D-UA96OU/Desktop/Ignite/apache-ignite-fabr
>> ic-1.6.0-SNAPSHOT-bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/config/default-config.xml,
>> err=Configuration problem: Failed to import bean defin
>> itions from URL location
>> [classpath:org/apache/ignite/tests/cassandra/connection-settings.xml]
>> Offending resource: URL
>> [file:/C:/Users/D-UA96OU/Desktop/Ignite/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin
>> /config/default-config.xml]; nested exception is
>> org.springframework.beans.factory.BeanDefinitionStoreException: IOException
>> parsing XML docume
>> nt from class path resource
>> [org/apache/ignite/tests/cassandra/connection-settings.xml]; nested
>> exception is java.io.FileNotFoundException: cla
>> ss path resource
>> [org/apache/ignite/tests/cassandra/connection-settings.xml] cannot be
>> opened because it does not exist]
>> Press any key to continue . . .
>>
>> On Mon, May 23, 2016 at 1:41 PM, Ashish Dutt Sharma <[hidden email]
>> <http:///user/SendEmail.jtp?type=node&node=5097&i=0>> wrote:
>>
>>> Thank you Alexey.
>>>
>>> I am unable to locate the test resources like the ignite configuration
>>> files and the persistent descriptors in the package. Could you please help
>>> me find them?
>>>
>>> I downloaded apache-ignite-fabric-1.6.0-SNAPSHOT-bin.zip
>>> <https://builds.apache.org/view/H-L/view/Ignite/job/Ignite-nightly/lastSuccessfulBuild/artifact/target/bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin.zip> from
>>> the link
>>> https://builds.apache.org/view/H-L/view/Ignite/job/Ignite-nightly/lastSuccessfulBuild/
>>> as the latest nightly version and then explored the ignite-Cassandra
>>> module in the lib folder.
>>>
>>> I then downloaded the ignite-cassandra-1.6.0-SNAPSHOT.jar
>>> <https://builds.apache.org/view/H-L/view/Ignite/job/Ignite-nightly/lastSuccessfulBuild/org.apache.ignite$ignite-cassandra/artifact/org.apache.ignite/ignite-cassandra/1.6.0-SNAPSHOT/ignite-cassandra-1.6.0-SNAPSHOT.jar> module
>>> from the link
>>> https://builds.apache.org/view/H-L/view/Ignite/job/Ignite-nightly/lastSuccessfulBuild/org.apache.ignite$ignite-cassandra/
>>> but still could not find any test resources in it.
>>>
>>> When I try to start a node with the configuration file present on the
>>> link https://github.com/irudyak/ignite/wiki/Examples
>>>
>>> I run into the below error..
>>>
>>> nested exception is org.springframework.beans.factory.BeanDefinitionS
>>> eException: IOException parsing XML document from class path resource
>>> [org/apache/ignite/tests/cassandra/connection-settings.xml]; nested ex
>>> tion is java.io.FileNotFoundException: class path resource
>>> [org/apache/ignite/tests/cassandra/connection-settings.xml] cannot be
>>> opened beca
>>>  it does not exist]
>>>         at
>>> org.apache.ignite.internal.util.IgniteUtils.convertException(IgniteUtils.java:900)
>>>         at org.apache.ignite.Ignition.start(Ignition.java:350)
>>>         at
>>> org.apache.ignite.startup.cmdline.CommandLineStartup.main(CommandLineStartup.java:302)
>>>
>>> I understand the problem lies in finding the below resources in the
>>> ignite configuration file.
>>>
>>> <!-- Cassandra connection settings -->
>>>     <import
>>> resource="classpath:org/apache/ignite/tests/cassandra/connection-settings.xml"
>>> />
>>>     <!-- Persistence settings for 'cache1' -->
>>>     <bean id="cache1_persistence_settings"
>>> class="org.apache.ignite.cache.store.cassandra.utils.persistence.KeyValuePersistenceSettings">
>>>         <constructor-arg type="org.springframework.core.io.Resource"
>>> value="classpath:org/apache/ignite/tests/persistence/blob/persistence-settings-1.xml"
>>> />
>>>     </bean>
>>>     <!-- Persistence settings for 'cache2' -->
>>>     <bean id="cache2_persistence_settings"
>>> class="org.apache.ignite.cache.store.cassandra.utils.persistence.KeyValuePersistenceSettings">
>>>         <constructor-arg type="org.springframework.core.io.Resource"
>>> value="classpath:org/apache/ignite/tests/persistence/blob/persistence-settings-3.xml"
>>> />
>>>     </bean>
>>>
>>>
>>> Could you please help me fill the gap by explaining if there is another
>>> module that I should be working with or should there be any updates made?
>>> Please let me know if you need any further information.
>>>
>>> Regards.
>>>
>>>
>>> On Fri, May 20, 2016 at 10:19 AM, Alexey Kuznetsov [via Apache Ignite
>>> Users] <[hidden email]
>>> <http:///user/SendEmail.jtp?type=node&node=5097&i=1>> wrote:
>>>
>>>> If release vote will be successful then ignite-1.6 will be released
>>>> next week.
>>>> If not then it may take some time to fix issues and re-vote.
>>>>
>>>> Documentation may be added later, but for now you may use unofficial
>>>> docs
>>>>  from ignite-cassandra module contributor see
>>>> https://github.com/irudyak/ignite/wiki
>>>>
>>>> Also, you may use latest nightly build and do not wait for release.
>>>>  https://ignite.apache.org/community/contribute.html#nightly-builds
>>>>
>>>> Hope this help.
>>>>
>>>> On Fri, May 20, 2016 at 2:51 PM, ChickyDutt <[hidden email]
>>>> <http:///user/SendEmail.jtp?type=node&node=5049&i=0>> wrote:
>>>>
>>>>> And as conveyed earlier, you expect Ignite 1.6 to be released next
>>>>> week with the documentation for the if Cassandra module. Please correct me
>>>>> if I am wrong.
>>>>> On 20 May 2016 9:57 a.m., "Alexey Kuznetsov [via Apache Ignite Users]"
>>>>> <[hidden email] <http:///user/SendEmail.jtp?type=node&node=5048&i=0>>
>>>>> wrote:
>>>>>
>>>>>> Hi Chicky D.!
>>>>>>
>>>>>> About you first question about example - take a look
>>>>>> for org.apache.ignite.tests.IgnitePersistentStoreTest - it use some xml
>>>>>> configs.
>>>>>>
>>>>>> >> In addition to my previous query, Could you also help me
>>>>>> understand if the patch file available on the below link is likely to
>>>>>> undergo any further changes until the final release?
>>>>>> >> https://issues.apache.org/jira/browse/IGNITE-1371
>>>>>>
>>>>>> No, this issue is merged into ignite-1.6  and issue is closed (sorry,
>>>>>> I forgot to do it before).
>>>>>>
>>>>>> But you may open new issues in JIRA if you want.
>>>>>>
>>>>>> --
>>>>>> Alexey Kuznetsov
>>>>>> GridGain Systems
>>>>>> www.gridgain.com
>>>>>>
>>>>>>
>>>>>> ------------------------------
>>>>>> If you reply to this email, your message will be added to the
>>>>>> discussion below:
>>>>>>
>>>>>> http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5047.html
>>>>>> To start a new topic under Apache Ignite Users, email [hidden email]
>>>>>> <http:///user/SendEmail.jtp?type=node&node=5048&i=1>
>>>>>> To unsubscribe from Apache Ignite Users, click here.
>>>>>> NAML
>>>>>> <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>>>>>
>>>>>
>>>>> ------------------------------
>>>>> View this message in context: Re: Persistence using Cassandra
>>>>> <http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5048.html>
>>>>> Sent from the Apache Ignite Users mailing list archive
>>>>> <http://apache-ignite-users.70518.x6.nabble.com/> at Nabble.com.
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Alexey Kuznetsov
>>>> GridGain Systems
>>>> www.gridgain.com
>>>>
>>>>
>>>> ------------------------------
>>>> If you reply to this email, your message will be added to the
>>>> discussion below:
>>>>
>>>> http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5049.html
>>>> To start a new topic under Apache Ignite Users, email [hidden email]
>>>> <http:///user/SendEmail.jtp?type=node&node=5097&i=2>
>>>> To unsubscribe from Apache Ignite Users, click here.
>>>> NAML
>>>> <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>>>
>>>
>>>
>>
>> ------------------------------
>> View this message in context: Re: Persistence using Cassandra
>> <http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5097.html>
>> Sent from the Apache Ignite Users mailing list archive
>> <http://apache-ignite-users.70518.x6.nabble.com/> at Nabble.com.
>>
>
>
>
> --
> Alexey Kuznetsov
> GridGain Systems
> www.gridgain.com
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5114.html
> To start a new topic under Apache Ignite Users, email
> ml-node+s70518n1h6@n6.nabble.com
> To unsubscribe from Apache Ignite Users, click here
> <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=1&code=YXNoLmR1dHQuc2hhcm1hQGdtYWlsLmNvbXwxfC0xOTcwMDkyNjky>
> .
> NAML
> <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5534.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Persistence using Cassandra

Posted by Alexey Kuznetsov <ak...@gridgain.com>.
If you need tests - you need to download sources (
https://ignite.apache.org/download.cgi#sources).
Also, today we released Ignite 1.6 it should be available on Maven now.

Hope this help.

On Mon, May 23, 2016 at 6:35 PM, ChickyDutt <as...@gmail.com>
wrote:

> Mentioned below are the complete logs
>
> class org.apache.ignite.IgniteException: Failed to instantiate Spring XML
> application context [springUrl=file:/C:/Users/D-UA96OU/Desktop/Ignite
> /apache-ignite-fabric-1.6.0-SNAPSHOT-bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/config/default-config.xml,
> err=Configuration problem: Failed t
> o import bean definitions from URL location
> [classpath:org/apache/ignite/tests/cassandra/connection-settings.xml]
> Offending resource: URL
> [file:/C:/Users/D-UA96OU/Desktop/Ignite/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin
> /config/default-config.xml]; nested exception is
> org.springframework.beans.factory.BeanDefinitionStoreException: IOException
> parsing XML docume
> nt from class path resource
> [org/apache/ignite/tests/cassandra/connection-settings.xml]; nested
> exception is java.io.FileNotFoundException: cla
> ss path resource
> [org/apache/ignite/tests/cassandra/connection-settings.xml] cannot be
> opened because it does not exist]
>         at
> org.apache.ignite.internal.util.IgniteUtils.convertException(IgniteUtils.java:906)
>         at org.apache.ignite.Ignition.start(Ignition.java:350)
>         at
> org.apache.ignite.startup.cmdline.CommandLineStartup.main(CommandLineStartup.java:302)
> Caused by: class org.apache.ignite.IgniteCheckedException: Failed to
> instantiate Spring XML application context [springUrl=file:/C:/Users/D-UA9
> 6OU/Desktop/Ignite/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/config/default-config.xml,
> err=Configuration
>  problem: Failed to import bean definitions from URL location
> [classpath:org/apache/ignite/tests/cassandra/connection-settings.xml]
> Offending resource: URL
> [file:/C:/Users/D-UA96OU/Desktop/Ignite/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin
> /config/default-config.xml]; nested exception is
> org.springframework.beans.factory.BeanDefinitionStoreException: IOException
> parsing XML docume
> nt from class path resource
> [org/apache/ignite/tests/cassandra/connection-settings.xml]; nested
> exception is java.io.FileNotFoundException: cla
> ss path resource
> [org/apache/ignite/tests/cassandra/connection-settings.xml] cannot be
> opened because it does not exist]
>         at
> org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.applicationContext(IgniteSpringHelperImpl.java:391)
>         at
> org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.loadConfigurations(IgniteSpringHelperImpl.java:104)
>         at
> org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.loadConfigurations(IgniteSpringHelperImpl.java:98)
>         at
> org.apache.ignite.internal.IgnitionEx.loadConfigurations(IgnitionEx.java:639)
>         at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:840)
>         at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:749)
>         at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:619)
>         at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:589)
>         at org.apache.ignite.Ignition.start(Ignition.java:347)
>         ... 1 more
> Caused by:
> org.springframework.beans.factory.parsing.BeanDefinitionParsingException:
> Configuration problem: Failed to import bean definitions f
> rom URL location
> [classpath:org/apache/ignite/tests/cassandra/connection-settings.xml]
> Offending resource: URL
> [file:/C:/Users/D-UA96OU/Desktop/Ignite/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin
> /config/default-config.xml]; nested exception is
> org.springframework.beans.factory.BeanDefinitionStoreException: IOException
> parsing XML docume
> nt from class path resource
> [org/apache/ignite/tests/cassandra/connection-settings.xml]; nested
> exception is java.io.FileNotFoundException: cla
> ss path resource
> [org/apache/ignite/tests/cassandra/connection-settings.xml] cannot be
> opened because it does not exist
>         at
> org.springframework.beans.factory.parsing.FailFastProblemReporter.error(FailFastProblemReporter.java:70)
>         at
> org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:85)
>         at
> org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:76)
>         at
> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.importBeanDefinitionResource(DefaultBeanDefinitionDocument
> Reader.java:250)
>         at
> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseDefaultElement(DefaultBeanDefinitionDocumentReader.ja
> va:201)
>         at
> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.j
> ava:186)
>         at
> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.doRegisterBeanDefinitions(DefaultBeanDefinitionDocumentRea
> der.java:143)
>         at
> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReade
> r.java:110)
>         at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:508)
>         at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:391)
>         at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:335)
>         at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:303)
>         at
> org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.applicationContext(IgniteSpringHelperImpl.java:379)
>         ... 9 more
> Caused by: org.springframework.beans.factory.BeanDefinitionStoreException:
> IOException parsing XML document from class path resource [org/apach
> e/ignite/tests/cassandra/connection-settings.xml]; nested exception is
> java.io.FileNotFoundException: class path resource [org/apache/ignite/te
> sts/cassandra/connection-settings.xml] cannot be opened because it does
> not exist
>         at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:343)
>         at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:303)
>         at
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:180)
>         at
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:216)
>         at
> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.importBeanDefinitionResource(DefaultBeanDefinitionDocument
> Reader.java:244)
>         ... 18 more
> Caused by: java.io.FileNotFoundException: class path resource
> [org/apache/ignite/tests/cassandra/connection-settings.xml] cannot be
> opened beca
> use it does not exist
>         at
> org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:172)
>         at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:329)
>         ... 22 more
> Failed to start grid: Failed to instantiate Spring XML application context
> [springUrl=file:/C:/Users/D-UA96OU/Desktop/Ignite/apache-ignite-fabr
> ic-1.6.0-SNAPSHOT-bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/config/default-config.xml,
> err=Configuration problem: Failed to import bean defin
> itions from URL location
> [classpath:org/apache/ignite/tests/cassandra/connection-settings.xml]
> Offending resource: URL
> [file:/C:/Users/D-UA96OU/Desktop/Ignite/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin
> /config/default-config.xml]; nested exception is
> org.springframework.beans.factory.BeanDefinitionStoreException: IOException
> parsing XML docume
> nt from class path resource
> [org/apache/ignite/tests/cassandra/connection-settings.xml]; nested
> exception is java.io.FileNotFoundException: cla
> ss path resource
> [org/apache/ignite/tests/cassandra/connection-settings.xml] cannot be
> opened because it does not exist]
> Press any key to continue . . .
>
> On Mon, May 23, 2016 at 1:41 PM, Ashish Dutt Sharma <[hidden email]
> <http:///user/SendEmail.jtp?type=node&node=5097&i=0>> wrote:
>
>> Thank you Alexey.
>>
>> I am unable to locate the test resources like the ignite configuration
>> files and the persistent descriptors in the package. Could you please help
>> me find them?
>>
>> I downloaded apache-ignite-fabric-1.6.0-SNAPSHOT-bin.zip
>> <https://builds.apache.org/view/H-L/view/Ignite/job/Ignite-nightly/lastSuccessfulBuild/artifact/target/bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin.zip> from
>> the link
>> https://builds.apache.org/view/H-L/view/Ignite/job/Ignite-nightly/lastSuccessfulBuild/
>> as the latest nightly version and then explored the ignite-Cassandra
>> module in the lib folder.
>>
>> I then downloaded the ignite-cassandra-1.6.0-SNAPSHOT.jar
>> <https://builds.apache.org/view/H-L/view/Ignite/job/Ignite-nightly/lastSuccessfulBuild/org.apache.ignite$ignite-cassandra/artifact/org.apache.ignite/ignite-cassandra/1.6.0-SNAPSHOT/ignite-cassandra-1.6.0-SNAPSHOT.jar> module
>> from the link
>> https://builds.apache.org/view/H-L/view/Ignite/job/Ignite-nightly/lastSuccessfulBuild/org.apache.ignite$ignite-cassandra/
>> but still could not find any test resources in it.
>>
>> When I try to start a node with the configuration file present on the
>> link https://github.com/irudyak/ignite/wiki/Examples
>>
>> I run into the below error..
>>
>> nested exception is org.springframework.beans.factory.BeanDefinitionS
>> eException: IOException parsing XML document from class path resource
>> [org/apache/ignite/tests/cassandra/connection-settings.xml]; nested ex
>> tion is java.io.FileNotFoundException: class path resource
>> [org/apache/ignite/tests/cassandra/connection-settings.xml] cannot be
>> opened beca
>>  it does not exist]
>>         at
>> org.apache.ignite.internal.util.IgniteUtils.convertException(IgniteUtils.java:900)
>>         at org.apache.ignite.Ignition.start(Ignition.java:350)
>>         at
>> org.apache.ignite.startup.cmdline.CommandLineStartup.main(CommandLineStartup.java:302)
>>
>> I understand the problem lies in finding the below resources in the
>> ignite configuration file.
>>
>> <!-- Cassandra connection settings -->
>>     <import
>> resource="classpath:org/apache/ignite/tests/cassandra/connection-settings.xml"
>> />
>>     <!-- Persistence settings for 'cache1' -->
>>     <bean id="cache1_persistence_settings"
>> class="org.apache.ignite.cache.store.cassandra.utils.persistence.KeyValuePersistenceSettings">
>>         <constructor-arg type="org.springframework.core.io.Resource"
>> value="classpath:org/apache/ignite/tests/persistence/blob/persistence-settings-1.xml"
>> />
>>     </bean>
>>     <!-- Persistence settings for 'cache2' -->
>>     <bean id="cache2_persistence_settings"
>> class="org.apache.ignite.cache.store.cassandra.utils.persistence.KeyValuePersistenceSettings">
>>         <constructor-arg type="org.springframework.core.io.Resource"
>> value="classpath:org/apache/ignite/tests/persistence/blob/persistence-settings-3.xml"
>> />
>>     </bean>
>>
>>
>> Could you please help me fill the gap by explaining if there is another
>> module that I should be working with or should there be any updates made?
>> Please let me know if you need any further information.
>>
>> Regards.
>>
>>
>> On Fri, May 20, 2016 at 10:19 AM, Alexey Kuznetsov [via Apache Ignite
>> Users] <[hidden email]
>> <http:///user/SendEmail.jtp?type=node&node=5097&i=1>> wrote:
>>
>>> If release vote will be successful then ignite-1.6 will be released next
>>> week.
>>> If not then it may take some time to fix issues and re-vote.
>>>
>>> Documentation may be added later, but for now you may use unofficial docs
>>>  from ignite-cassandra module contributor see
>>> https://github.com/irudyak/ignite/wiki
>>>
>>> Also, you may use latest nightly build and do not wait for release.
>>>  https://ignite.apache.org/community/contribute.html#nightly-builds
>>>
>>> Hope this help.
>>>
>>> On Fri, May 20, 2016 at 2:51 PM, ChickyDutt <[hidden email]
>>> <http:///user/SendEmail.jtp?type=node&node=5049&i=0>> wrote:
>>>
>>>> And as conveyed earlier, you expect Ignite 1.6 to be released next week
>>>> with the documentation for the if Cassandra module. Please correct me if I
>>>> am wrong.
>>>> On 20 May 2016 9:57 a.m., "Alexey Kuznetsov [via Apache Ignite Users]" <[hidden
>>>> email] <http:///user/SendEmail.jtp?type=node&node=5048&i=0>> wrote:
>>>>
>>>>> Hi Chicky D.!
>>>>>
>>>>> About you first question about example - take a look
>>>>> for org.apache.ignite.tests.IgnitePersistentStoreTest - it use some xml
>>>>> configs.
>>>>>
>>>>> >> In addition to my previous query, Could you also help me understand
>>>>> if the patch file available on the below link is likely to undergo any
>>>>> further changes until the final release?
>>>>> >> https://issues.apache.org/jira/browse/IGNITE-1371
>>>>>
>>>>> No, this issue is merged into ignite-1.6  and issue is closed (sorry,
>>>>> I forgot to do it before).
>>>>>
>>>>> But you may open new issues in JIRA if you want.
>>>>>
>>>>> --
>>>>> Alexey Kuznetsov
>>>>> GridGain Systems
>>>>> www.gridgain.com
>>>>>
>>>>>
>>>>> ------------------------------
>>>>> If you reply to this email, your message will be added to the
>>>>> discussion below:
>>>>>
>>>>> http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5047.html
>>>>> To start a new topic under Apache Ignite Users, email [hidden email]
>>>>> <http:///user/SendEmail.jtp?type=node&node=5048&i=1>
>>>>> To unsubscribe from Apache Ignite Users, click here.
>>>>> NAML
>>>>> <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>>>>
>>>>
>>>> ------------------------------
>>>> View this message in context: Re: Persistence using Cassandra
>>>> <http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5048.html>
>>>> Sent from the Apache Ignite Users mailing list archive
>>>> <http://apache-ignite-users.70518.x6.nabble.com/> at Nabble.com.
>>>>
>>>
>>>
>>>
>>> --
>>> Alexey Kuznetsov
>>> GridGain Systems
>>> www.gridgain.com
>>>
>>>
>>> ------------------------------
>>> If you reply to this email, your message will be added to the discussion
>>> below:
>>>
>>> http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5049.html
>>> To start a new topic under Apache Ignite Users, email [hidden email]
>>> <http:///user/SendEmail.jtp?type=node&node=5097&i=2>
>>> To unsubscribe from Apache Ignite Users, click here.
>>> NAML
>>> <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>>
>>
>>
>
> ------------------------------
> View this message in context: Re: Persistence using Cassandra
> <http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5097.html>
> Sent from the Apache Ignite Users mailing list archive
> <http://apache-ignite-users.70518.x6.nabble.com/> at Nabble.com.
>



-- 
Alexey Kuznetsov
GridGain Systems
www.gridgain.com

Re: Persistence using Cassandra

Posted by ChickyDutt <as...@gmail.com>.
Mentioned below are the complete logs

class org.apache.ignite.IgniteException: Failed to instantiate Spring XML
application context [springUrl=file:/C:/Users/D-UA96OU/Desktop/Ignite
/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/config/default-config.xml,
err=Configuration problem: Failed t
o import bean definitions from URL location
[classpath:org/apache/ignite/tests/cassandra/connection-settings.xml]
Offending resource: URL
[file:/C:/Users/D-UA96OU/Desktop/Ignite/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin
/config/default-config.xml]; nested exception is
org.springframework.beans.factory.BeanDefinitionStoreException: IOException
parsing XML docume
nt from class path resource
[org/apache/ignite/tests/cassandra/connection-settings.xml]; nested
exception is java.io.FileNotFoundException: cla
ss path resource
[org/apache/ignite/tests/cassandra/connection-settings.xml] cannot be
opened because it does not exist]
        at
org.apache.ignite.internal.util.IgniteUtils.convertException(IgniteUtils.java:906)
        at org.apache.ignite.Ignition.start(Ignition.java:350)
        at
org.apache.ignite.startup.cmdline.CommandLineStartup.main(CommandLineStartup.java:302)
Caused by: class org.apache.ignite.IgniteCheckedException: Failed to
instantiate Spring XML application context [springUrl=file:/C:/Users/D-UA9
6OU/Desktop/Ignite/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/config/default-config.xml,
err=Configuration
 problem: Failed to import bean definitions from URL location
[classpath:org/apache/ignite/tests/cassandra/connection-settings.xml]
Offending resource: URL
[file:/C:/Users/D-UA96OU/Desktop/Ignite/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin
/config/default-config.xml]; nested exception is
org.springframework.beans.factory.BeanDefinitionStoreException: IOException
parsing XML docume
nt from class path resource
[org/apache/ignite/tests/cassandra/connection-settings.xml]; nested
exception is java.io.FileNotFoundException: cla
ss path resource
[org/apache/ignite/tests/cassandra/connection-settings.xml] cannot be
opened because it does not exist]
        at
org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.applicationContext(IgniteSpringHelperImpl.java:391)
        at
org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.loadConfigurations(IgniteSpringHelperImpl.java:104)
        at
org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.loadConfigurations(IgniteSpringHelperImpl.java:98)
        at
org.apache.ignite.internal.IgnitionEx.loadConfigurations(IgnitionEx.java:639)
        at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:840)
        at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:749)
        at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:619)
        at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:589)
        at org.apache.ignite.Ignition.start(Ignition.java:347)
        ... 1 more
Caused by:
org.springframework.beans.factory.parsing.BeanDefinitionParsingException:
Configuration problem: Failed to import bean definitions f
rom URL location
[classpath:org/apache/ignite/tests/cassandra/connection-settings.xml]
Offending resource: URL
[file:/C:/Users/D-UA96OU/Desktop/Ignite/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin
/config/default-config.xml]; nested exception is
org.springframework.beans.factory.BeanDefinitionStoreException: IOException
parsing XML docume
nt from class path resource
[org/apache/ignite/tests/cassandra/connection-settings.xml]; nested
exception is java.io.FileNotFoundException: cla
ss path resource
[org/apache/ignite/tests/cassandra/connection-settings.xml] cannot be
opened because it does not exist
        at
org.springframework.beans.factory.parsing.FailFastProblemReporter.error(FailFastProblemReporter.java:70)
        at
org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:85)
        at
org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:76)
        at
org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.importBeanDefinitionResource(DefaultBeanDefinitionDocument
Reader.java:250)
        at
org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseDefaultElement(DefaultBeanDefinitionDocumentReader.ja
va:201)
        at
org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.j
ava:186)
        at
org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.doRegisterBeanDefinitions(DefaultBeanDefinitionDocumentRea
der.java:143)
        at
org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReade
r.java:110)
        at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:508)
        at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:391)
        at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:335)
        at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:303)
        at
org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.applicationContext(IgniteSpringHelperImpl.java:379)
        ... 9 more
Caused by: org.springframework.beans.factory.BeanDefinitionStoreException:
IOException parsing XML document from class path resource [org/apach
e/ignite/tests/cassandra/connection-settings.xml]; nested exception is
java.io.FileNotFoundException: class path resource [org/apache/ignite/te
sts/cassandra/connection-settings.xml] cannot be opened because it does not
exist
        at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:343)
        at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:303)
        at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:180)
        at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:216)
        at
org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.importBeanDefinitionResource(DefaultBeanDefinitionDocument
Reader.java:244)
        ... 18 more
Caused by: java.io.FileNotFoundException: class path resource
[org/apache/ignite/tests/cassandra/connection-settings.xml] cannot be
opened beca
use it does not exist
        at
org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:172)
        at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:329)
        ... 22 more
Failed to start grid: Failed to instantiate Spring XML application context
[springUrl=file:/C:/Users/D-UA96OU/Desktop/Ignite/apache-ignite-fabr
ic-1.6.0-SNAPSHOT-bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/config/default-config.xml,
err=Configuration problem: Failed to import bean defin
itions from URL location
[classpath:org/apache/ignite/tests/cassandra/connection-settings.xml]
Offending resource: URL
[file:/C:/Users/D-UA96OU/Desktop/Ignite/apache-ignite-fabric-1.6.0-SNAPSHOT-bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin
/config/default-config.xml]; nested exception is
org.springframework.beans.factory.BeanDefinitionStoreException: IOException
parsing XML docume
nt from class path resource
[org/apache/ignite/tests/cassandra/connection-settings.xml]; nested
exception is java.io.FileNotFoundException: cla
ss path resource
[org/apache/ignite/tests/cassandra/connection-settings.xml] cannot be
opened because it does not exist]
Press any key to continue . . .

On Mon, May 23, 2016 at 1:41 PM, Ashish Dutt Sharma <
ash.dutt.sharma@gmail.com> wrote:

> Thank you Alexey.
>
> I am unable to locate the test resources like the ignite configuration
> files and the persistent descriptors in the package. Could you please help
> me find them?
>
> I downloaded apache-ignite-fabric-1.6.0-SNAPSHOT-bin.zip
> <https://builds.apache.org/view/H-L/view/Ignite/job/Ignite-nightly/lastSuccessfulBuild/artifact/target/bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin.zip> from
> the link
> https://builds.apache.org/view/H-L/view/Ignite/job/Ignite-nightly/lastSuccessfulBuild/
> as the latest nightly version and then explored the ignite-Cassandra
> module in the lib folder.
>
> I then downloaded the ignite-cassandra-1.6.0-SNAPSHOT.jar
> <https://builds.apache.org/view/H-L/view/Ignite/job/Ignite-nightly/lastSuccessfulBuild/org.apache.ignite$ignite-cassandra/artifact/org.apache.ignite/ignite-cassandra/1.6.0-SNAPSHOT/ignite-cassandra-1.6.0-SNAPSHOT.jar> module
> from the link
> https://builds.apache.org/view/H-L/view/Ignite/job/Ignite-nightly/lastSuccessfulBuild/org.apache.ignite$ignite-cassandra/
> but still could not find any test resources in it.
>
> When I try to start a node with the configuration file present on the link
> https://github.com/irudyak/ignite/wiki/Examples
>
> I run into the below error..
>
> nested exception is org.springframework.beans.factory.BeanDefinitionS
> eException: IOException parsing XML document from class path resource
> [org/apache/ignite/tests/cassandra/connection-settings.xml]; nested ex
> tion is java.io.FileNotFoundException: class path resource
> [org/apache/ignite/tests/cassandra/connection-settings.xml] cannot be
> opened beca
>  it does not exist]
>         at
> org.apache.ignite.internal.util.IgniteUtils.convertException(IgniteUtils.java:900)
>         at org.apache.ignite.Ignition.start(Ignition.java:350)
>         at
> org.apache.ignite.startup.cmdline.CommandLineStartup.main(CommandLineStartup.java:302)
>
> I understand the problem lies in finding the below resources in the ignite
> configuration file.
>
> <!-- Cassandra connection settings -->
>     <import
> resource="classpath:org/apache/ignite/tests/cassandra/connection-settings.xml"
> />
>     <!-- Persistence settings for 'cache1' -->
>     <bean id="cache1_persistence_settings"
> class="org.apache.ignite.cache.store.cassandra.utils.persistence.KeyValuePersistenceSettings">
>         <constructor-arg type="org.springframework.core.io.Resource"
> value="classpath:org/apache/ignite/tests/persistence/blob/persistence-settings-1.xml"
> />
>     </bean>
>     <!-- Persistence settings for 'cache2' -->
>     <bean id="cache2_persistence_settings"
> class="org.apache.ignite.cache.store.cassandra.utils.persistence.KeyValuePersistenceSettings">
>         <constructor-arg type="org.springframework.core.io.Resource"
> value="classpath:org/apache/ignite/tests/persistence/blob/persistence-settings-3.xml"
> />
>     </bean>
>
>
> Could you please help me fill the gap by explaining if there is another
> module that I should be working with or should there be any updates made?
> Please let me know if you need any further information.
>
> Regards.
>
>
> On Fri, May 20, 2016 at 10:19 AM, Alexey Kuznetsov [via Apache Ignite
> Users] <ml...@n6.nabble.com> wrote:
>
>> If release vote will be successful then ignite-1.6 will be released next
>> week.
>> If not then it may take some time to fix issues and re-vote.
>>
>> Documentation may be added later, but for now you may use unofficial docs
>>  from ignite-cassandra module contributor see
>> https://github.com/irudyak/ignite/wiki
>>
>> Also, you may use latest nightly build and do not wait for release.
>>  https://ignite.apache.org/community/contribute.html#nightly-builds
>>
>> Hope this help.
>>
>> On Fri, May 20, 2016 at 2:51 PM, ChickyDutt <[hidden email]
>> <http:///user/SendEmail.jtp?type=node&node=5049&i=0>> wrote:
>>
>>> And as conveyed earlier, you expect Ignite 1.6 to be released next week
>>> with the documentation for the if Cassandra module. Please correct me if I
>>> am wrong.
>>> On 20 May 2016 9:57 a.m., "Alexey Kuznetsov [via Apache Ignite Users]" <[hidden
>>> email] <http:///user/SendEmail.jtp?type=node&node=5048&i=0>> wrote:
>>>
>>>> Hi Chicky D.!
>>>>
>>>> About you first question about example - take a look
>>>> for org.apache.ignite.tests.IgnitePersistentStoreTest - it use some xml
>>>> configs.
>>>>
>>>> >> In addition to my previous query, Could you also help me understand
>>>> if the patch file available on the below link is likely to undergo any
>>>> further changes until the final release?
>>>> >> https://issues.apache.org/jira/browse/IGNITE-1371
>>>>
>>>> No, this issue is merged into ignite-1.6  and issue is closed (sorry, I
>>>> forgot to do it before).
>>>>
>>>> But you may open new issues in JIRA if you want.
>>>>
>>>> --
>>>> Alexey Kuznetsov
>>>> GridGain Systems
>>>> www.gridgain.com
>>>>
>>>>
>>>> ------------------------------
>>>> If you reply to this email, your message will be added to the
>>>> discussion below:
>>>>
>>>> http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5047.html
>>>> To start a new topic under Apache Ignite Users, email [hidden email]
>>>> <http:///user/SendEmail.jtp?type=node&node=5048&i=1>
>>>> To unsubscribe from Apache Ignite Users, click here.
>>>> NAML
>>>> <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>>>
>>>
>>> ------------------------------
>>> View this message in context: Re: Persistence using Cassandra
>>> <http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5048.html>
>>> Sent from the Apache Ignite Users mailing list archive
>>> <http://apache-ignite-users.70518.x6.nabble.com/> at Nabble.com.
>>>
>>
>>
>>
>> --
>> Alexey Kuznetsov
>> GridGain Systems
>> www.gridgain.com
>>
>>
>> ------------------------------
>> If you reply to this email, your message will be added to the discussion
>> below:
>>
>> http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5049.html
>> To start a new topic under Apache Ignite Users, email
>> ml-node+s70518n1h6@n6.nabble.com
>> To unsubscribe from Apache Ignite Users, click here
>> <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=1&code=YXNoLmR1dHQuc2hhcm1hQGdtYWlsLmNvbXwxfC0xOTcwMDkyNjky>
>> .
>> NAML
>> <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>
>




--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5097.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Persistence using Cassandra

Posted by ChickyDutt <as...@gmail.com>.
Thank you Alexey.

I am unable to locate the test resources like the ignite configuration
files and the persistent descriptors in the package. Could you please help
me find them?

I downloaded apache-ignite-fabric-1.6.0-SNAPSHOT-bin.zip
<https://builds.apache.org/view/H-L/view/Ignite/job/Ignite-nightly/lastSuccessfulBuild/artifact/target/bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin.zip>
from
the link
https://builds.apache.org/view/H-L/view/Ignite/job/Ignite-nightly/lastSuccessfulBuild/
as the latest nightly version and then explored the ignite-Cassandra module
in the lib folder.

I then downloaded the ignite-cassandra-1.6.0-SNAPSHOT.jar
<https://builds.apache.org/view/H-L/view/Ignite/job/Ignite-nightly/lastSuccessfulBuild/org.apache.ignite$ignite-cassandra/artifact/org.apache.ignite/ignite-cassandra/1.6.0-SNAPSHOT/ignite-cassandra-1.6.0-SNAPSHOT.jar>
module
from the link
https://builds.apache.org/view/H-L/view/Ignite/job/Ignite-nightly/lastSuccessfulBuild/org.apache.ignite$ignite-cassandra/
but still could not find any test resources in it.

When I try to start a node with the configuration file present on the link
https://github.com/irudyak/ignite/wiki/Examples

I run into the below error..

nested exception is org.springframework.beans.factory.BeanDefinitionS
eException: IOException parsing XML document from class path resource
[org/apache/ignite/tests/cassandra/connection-settings.xml]; nested ex
tion is java.io.FileNotFoundException: class path resource
[org/apache/ignite/tests/cassandra/connection-settings.xml] cannot be
opened beca
 it does not exist]
        at
org.apache.ignite.internal.util.IgniteUtils.convertException(IgniteUtils.java:900)
        at org.apache.ignite.Ignition.start(Ignition.java:350)
        at
org.apache.ignite.startup.cmdline.CommandLineStartup.main(CommandLineStartup.java:302)

I understand the problem lies in finding the below resources in the ignite
configuration file.

<!-- Cassandra connection settings -->
    <import
resource="classpath:org/apache/ignite/tests/cassandra/connection-settings.xml"
/>
    <!-- Persistence settings for 'cache1' -->
    <bean id="cache1_persistence_settings"
class="org.apache.ignite.cache.store.cassandra.utils.persistence.KeyValuePersistenceSettings">
        <constructor-arg type="org.springframework.core.io.Resource"
value="classpath:org/apache/ignite/tests/persistence/blob/persistence-settings-1.xml"
/>
    </bean>
    <!-- Persistence settings for 'cache2' -->
    <bean id="cache2_persistence_settings"
class="org.apache.ignite.cache.store.cassandra.utils.persistence.KeyValuePersistenceSettings">
        <constructor-arg type="org.springframework.core.io.Resource"
value="classpath:org/apache/ignite/tests/persistence/blob/persistence-settings-3.xml"
/>
    </bean>


Could you please help me fill the gap by explaining if there is another
module that I should be working with or should there be any updates made?
Please let me know if you need any further information.

Regards.


On Fri, May 20, 2016 at 10:19 AM, Alexey Kuznetsov [via Apache Ignite
Users] <ml...@n6.nabble.com> wrote:

> If release vote will be successful then ignite-1.6 will be released next
> week.
> If not then it may take some time to fix issues and re-vote.
>
> Documentation may be added later, but for now you may use unofficial docs
>  from ignite-cassandra module contributor see
> https://github.com/irudyak/ignite/wiki
>
> Also, you may use latest nightly build and do not wait for release.
>  https://ignite.apache.org/community/contribute.html#nightly-builds
>
> Hope this help.
>
> On Fri, May 20, 2016 at 2:51 PM, ChickyDutt <[hidden email]
> <http:///user/SendEmail.jtp?type=node&node=5049&i=0>> wrote:
>
>> And as conveyed earlier, you expect Ignite 1.6 to be released next week
>> with the documentation for the if Cassandra module. Please correct me if I
>> am wrong.
>> On 20 May 2016 9:57 a.m., "Alexey Kuznetsov [via Apache Ignite Users]" <[hidden
>> email] <http:///user/SendEmail.jtp?type=node&node=5048&i=0>> wrote:
>>
>>> Hi Chicky D.!
>>>
>>> About you first question about example - take a look
>>> for org.apache.ignite.tests.IgnitePersistentStoreTest - it use some xml
>>> configs.
>>>
>>> >> In addition to my previous query, Could you also help me understand
>>> if the patch file available on the below link is likely to undergo any
>>> further changes until the final release?
>>> >> https://issues.apache.org/jira/browse/IGNITE-1371
>>>
>>> No, this issue is merged into ignite-1.6  and issue is closed (sorry, I
>>> forgot to do it before).
>>>
>>> But you may open new issues in JIRA if you want.
>>>
>>> --
>>> Alexey Kuznetsov
>>> GridGain Systems
>>> www.gridgain.com
>>>
>>>
>>> ------------------------------
>>> If you reply to this email, your message will be added to the discussion
>>> below:
>>>
>>> http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5047.html
>>> To start a new topic under Apache Ignite Users, email [hidden email]
>>> <http:///user/SendEmail.jtp?type=node&node=5048&i=1>
>>> To unsubscribe from Apache Ignite Users, click here.
>>> NAML
>>> <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>>
>>
>> ------------------------------
>> View this message in context: Re: Persistence using Cassandra
>> <http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5048.html>
>> Sent from the Apache Ignite Users mailing list archive
>> <http://apache-ignite-users.70518.x6.nabble.com/> at Nabble.com.
>>
>
>
>
> --
> Alexey Kuznetsov
> GridGain Systems
> www.gridgain.com
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5049.html
> To start a new topic under Apache Ignite Users, email
> ml-node+s70518n1h6@n6.nabble.com
> To unsubscribe from Apache Ignite Users, click here
> <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=1&code=YXNoLmR1dHQuc2hhcm1hQGdtYWlsLmNvbXwxfC0xOTcwMDkyNjky>
> .
> NAML
> <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5096.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Persistence using Cassandra

Posted by Alexey Kuznetsov <ak...@gridgain.com>.
If release vote will be successful then ignite-1.6 will be released next
week.
If not then it may take some time to fix issues and re-vote.

Documentation may be added later, but for now you may use unofficial docs
 from ignite-cassandra module contributor see
https://github.com/irudyak/ignite/wiki

Also, you may use latest nightly build and do not wait for release.
 https://ignite.apache.org/community/contribute.html#nightly-builds

Hope this help.

On Fri, May 20, 2016 at 2:51 PM, ChickyDutt <as...@gmail.com>
wrote:

> And as conveyed earlier, you expect Ignite 1.6 to be released next week
> with the documentation for the if Cassandra module. Please correct me if I
> am wrong.
> On 20 May 2016 9:57 a.m., "Alexey Kuznetsov [via Apache Ignite Users]" <[hidden
> email] <http:///user/SendEmail.jtp?type=node&node=5048&i=0>> wrote:
>
>> Hi Chicky D.!
>>
>> About you first question about example - take a look
>> for org.apache.ignite.tests.IgnitePersistentStoreTest - it use some xml
>> configs.
>>
>> >> In addition to my previous query, Could you also help me understand if
>> the patch file available on the below link is likely to undergo any further
>> changes until the final release?
>> >> https://issues.apache.org/jira/browse/IGNITE-1371
>>
>> No, this issue is merged into ignite-1.6  and issue is closed (sorry, I
>> forgot to do it before).
>>
>> But you may open new issues in JIRA if you want.
>>
>> --
>> Alexey Kuznetsov
>> GridGain Systems
>> www.gridgain.com
>>
>>
>> ------------------------------
>> If you reply to this email, your message will be added to the discussion
>> below:
>>
>> http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5047.html
>> To start a new topic under Apache Ignite Users, email [hidden email]
>> <http:///user/SendEmail.jtp?type=node&node=5048&i=1>
>> To unsubscribe from Apache Ignite Users, click here.
>> NAML
>> <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>
> ------------------------------
> View this message in context: Re: Persistence using Cassandra
> <http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5048.html>
> Sent from the Apache Ignite Users mailing list archive
> <http://apache-ignite-users.70518.x6.nabble.com/> at Nabble.com.
>



-- 
Alexey Kuznetsov
GridGain Systems
www.gridgain.com

Re: Persistence using Cassandra

Posted by ChickyDutt <as...@gmail.com>.
And as conveyed earlier, you expect Ignite 1.6 to be released next week
with the documentation for the if Cassandra module. Please correct me if I
am wrong.
On 20 May 2016 9:57 a.m., "Alexey Kuznetsov [via Apache Ignite Users]" <
ml-node+s70518n5047h32@n6.nabble.com> wrote:

> Hi Chicky D.!
>
> About you first question about example - take a look
> for org.apache.ignite.tests.IgnitePersistentStoreTest - it use some xml
> configs.
>
> >> In addition to my previous query, Could you also help me understand if
> the patch file available on the below link is likely to undergo any further
> changes until the final release?
> >> https://issues.apache.org/jira/browse/IGNITE-1371
>
> No, this issue is merged into ignite-1.6  and issue is closed (sorry, I
> forgot to do it before).
>
> But you may open new issues in JIRA if you want.
>
> --
> Alexey Kuznetsov
> GridGain Systems
> www.gridgain.com
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5047.html
> To start a new topic under Apache Ignite Users, email
> ml-node+s70518n1h6@n6.nabble.com
> To unsubscribe from Apache Ignite Users, click here
> <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=1&code=YXNoLmR1dHQuc2hhcm1hQGdtYWlsLmNvbXwxfC0xOTcwMDkyNjky>
> .
> NAML
> <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5048.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Persistence using Cassandra

Posted by Alexey Kuznetsov <ak...@gridgain.com>.
Hi Chicky D.!

About you first question about example - take a look
for org.apache.ignite.tests.IgnitePersistentStoreTest - it use some xml
configs.

>> In addition to my previous query, Could you also help me understand if
the patch file available on the below link is likely to undergo any further
changes until the final release?
>> https://issues.apache.org/jira/browse/IGNITE-1371

No, this issue is merged into ignite-1.6  and issue is closed (sorry, I
forgot to do it before).

But you may open new issues in JIRA if you want.

-- 
Alexey Kuznetsov
GridGain Systems
www.gridgain.com

Re: Persistence using Cassandra

Posted by ChickyDutt <as...@gmail.com>.
Hi team,

In addition to my previous query, Could you also help me understand if the
patch file available on the below link is likely to undergo any further
changes until the final release?

https://issues.apache.org/jira/browse/IGNITE-1371

Please let me know if you need any further information.

Regards.

On Thu, May 19, 2016 at 9:07 PM, Ashish Dutt Sharma <
ash.dutt.sharma@gmail.com> wrote:

> Thank you for the reply.
>
> Meanwhile could you illuminate on the XML configuration details for a node
> to operate with read and write through behaviours on Cassandra?
>
> Please let me know if you need any further information.
>
> Regards
> Ashish Sharma.
> On 19 May 2016 4:23 p.m., "Alexey Kuznetsov [via Apache Ignite Users]" <
> ml-node+s70518n5032h67@n6.nabble.com> wrote:
>
>> Hi Chicky D.!
>>
>> Cassandra cache store was merged into upcoming ignite-1.6 release.
>> ignite-1.6 is under voting process right now and may be released next
>> week.
>>
>> JIRA issue for that store:
>> https://issues.apache.org/jira/browse/IGNITE-1371
>>
>> But you may already try latest nightly build.
>> See https://ignite.apache.org/community/contribute.html#nightly-builds
>>
>> This ignite-cassandra module is not yet documented (will be done soon),
>> but it has tests - you may take a look.
>>
>> Hope this help.
>>
>> On Thu, May 19, 2016 at 8:18 PM, ChickyDutt <[hidden email]
>> <http:///user/SendEmail.jtp?type=node&node=5032&i=0>> wrote:
>>
>>> Hi Team,
>>>
>>> I am trying to implement cache store persistence in Cassandra. Is their
>>> any Cassandra specific module available off the shelf or any ignite
>>> provided utilities that could help me binf the two?
>>>
>>> Please let me know if you need any further information.
>>>
>>> Regards,
>>> Chicky D.
>>>
>>> ------------------------------
>>> View this message in context: Persistence using Cassandra
>>> <http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031.html>
>>> Sent from the Apache Ignite Users mailing list archive
>>> <http://apache-ignite-users.70518.x6.nabble.com/> at Nabble.com.
>>>
>>
>>
>>
>> --
>> Alexey Kuznetsov
>> GridGain Systems
>> www.gridgain.com
>>
>>
>> ------------------------------
>> If you reply to this email, your message will be added to the discussion
>> below:
>>
>> http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5032.html
>> To start a new topic under Apache Ignite Users, email
>> ml-node+s70518n1h6@n6.nabble.com
>> To unsubscribe from Apache Ignite Users, click here
>> <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=1&code=YXNoLmR1dHQuc2hhcm1hQGdtYWlsLmNvbXwxfC0xOTcwMDkyNjky>
>> .
>> NAML
>> <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>




--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031p5046.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Persistence using Cassandra

Posted by Alexey Kuznetsov <ak...@gridgain.com>.
Hi Chicky D.!

Cassandra cache store was merged into upcoming ignite-1.6 release.
ignite-1.6 is under voting process right now and may be released next week.

JIRA issue for that store: https://issues.apache.org/jira/browse/IGNITE-1371

But you may already try latest nightly build.
See https://ignite.apache.org/community/contribute.html#nightly-builds

This ignite-cassandra module is not yet documented (will be done soon), but
it has tests - you may take a look.

Hope this help.

On Thu, May 19, 2016 at 8:18 PM, ChickyDutt <as...@gmail.com>
wrote:

> Hi Team,
>
> I am trying to implement cache store persistence in Cassandra. Is their
> any Cassandra specific module available off the shelf or any ignite
> provided utilities that could help me binf the two?
>
> Please let me know if you need any further information.
>
> Regards,
> Chicky D.
>
> ------------------------------
> View this message in context: Persistence using Cassandra
> <http://apache-ignite-users.70518.x6.nabble.com/Persistence-using-Cassandra-tp5031.html>
> Sent from the Apache Ignite Users mailing list archive
> <http://apache-ignite-users.70518.x6.nabble.com/> at Nabble.com.
>



-- 
Alexey Kuznetsov
GridGain Systems
www.gridgain.com