Re: Ignite Cassandra Integration Configuration for C#

2023-01-24 Thread Charlin S
Hi Pavel,

I would also be grateful, if you could send me the solution for C#

Regards,
Charlin


On Mon, 9 Jan 2023 at 18:12, Charlin S  wrote:

> Hi Pavel,
> I am using the same jar file but no luck for me. I am missing something
> related to classpath of this jar file.
>
> Regards,
> Charlin
>
>
> On Mon, 9 Jan 2023 at 17:49, Pavel Tupitsyn  wrote:
>
>> You can find Cassandra jars inside the full distribution [1] at
>>
>> apache-ignite-2.10.0-bin.zip/apache-ignite-2.10.0-bin/libs/optional/ignite-cassandra-store
>>
>> [1] https://ignite.apache.org/download.cgi
>>
>> On Mon, Jan 9, 2023 at 2:01 PM Charlin S  wrote:
>>
>>> Hi Pavel,
>>> Where can I find the Ignite cassandra jar file? Could you please share.
>>> Note: I am using Ignite 2.10 now.
>>>
>>> Regards,
>>> Charlin
>>>
>>>
>>> On Mon, 9 Jan 2023 at 16:34, Charlin S  wrote:
>>>
 Hi Pavel,
 Thank you for your response.
 I have placed the ignite-cassandra-store
 & ignite-cassandra-serializers(which is available in optional) folder
 under /home/soft/apache-ignite-2.10.0-bin/libs.
 and  classpath has been set as by command export
 CLASSPATH="/home/soft/apache-ignite-2.10.0-bin/libs".

 Regards,
 Charlin


 On Mon, 9 Jan 2023 at 15:53, Pavel Tupitsyn 
 wrote:

> Check inner exceptions, probably Cassandra jars are missing
>
> On Mon, Jan 9, 2023 at 10:01 AM Charlin S 
> wrote:
>
>> Hi Pavel,
>> Thank you for your reply.
>> I have tried the following options.
>> 1. Moved connection-settings.xml inside the Ignite spring xml
>> configuration file.
>> 2. added classpath by this command export
>> CLASSPATH="/home/soft/apache-ignite-2.10.0-bin/libs".
>> but still same error class org.apache.ignite.IgniteException: Failed
>> to instantiate Spring XML application context (make sure all classes used
>> in Spring configuration are present at CLASSPATH)
>> [springUrl=file:/home/soft/apache-ignite-2.10.0-bin/config/ignite-config-cassandra.xml]
>>
>> Regards,
>> Charlin
>>
>>
>>
>> On Mon, 9 Jan 2023 at 11:58, Pavel Tupitsyn 
>> wrote:
>>
>>> Ok, it seems this requires quite a bit of configuration, we can't
>>> just use those linked configs directly.
>>> 'import resource="classpath: ' looks into Java classpath, so this
>>> would depend on your setup.
>>>
>>> You can replace  with the contents
>>> of connection-settings.xml.
>>> But there are other things to fix. You'll need Cassandra jars in
>>> IgniteConfiguration.JvmClasspath, etc.
>>>
>>> Unfortunately, I don't have the capacity to develop a fully working
>>> sample right now. Please try to follow the docs, source code, and error
>>> messages.
>>>
>>> On Fri, Jan 6, 2023 at 6:08 AM Charlin S 
>>> wrote:
>>>
 Hi Pavel,
 I have specified absolute path(/org/apache/ignite/tests/
 cassandra/connection-settings.xml) in the config file but in
 exception it's showing only org/apache/ignite/tests/
 cassandra/connection-settings.xml.

 Verified file content using cat command and file path.

 Regards,
 Charlin


 On Thu, 5 Jan 2023 at 20:02, Pavel Tupitsyn 
 wrote:

> > org/apache/ignite/tests/cassandra/connection-settings.xml cannot
> be opened because it does not exist
>
> Try specifying an absolute path to this xml file. Looks like the
> relative path is not correct.
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> On Thu, Jan 5, 2023 at 1:12 PM Charlin S 
> wrote:
>
>> Hi All,
>> Ignite server node not starting with the following configuration(
>> all configuration files attached)
>> 1. created org/apache/ignite/tests/cassandra/ and
>> placed connection-settings.xml
>> 2. created /org/apache/ignite/tests/cassandra/persistence and
>> placed persistence-settings-1.xml
>> 3. placed Ignite server bean xml (ignite-config-cassandra) under
>> /home/soft/apache-ignite-2.10.0-bin/config
>> 4. starting Ignite by command nohup
>> /home/soft/apache-ignite-2.10.0-bin/bin/ignite.sh
>> /home/soft/apache-ignite-2.10.0-bin/config/ignite-config-cassandra.xml
>>  &
>>
>> below error while starting server node
>> Caused by:
>> org.springframework.beans.factory.parsing.BeanDefinitionParsingException:
>> Configuration problem: Failed to import bean definitions from URL 
>> location
>> [classpath:/org/apache/ignite/tests/cassandra/connection-settings.xml]
>> Offending 

Re: Ignite Cassandra Integration Configuration for C#

2023-01-09 Thread Charlin S
Hi Pavel,
I am using the same jar file but no luck for me. I am missing something
related to classpath of this jar file.

Regards,
Charlin


On Mon, 9 Jan 2023 at 17:49, Pavel Tupitsyn  wrote:

> You can find Cassandra jars inside the full distribution [1] at
>
> apache-ignite-2.10.0-bin.zip/apache-ignite-2.10.0-bin/libs/optional/ignite-cassandra-store
>
> [1] https://ignite.apache.org/download.cgi
>
> On Mon, Jan 9, 2023 at 2:01 PM Charlin S  wrote:
>
>> Hi Pavel,
>> Where can I find the Ignite cassandra jar file? Could you please share.
>> Note: I am using Ignite 2.10 now.
>>
>> Regards,
>> Charlin
>>
>>
>> On Mon, 9 Jan 2023 at 16:34, Charlin S  wrote:
>>
>>> Hi Pavel,
>>> Thank you for your response.
>>> I have placed the ignite-cassandra-store
>>> & ignite-cassandra-serializers(which is available in optional) folder
>>> under /home/soft/apache-ignite-2.10.0-bin/libs.
>>> and  classpath has been set as by command export
>>> CLASSPATH="/home/soft/apache-ignite-2.10.0-bin/libs".
>>>
>>> Regards,
>>> Charlin
>>>
>>>
>>> On Mon, 9 Jan 2023 at 15:53, Pavel Tupitsyn 
>>> wrote:
>>>
 Check inner exceptions, probably Cassandra jars are missing

 On Mon, Jan 9, 2023 at 10:01 AM Charlin S 
 wrote:

> Hi Pavel,
> Thank you for your reply.
> I have tried the following options.
> 1. Moved connection-settings.xml inside the Ignite spring xml
> configuration file.
> 2. added classpath by this command export
> CLASSPATH="/home/soft/apache-ignite-2.10.0-bin/libs".
> but still same error class org.apache.ignite.IgniteException: Failed
> to instantiate Spring XML application context (make sure all classes used
> in Spring configuration are present at CLASSPATH)
> [springUrl=file:/home/soft/apache-ignite-2.10.0-bin/config/ignite-config-cassandra.xml]
>
> Regards,
> Charlin
>
>
>
> On Mon, 9 Jan 2023 at 11:58, Pavel Tupitsyn 
> wrote:
>
>> Ok, it seems this requires quite a bit of configuration, we can't
>> just use those linked configs directly.
>> 'import resource="classpath: ' looks into Java classpath, so this
>> would depend on your setup.
>>
>> You can replace  with the contents of connection-settings.xml.
>> But there are other things to fix. You'll need Cassandra jars in
>> IgniteConfiguration.JvmClasspath, etc.
>>
>> Unfortunately, I don't have the capacity to develop a fully working
>> sample right now. Please try to follow the docs, source code, and error
>> messages.
>>
>> On Fri, Jan 6, 2023 at 6:08 AM Charlin S 
>> wrote:
>>
>>> Hi Pavel,
>>> I have specified absolute path(/org/apache/ignite/tests/
>>> cassandra/connection-settings.xml) in the config file but in
>>> exception it's showing only org/apache/ignite/tests/
>>> cassandra/connection-settings.xml.
>>>
>>> Verified file content using cat command and file path.
>>>
>>> Regards,
>>> Charlin
>>>
>>>
>>> On Thu, 5 Jan 2023 at 20:02, Pavel Tupitsyn 
>>> wrote:
>>>
 > org/apache/ignite/tests/cassandra/connection-settings.xml cannot
 be opened because it does not exist

 Try specifying an absolute path to this xml file. Looks like the
 relative path is not correct.

























 On Thu, Jan 5, 2023 at 1:12 PM Charlin S 
 wrote:

> Hi All,
> Ignite server node not starting with the following configuration(
> all configuration files attached)
> 1. created org/apache/ignite/tests/cassandra/ and
> placed connection-settings.xml
> 2. created /org/apache/ignite/tests/cassandra/persistence and
> placed persistence-settings-1.xml
> 3. placed Ignite server bean xml (ignite-config-cassandra) under
> /home/soft/apache-ignite-2.10.0-bin/config
> 4. starting Ignite by command nohup
> /home/soft/apache-ignite-2.10.0-bin/bin/ignite.sh
> /home/soft/apache-ignite-2.10.0-bin/config/ignite-config-cassandra.xml
>  &
>
> below error while starting server node
> Caused by:
> org.springframework.beans.factory.parsing.BeanDefinitionParsingException:
> Configuration problem: Failed to import bean definitions from URL 
> location
> [classpath:/org/apache/ignite/tests/cassandra/connection-settings.xml]
> Offending resource: URL
> [file:/home/soft/apache-ignite-2.10.0-bin/config/ignite-config-cassandra.xml];
> nested exception is
> org.springframework.beans.factory.BeanDefinitionStoreException: 
> IOException
> parsing XML document from class path resource
> 

Re: Ignite Cassandra Integration Configuration for C#

2023-01-09 Thread Pavel Tupitsyn
You can find Cassandra jars inside the full distribution [1] at
apache-ignite-2.10.0-bin.zip/apache-ignite-2.10.0-bin/libs/optional/ignite-cassandra-store

[1] https://ignite.apache.org/download.cgi

On Mon, Jan 9, 2023 at 2:01 PM Charlin S  wrote:

> Hi Pavel,
> Where can I find the Ignite cassandra jar file? Could you please share.
> Note: I am using Ignite 2.10 now.
>
> Regards,
> Charlin
>
>
> On Mon, 9 Jan 2023 at 16:34, Charlin S  wrote:
>
>> Hi Pavel,
>> Thank you for your response.
>> I have placed the ignite-cassandra-store
>> & ignite-cassandra-serializers(which is available in optional) folder
>> under /home/soft/apache-ignite-2.10.0-bin/libs.
>> and  classpath has been set as by command export
>> CLASSPATH="/home/soft/apache-ignite-2.10.0-bin/libs".
>>
>> Regards,
>> Charlin
>>
>>
>> On Mon, 9 Jan 2023 at 15:53, Pavel Tupitsyn  wrote:
>>
>>> Check inner exceptions, probably Cassandra jars are missing
>>>
>>> On Mon, Jan 9, 2023 at 10:01 AM Charlin S 
>>> wrote:
>>>
 Hi Pavel,
 Thank you for your reply.
 I have tried the following options.
 1. Moved connection-settings.xml inside the Ignite spring xml
 configuration file.
 2. added classpath by this command export
 CLASSPATH="/home/soft/apache-ignite-2.10.0-bin/libs".
 but still same error class org.apache.ignite.IgniteException: Failed to
 instantiate Spring XML application context (make sure all classes used in
 Spring configuration are present at CLASSPATH)
 [springUrl=file:/home/soft/apache-ignite-2.10.0-bin/config/ignite-config-cassandra.xml]

 Regards,
 Charlin



 On Mon, 9 Jan 2023 at 11:58, Pavel Tupitsyn 
 wrote:

> Ok, it seems this requires quite a bit of configuration, we can't just
> use those linked configs directly.
> 'import resource="classpath: ' looks into Java classpath, so this
> would depend on your setup.
>
> You can replace  with the contents of connection-settings.xml.
> But there are other things to fix. You'll need Cassandra jars in
> IgniteConfiguration.JvmClasspath, etc.
>
> Unfortunately, I don't have the capacity to develop a fully working
> sample right now. Please try to follow the docs, source code, and error
> messages.
>
> On Fri, Jan 6, 2023 at 6:08 AM Charlin S 
> wrote:
>
>> Hi Pavel,
>> I have specified absolute path(/org/apache/ignite/tests/
>> cassandra/connection-settings.xml) in the config file but in
>> exception it's showing only org/apache/ignite/tests/
>> cassandra/connection-settings.xml.
>>
>> Verified file content using cat command and file path.
>>
>> Regards,
>> Charlin
>>
>>
>> On Thu, 5 Jan 2023 at 20:02, Pavel Tupitsyn 
>> wrote:
>>
>>> > org/apache/ignite/tests/cassandra/connection-settings.xml cannot
>>> be opened because it does not exist
>>>
>>> Try specifying an absolute path to this xml file. Looks like the
>>> relative path is not correct.
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> On Thu, Jan 5, 2023 at 1:12 PM Charlin S 
>>> wrote:
>>>
 Hi All,
 Ignite server node not starting with the following configuration(
 all configuration files attached)
 1. created org/apache/ignite/tests/cassandra/ and
 placed connection-settings.xml
 2. created /org/apache/ignite/tests/cassandra/persistence and
 placed persistence-settings-1.xml
 3. placed Ignite server bean xml (ignite-config-cassandra) under
 /home/soft/apache-ignite-2.10.0-bin/config
 4. starting Ignite by command nohup
 /home/soft/apache-ignite-2.10.0-bin/bin/ignite.sh
 /home/soft/apache-ignite-2.10.0-bin/config/ignite-config-cassandra.xml 
 &

 below error while starting server node
 Caused by:
 org.springframework.beans.factory.parsing.BeanDefinitionParsingException:
 Configuration problem: Failed to import bean definitions from URL 
 location
 [classpath:/org/apache/ignite/tests/cassandra/connection-settings.xml]
 Offending resource: URL
 [file:/home/soft/apache-ignite-2.10.0-bin/config/ignite-config-cassandra.xml];
 nested exception is
 org.springframework.beans.factory.BeanDefinitionStoreException: 
 IOException
 parsing XML document from class path resource
 [org/apache/ignite/tests/cassandra/connection-settings.xml]; nested
 exception is java.io.FileNotFoundException: class path resource
 [org/apache/ignite/tests/cassandra/connection-settings.xml] cannot be
 opened because it does not exist

 Regards,
 Charlin


 On Tue, 3 Jan 2023 at 21:52, Pavel 

Re: Ignite Cassandra Integration Configuration for C#

2023-01-09 Thread Charlin S
Hi Pavel,
Where can I find the Ignite cassandra jar file? Could you please share.
Note: I am using Ignite 2.10 now.

Regards,
Charlin


On Mon, 9 Jan 2023 at 16:34, Charlin S  wrote:

> Hi Pavel,
> Thank you for your response.
> I have placed the ignite-cassandra-store
> & ignite-cassandra-serializers(which is available in optional) folder
> under /home/soft/apache-ignite-2.10.0-bin/libs.
> and  classpath has been set as by command export
> CLASSPATH="/home/soft/apache-ignite-2.10.0-bin/libs".
>
> Regards,
> Charlin
>
>
> On Mon, 9 Jan 2023 at 15:53, Pavel Tupitsyn  wrote:
>
>> Check inner exceptions, probably Cassandra jars are missing
>>
>> On Mon, Jan 9, 2023 at 10:01 AM Charlin S  wrote:
>>
>>> Hi Pavel,
>>> Thank you for your reply.
>>> I have tried the following options.
>>> 1. Moved connection-settings.xml inside the Ignite spring xml
>>> configuration file.
>>> 2. added classpath by this command export
>>> CLASSPATH="/home/soft/apache-ignite-2.10.0-bin/libs".
>>> but still same error class org.apache.ignite.IgniteException: Failed to
>>> instantiate Spring XML application context (make sure all classes used in
>>> Spring configuration are present at CLASSPATH)
>>> [springUrl=file:/home/soft/apache-ignite-2.10.0-bin/config/ignite-config-cassandra.xml]
>>>
>>> Regards,
>>> Charlin
>>>
>>>
>>>
>>> On Mon, 9 Jan 2023 at 11:58, Pavel Tupitsyn 
>>> wrote:
>>>
 Ok, it seems this requires quite a bit of configuration, we can't just
 use those linked configs directly.
 'import resource="classpath: ' looks into Java classpath, so this would
 depend on your setup.

 You can replace  with the contents of connection-settings.xml.
 But there are other things to fix. You'll need Cassandra jars in
 IgniteConfiguration.JvmClasspath, etc.

 Unfortunately, I don't have the capacity to develop a fully working
 sample right now. Please try to follow the docs, source code, and error
 messages.

 On Fri, Jan 6, 2023 at 6:08 AM Charlin S 
 wrote:

> Hi Pavel,
> I have specified absolute path(/org/apache/ignite/tests/
> cassandra/connection-settings.xml) in the config file but in
> exception it's showing only org/apache/ignite/tests/
> cassandra/connection-settings.xml.
>
> Verified file content using cat command and file path.
>
> Regards,
> Charlin
>
>
> On Thu, 5 Jan 2023 at 20:02, Pavel Tupitsyn 
> wrote:
>
>> > org/apache/ignite/tests/cassandra/connection-settings.xml cannot be
>> opened because it does not exist
>>
>> Try specifying an absolute path to this xml file. Looks like the
>> relative path is not correct.
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> On Thu, Jan 5, 2023 at 1:12 PM Charlin S 
>> wrote:
>>
>>> Hi All,
>>> Ignite server node not starting with the following configuration(
>>> all configuration files attached)
>>> 1. created org/apache/ignite/tests/cassandra/ and
>>> placed connection-settings.xml
>>> 2. created /org/apache/ignite/tests/cassandra/persistence and
>>> placed persistence-settings-1.xml
>>> 3. placed Ignite server bean xml (ignite-config-cassandra) under
>>> /home/soft/apache-ignite-2.10.0-bin/config
>>> 4. starting Ignite by command nohup
>>> /home/soft/apache-ignite-2.10.0-bin/bin/ignite.sh
>>> /home/soft/apache-ignite-2.10.0-bin/config/ignite-config-cassandra.xml &
>>>
>>> below error while starting server node
>>> Caused by:
>>> org.springframework.beans.factory.parsing.BeanDefinitionParsingException:
>>> Configuration problem: Failed to import bean definitions from URL 
>>> location
>>> [classpath:/org/apache/ignite/tests/cassandra/connection-settings.xml]
>>> Offending resource: URL
>>> [file:/home/soft/apache-ignite-2.10.0-bin/config/ignite-config-cassandra.xml];
>>> nested exception is
>>> org.springframework.beans.factory.BeanDefinitionStoreException: 
>>> IOException
>>> parsing XML document from class path resource
>>> [org/apache/ignite/tests/cassandra/connection-settings.xml]; nested
>>> exception is java.io.FileNotFoundException: class path resource
>>> [org/apache/ignite/tests/cassandra/connection-settings.xml] cannot be
>>> opened because it does not exist
>>>
>>> Regards,
>>> Charlin
>>>
>>>
>>> On Tue, 3 Jan 2023 at 21:52, Pavel Tupitsyn 
>>> wrote:
>>>
 Leave it as is. You can grab the settings file at

 https://github.com/apache/ignite/blob/231ead01d186c75ebb48f1d19e5a95fc9c459202/modules/cassandra/store/src/test/resources/org/apache/ignite/tests/persistence/primitive/persistence-settings-1.xml

 There is nothing C# specific at all in this example, just start the
 node with the config 

Re: Ignite Cassandra Integration Configuration for C#

2023-01-09 Thread Charlin S
Hi Pavel,
Thank you for your response.
I have placed the ignite-cassandra-store
& ignite-cassandra-serializers(which is available in optional) folder
under /home/soft/apache-ignite-2.10.0-bin/libs.
and  classpath has been set as by command export
CLASSPATH="/home/soft/apache-ignite-2.10.0-bin/libs".

Regards,
Charlin


On Mon, 9 Jan 2023 at 15:53, Pavel Tupitsyn  wrote:

> Check inner exceptions, probably Cassandra jars are missing
>
> On Mon, Jan 9, 2023 at 10:01 AM Charlin S  wrote:
>
>> Hi Pavel,
>> Thank you for your reply.
>> I have tried the following options.
>> 1. Moved connection-settings.xml inside the Ignite spring xml
>> configuration file.
>> 2. added classpath by this command export
>> CLASSPATH="/home/soft/apache-ignite-2.10.0-bin/libs".
>> but still same error class org.apache.ignite.IgniteException: Failed to
>> instantiate Spring XML application context (make sure all classes used in
>> Spring configuration are present at CLASSPATH)
>> [springUrl=file:/home/soft/apache-ignite-2.10.0-bin/config/ignite-config-cassandra.xml]
>>
>> Regards,
>> Charlin
>>
>>
>>
>> On Mon, 9 Jan 2023 at 11:58, Pavel Tupitsyn  wrote:
>>
>>> Ok, it seems this requires quite a bit of configuration, we can't just
>>> use those linked configs directly.
>>> 'import resource="classpath: ' looks into Java classpath, so this would
>>> depend on your setup.
>>>
>>> You can replace  with the contents of connection-settings.xml.
>>> But there are other things to fix. You'll need Cassandra jars in
>>> IgniteConfiguration.JvmClasspath, etc.
>>>
>>> Unfortunately, I don't have the capacity to develop a fully working
>>> sample right now. Please try to follow the docs, source code, and error
>>> messages.
>>>
>>> On Fri, Jan 6, 2023 at 6:08 AM Charlin S  wrote:
>>>
 Hi Pavel,
 I have specified absolute path(/org/apache/ignite/tests/
 cassandra/connection-settings.xml) in the config file but in exception
 it's showing only org/apache/ignite/tests/
 cassandra/connection-settings.xml.

 Verified file content using cat command and file path.

 Regards,
 Charlin


 On Thu, 5 Jan 2023 at 20:02, Pavel Tupitsyn 
 wrote:

> > org/apache/ignite/tests/cassandra/connection-settings.xml cannot be
> opened because it does not exist
>
> Try specifying an absolute path to this xml file. Looks like the
> relative path is not correct.
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> On Thu, Jan 5, 2023 at 1:12 PM Charlin S 
> wrote:
>
>> Hi All,
>> Ignite server node not starting with the following configuration( all
>> configuration files attached)
>> 1. created org/apache/ignite/tests/cassandra/ and
>> placed connection-settings.xml
>> 2. created /org/apache/ignite/tests/cassandra/persistence and
>> placed persistence-settings-1.xml
>> 3. placed Ignite server bean xml (ignite-config-cassandra) under
>> /home/soft/apache-ignite-2.10.0-bin/config
>> 4. starting Ignite by command nohup
>> /home/soft/apache-ignite-2.10.0-bin/bin/ignite.sh
>> /home/soft/apache-ignite-2.10.0-bin/config/ignite-config-cassandra.xml &
>>
>> below error while starting server node
>> Caused by:
>> org.springframework.beans.factory.parsing.BeanDefinitionParsingException:
>> Configuration problem: Failed to import bean definitions from URL 
>> location
>> [classpath:/org/apache/ignite/tests/cassandra/connection-settings.xml]
>> Offending resource: URL
>> [file:/home/soft/apache-ignite-2.10.0-bin/config/ignite-config-cassandra.xml];
>> nested exception is
>> org.springframework.beans.factory.BeanDefinitionStoreException: 
>> IOException
>> parsing XML document from class path resource
>> [org/apache/ignite/tests/cassandra/connection-settings.xml]; nested
>> exception is java.io.FileNotFoundException: class path resource
>> [org/apache/ignite/tests/cassandra/connection-settings.xml] cannot be
>> opened because it does not exist
>>
>> Regards,
>> Charlin
>>
>>
>> On Tue, 3 Jan 2023 at 21:52, Pavel Tupitsyn 
>> wrote:
>>
>>> Leave it as is. You can grab the settings file at
>>>
>>> https://github.com/apache/ignite/blob/231ead01d186c75ebb48f1d19e5a95fc9c459202/modules/cassandra/store/src/test/resources/org/apache/ignite/tests/persistence/primitive/persistence-settings-1.xml
>>>
>>> There is nothing C# specific at all in this example, just start the
>>> node with the config file and you should be set.
>>>
>>> On Tue, Jan 3, 2023 at 6:08 PM Charlin S 
>>> wrote:
>>>
 Hi Pavel,
 Thanks for updating, how does the support below xml config  works
 in C#, or do I need to skip this part for cassandra persistence
 storage implementation in c#.

 >>> 

Re: Ignite Cassandra Integration Configuration for C#

2023-01-09 Thread Pavel Tupitsyn
Check inner exceptions, probably Cassandra jars are missing

On Mon, Jan 9, 2023 at 10:01 AM Charlin S  wrote:

> Hi Pavel,
> Thank you for your reply.
> I have tried the following options.
> 1. Moved connection-settings.xml inside the Ignite spring xml
> configuration file.
> 2. added classpath by this command export
> CLASSPATH="/home/soft/apache-ignite-2.10.0-bin/libs".
> but still same error class org.apache.ignite.IgniteException: Failed to
> instantiate Spring XML application context (make sure all classes used in
> Spring configuration are present at CLASSPATH)
> [springUrl=file:/home/soft/apache-ignite-2.10.0-bin/config/ignite-config-cassandra.xml]
>
> Regards,
> Charlin
>
>
>
> On Mon, 9 Jan 2023 at 11:58, Pavel Tupitsyn  wrote:
>
>> Ok, it seems this requires quite a bit of configuration, we can't just
>> use those linked configs directly.
>> 'import resource="classpath: ' looks into Java classpath, so this would
>> depend on your setup.
>>
>> You can replace  with the contents of connection-settings.xml.
>> But there are other things to fix. You'll need Cassandra jars in
>> IgniteConfiguration.JvmClasspath, etc.
>>
>> Unfortunately, I don't have the capacity to develop a fully working
>> sample right now. Please try to follow the docs, source code, and error
>> messages.
>>
>> On Fri, Jan 6, 2023 at 6:08 AM Charlin S  wrote:
>>
>>> Hi Pavel,
>>> I have specified absolute path(/org/apache/ignite/tests/
>>> cassandra/connection-settings.xml) in the config file but in exception
>>> it's showing only org/apache/ignite/tests/cassandra/connection-settings.
>>> xml.
>>>
>>> Verified file content using cat command and file path.
>>>
>>> Regards,
>>> Charlin
>>>
>>>
>>> On Thu, 5 Jan 2023 at 20:02, Pavel Tupitsyn 
>>> wrote:
>>>
 > org/apache/ignite/tests/cassandra/connection-settings.xml cannot be
 opened because it does not exist

 Try specifying an absolute path to this xml file. Looks like the
 relative path is not correct.

























 On Thu, Jan 5, 2023 at 1:12 PM Charlin S 
 wrote:

> Hi All,
> Ignite server node not starting with the following configuration( all
> configuration files attached)
> 1. created org/apache/ignite/tests/cassandra/ and
> placed connection-settings.xml
> 2. created /org/apache/ignite/tests/cassandra/persistence and
> placed persistence-settings-1.xml
> 3. placed Ignite server bean xml (ignite-config-cassandra) under
> /home/soft/apache-ignite-2.10.0-bin/config
> 4. starting Ignite by command nohup
> /home/soft/apache-ignite-2.10.0-bin/bin/ignite.sh
> /home/soft/apache-ignite-2.10.0-bin/config/ignite-config-cassandra.xml &
>
> below error while starting server node
> Caused by:
> org.springframework.beans.factory.parsing.BeanDefinitionParsingException:
> Configuration problem: Failed to import bean definitions from URL location
> [classpath:/org/apache/ignite/tests/cassandra/connection-settings.xml]
> Offending resource: URL
> [file:/home/soft/apache-ignite-2.10.0-bin/config/ignite-config-cassandra.xml];
> nested exception is
> org.springframework.beans.factory.BeanDefinitionStoreException: 
> IOException
> parsing XML document from class path resource
> [org/apache/ignite/tests/cassandra/connection-settings.xml]; nested
> exception is java.io.FileNotFoundException: class path resource
> [org/apache/ignite/tests/cassandra/connection-settings.xml] cannot be
> opened because it does not exist
>
> Regards,
> Charlin
>
>
> On Tue, 3 Jan 2023 at 21:52, Pavel Tupitsyn 
> wrote:
>
>> Leave it as is. You can grab the settings file at
>>
>> https://github.com/apache/ignite/blob/231ead01d186c75ebb48f1d19e5a95fc9c459202/modules/cassandra/store/src/test/resources/org/apache/ignite/tests/persistence/primitive/persistence-settings-1.xml
>>
>> There is nothing C# specific at all in this example, just start the
>> node with the config file and you should be set.
>>
>> On Tue, Jan 3, 2023 at 6:08 PM Charlin S 
>> wrote:
>>
>>> Hi Pavel,
>>> Thanks for updating, how does the support below xml config  works in
>>> C#, or do I need to skip this part for cassandra persistence
>>> storage implementation in c#.
>>>
>>> >> class="org.apache.ignite.cache.store.cassandra.utils.persistence.KeyValuePersistenceSettings">
>>> >> value="classpath:org/apache/ignite/tests/persistence/blob/persistence-settings-1.xml"
>>>  />
>>>
>>> Regards,
>>> Charlin
>>>
>>> On Tue, 3 Jan 2023 at 21:07, Pavel Tupitsyn 
>>> wrote:
>>>
 Hi Charlin, happy new year!

 Those examples are mostly XML configs, you can use them as is in
 C#, something like:
 var cfg = new IgniteConfiguration { 

Re: Ignite Cassandra Integration Configuration for C#

2023-01-09 Thread Charlin S
Hi Pavel,
Thank you for your reply.
I have tried the following options.
1. Moved connection-settings.xml inside the Ignite spring xml configuration
file.
2. added classpath by this command export
CLASSPATH="/home/soft/apache-ignite-2.10.0-bin/libs".
but still same error class org.apache.ignite.IgniteException: Failed to
instantiate Spring XML application context (make sure all classes used in
Spring configuration are present at CLASSPATH)
[springUrl=file:/home/soft/apache-ignite-2.10.0-bin/config/ignite-config-cassandra.xml]

Regards,
Charlin



On Mon, 9 Jan 2023 at 11:58, Pavel Tupitsyn  wrote:

> Ok, it seems this requires quite a bit of configuration, we can't just use
> those linked configs directly.
> 'import resource="classpath: ' looks into Java classpath, so this would
> depend on your setup.
>
> You can replace  with the contents of connection-settings.xml.
> But there are other things to fix. You'll need Cassandra jars in
> IgniteConfiguration.JvmClasspath, etc.
>
> Unfortunately, I don't have the capacity to develop a fully working sample
> right now. Please try to follow the docs, source code, and error messages.
>
> On Fri, Jan 6, 2023 at 6:08 AM Charlin S  wrote:
>
>> Hi Pavel,
>> I have specified absolute path(/org/apache/ignite/tests/
>> cassandra/connection-settings.xml) in the config file but in exception
>> it's showing only org/apache/ignite/tests/cassandra/connection-settings.
>> xml.
>>
>> Verified file content using cat command and file path.
>>
>> Regards,
>> Charlin
>>
>>
>> On Thu, 5 Jan 2023 at 20:02, Pavel Tupitsyn  wrote:
>>
>>> > org/apache/ignite/tests/cassandra/connection-settings.xml cannot be
>>> opened because it does not exist
>>>
>>> Try specifying an absolute path to this xml file. Looks like the
>>> relative path is not correct.
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> On Thu, Jan 5, 2023 at 1:12 PM Charlin S  wrote:
>>>
 Hi All,
 Ignite server node not starting with the following configuration( all
 configuration files attached)
 1. created org/apache/ignite/tests/cassandra/ and
 placed connection-settings.xml
 2. created /org/apache/ignite/tests/cassandra/persistence and
 placed persistence-settings-1.xml
 3. placed Ignite server bean xml (ignite-config-cassandra) under
 /home/soft/apache-ignite-2.10.0-bin/config
 4. starting Ignite by command nohup
 /home/soft/apache-ignite-2.10.0-bin/bin/ignite.sh
 /home/soft/apache-ignite-2.10.0-bin/config/ignite-config-cassandra.xml &

 below error while starting server node
 Caused by:
 org.springframework.beans.factory.parsing.BeanDefinitionParsingException:
 Configuration problem: Failed to import bean definitions from URL location
 [classpath:/org/apache/ignite/tests/cassandra/connection-settings.xml]
 Offending resource: URL
 [file:/home/soft/apache-ignite-2.10.0-bin/config/ignite-config-cassandra.xml];
 nested exception is
 org.springframework.beans.factory.BeanDefinitionStoreException: IOException
 parsing XML document from class path resource
 [org/apache/ignite/tests/cassandra/connection-settings.xml]; nested
 exception is java.io.FileNotFoundException: class path resource
 [org/apache/ignite/tests/cassandra/connection-settings.xml] cannot be
 opened because it does not exist

 Regards,
 Charlin


 On Tue, 3 Jan 2023 at 21:52, Pavel Tupitsyn 
 wrote:

> Leave it as is. You can grab the settings file at
>
> https://github.com/apache/ignite/blob/231ead01d186c75ebb48f1d19e5a95fc9c459202/modules/cassandra/store/src/test/resources/org/apache/ignite/tests/persistence/primitive/persistence-settings-1.xml
>
> There is nothing C# specific at all in this example, just start the
> node with the config file and you should be set.
>
> On Tue, Jan 3, 2023 at 6:08 PM Charlin S 
> wrote:
>
>> Hi Pavel,
>> Thanks for updating, how does the support below xml config  works in
>> C#, or do I need to skip this part for cassandra persistence
>> storage implementation in c#.
>>
>> > class="org.apache.ignite.cache.store.cassandra.utils.persistence.KeyValuePersistenceSettings">
>> > value="classpath:org/apache/ignite/tests/persistence/blob/persistence-settings-1.xml"
>>  />
>>
>> Regards,
>> Charlin
>>
>> On Tue, 3 Jan 2023 at 21:07, Pavel Tupitsyn 
>> wrote:
>>
>>> Hi Charlin, happy new year!
>>>
>>> Those examples are mostly XML configs, you can use them as is in C#,
>>> something like:
>>> var cfg = new IgniteConfiguration { SpringConfigUrl =
>>> "ignite-cassandra.xml" };
>>> Ignition.Start(cfg);
>>>
>>> Let me know if you need more details.
>>>
>>> Pavel
>>>
>>> On Tue, Jan 3, 2023 at 1:50 PM Charlin S 
>>> wrote:
>>>
 Hi All,
 Happy new year to all !

Re: Ignite Cassandra Integration Configuration for C#

2023-01-08 Thread Pavel Tupitsyn
Ok, it seems this requires quite a bit of configuration, we can't just use
those linked configs directly.
'import resource="classpath: ' looks into Java classpath, so this would
depend on your setup.

You can replace  with the contents of connection-settings.xml.
But there are other things to fix. You'll need Cassandra jars in
IgniteConfiguration.JvmClasspath, etc.

Unfortunately, I don't have the capacity to develop a fully working sample
right now. Please try to follow the docs, source code, and error messages.

On Fri, Jan 6, 2023 at 6:08 AM Charlin S  wrote:

> Hi Pavel,
> I have specified absolute path(/org/apache/ignite/tests/
> cassandra/connection-settings.xml) in the config file but in exception
> it's showing only org/apache/ignite/tests/cassandra/connection-settings.
> xml.
>
> Verified file content using cat command and file path.
>
> Regards,
> Charlin
>
>
> On Thu, 5 Jan 2023 at 20:02, Pavel Tupitsyn  wrote:
>
>> > org/apache/ignite/tests/cassandra/connection-settings.xml cannot be
>> opened because it does not exist
>>
>> Try specifying an absolute path to this xml file. Looks like the relative
>> path is not correct.
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> On Thu, Jan 5, 2023 at 1:12 PM Charlin S  wrote:
>>
>>> Hi All,
>>> Ignite server node not starting with the following configuration( all
>>> configuration files attached)
>>> 1. created org/apache/ignite/tests/cassandra/ and
>>> placed connection-settings.xml
>>> 2. created /org/apache/ignite/tests/cassandra/persistence and
>>> placed persistence-settings-1.xml
>>> 3. placed Ignite server bean xml (ignite-config-cassandra) under
>>> /home/soft/apache-ignite-2.10.0-bin/config
>>> 4. starting Ignite by command nohup
>>> /home/soft/apache-ignite-2.10.0-bin/bin/ignite.sh
>>> /home/soft/apache-ignite-2.10.0-bin/config/ignite-config-cassandra.xml &
>>>
>>> below error while starting server node
>>> Caused by:
>>> org.springframework.beans.factory.parsing.BeanDefinitionParsingException:
>>> Configuration problem: Failed to import bean definitions from URL location
>>> [classpath:/org/apache/ignite/tests/cassandra/connection-settings.xml]
>>> Offending resource: URL
>>> [file:/home/soft/apache-ignite-2.10.0-bin/config/ignite-config-cassandra.xml];
>>> nested exception is
>>> org.springframework.beans.factory.BeanDefinitionStoreException: IOException
>>> parsing XML document from class path resource
>>> [org/apache/ignite/tests/cassandra/connection-settings.xml]; nested
>>> exception is java.io.FileNotFoundException: class path resource
>>> [org/apache/ignite/tests/cassandra/connection-settings.xml] cannot be
>>> opened because it does not exist
>>>
>>> Regards,
>>> Charlin
>>>
>>>
>>> On Tue, 3 Jan 2023 at 21:52, Pavel Tupitsyn 
>>> wrote:
>>>
 Leave it as is. You can grab the settings file at

 https://github.com/apache/ignite/blob/231ead01d186c75ebb48f1d19e5a95fc9c459202/modules/cassandra/store/src/test/resources/org/apache/ignite/tests/persistence/primitive/persistence-settings-1.xml

 There is nothing C# specific at all in this example, just start the
 node with the config file and you should be set.

 On Tue, Jan 3, 2023 at 6:08 PM Charlin S 
 wrote:

> Hi Pavel,
> Thanks for updating, how does the support below xml config  works in
> C#, or do I need to skip this part for cassandra persistence
> storage implementation in c#.
>
>  class="org.apache.ignite.cache.store.cassandra.utils.persistence.KeyValuePersistenceSettings">
>  value="classpath:org/apache/ignite/tests/persistence/blob/persistence-settings-1.xml"
>  />
>
> Regards,
> Charlin
>
> On Tue, 3 Jan 2023 at 21:07, Pavel Tupitsyn 
> wrote:
>
>> Hi Charlin, happy new year!
>>
>> Those examples are mostly XML configs, you can use them as is in C#,
>> something like:
>> var cfg = new IgniteConfiguration { SpringConfigUrl =
>> "ignite-cassandra.xml" };
>> Ignition.Start(cfg);
>>
>> Let me know if you need more details.
>>
>> Pavel
>>
>> On Tue, Jan 3, 2023 at 1:50 PM Charlin S 
>> wrote:
>>
>>> Hi All,
>>> Happy new year to all !
>>>
>>>
>>> https://ignite.apache.org/docs/latest/extensions-and-integrations/cassandra/usage-examples
>>>
>>> As per documentation, we see examples for support of data types in
>>> Java. we have not seen support for dotnet data types.
>>> Could you please advise on this for C# implementation?
>>>
>>> Regards,
>>> Charlin
>>>
>>>


Re: Ignite Cassandra Integration Configuration for C#

2023-01-05 Thread Charlin S
Hi Pavel,
I have specified absolute path(/org/apache/ignite/tests/
cassandra/connection-settings.xml) in the config file but in exception it's
showing only org/apache/ignite/tests/cassandra/connection-settings.xml.

Verified file content using cat command and file path.

Regards,
Charlin


On Thu, 5 Jan 2023 at 20:02, Pavel Tupitsyn  wrote:

> > org/apache/ignite/tests/cassandra/connection-settings.xml cannot be
> opened because it does not exist
>
> Try specifying an absolute path to this xml file. Looks like the relative
> path is not correct.
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> On Thu, Jan 5, 2023 at 1:12 PM Charlin S  wrote:
>
>> Hi All,
>> Ignite server node not starting with the following configuration( all
>> configuration files attached)
>> 1. created org/apache/ignite/tests/cassandra/ and
>> placed connection-settings.xml
>> 2. created /org/apache/ignite/tests/cassandra/persistence and
>> placed persistence-settings-1.xml
>> 3. placed Ignite server bean xml (ignite-config-cassandra) under
>> /home/soft/apache-ignite-2.10.0-bin/config
>> 4. starting Ignite by command nohup
>> /home/soft/apache-ignite-2.10.0-bin/bin/ignite.sh
>> /home/soft/apache-ignite-2.10.0-bin/config/ignite-config-cassandra.xml &
>>
>> below error while starting server node
>> Caused by:
>> org.springframework.beans.factory.parsing.BeanDefinitionParsingException:
>> Configuration problem: Failed to import bean definitions from URL location
>> [classpath:/org/apache/ignite/tests/cassandra/connection-settings.xml]
>> Offending resource: URL
>> [file:/home/soft/apache-ignite-2.10.0-bin/config/ignite-config-cassandra.xml];
>> nested exception is
>> org.springframework.beans.factory.BeanDefinitionStoreException: IOException
>> parsing XML document from class path resource
>> [org/apache/ignite/tests/cassandra/connection-settings.xml]; nested
>> exception is java.io.FileNotFoundException: class path resource
>> [org/apache/ignite/tests/cassandra/connection-settings.xml] cannot be
>> opened because it does not exist
>>
>> Regards,
>> Charlin
>>
>>
>> On Tue, 3 Jan 2023 at 21:52, Pavel Tupitsyn  wrote:
>>
>>> Leave it as is. You can grab the settings file at
>>>
>>> https://github.com/apache/ignite/blob/231ead01d186c75ebb48f1d19e5a95fc9c459202/modules/cassandra/store/src/test/resources/org/apache/ignite/tests/persistence/primitive/persistence-settings-1.xml
>>>
>>> There is nothing C# specific at all in this example, just start the node
>>> with the config file and you should be set.
>>>
>>> On Tue, Jan 3, 2023 at 6:08 PM Charlin S  wrote:
>>>
 Hi Pavel,
 Thanks for updating, how does the support below xml config  works in
 C#, or do I need to skip this part for cassandra persistence
 storage implementation in c#.

 >>> class="org.apache.ignite.cache.store.cassandra.utils.persistence.KeyValuePersistenceSettings">
 >>> value="classpath:org/apache/ignite/tests/persistence/blob/persistence-settings-1.xml"
  />

 Regards,
 Charlin

 On Tue, 3 Jan 2023 at 21:07, Pavel Tupitsyn 
 wrote:

> Hi Charlin, happy new year!
>
> Those examples are mostly XML configs, you can use them as is in C#,
> something like:
> var cfg = new IgniteConfiguration { SpringConfigUrl =
> "ignite-cassandra.xml" };
> Ignition.Start(cfg);
>
> Let me know if you need more details.
>
> Pavel
>
> On Tue, Jan 3, 2023 at 1:50 PM Charlin S 
> wrote:
>
>> Hi All,
>> Happy new year to all !
>>
>>
>> https://ignite.apache.org/docs/latest/extensions-and-integrations/cassandra/usage-examples
>>
>> As per documentation, we see examples for support of data types in
>> Java. we have not seen support for dotnet data types.
>> Could you please advise on this for C# implementation?
>>
>> Regards,
>> Charlin
>>
>>


Re: Ignite Cassandra Integration Configuration for C#

2023-01-05 Thread Pavel Tupitsyn
> org/apache/ignite/tests/cassandra/connection-settings.xml cannot be
opened because it does not exist

Try specifying an absolute path to this xml file. Looks like the relative
path is not correct.

























On Thu, Jan 5, 2023 at 1:12 PM Charlin S  wrote:

> Hi All,
> Ignite server node not starting with the following configuration( all
> configuration files attached)
> 1. created org/apache/ignite/tests/cassandra/ and
> placed connection-settings.xml
> 2. created /org/apache/ignite/tests/cassandra/persistence and
> placed persistence-settings-1.xml
> 3. placed Ignite server bean xml (ignite-config-cassandra) under
> /home/soft/apache-ignite-2.10.0-bin/config
> 4. starting Ignite by command nohup
> /home/soft/apache-ignite-2.10.0-bin/bin/ignite.sh
> /home/soft/apache-ignite-2.10.0-bin/config/ignite-config-cassandra.xml &
>
> below error while starting server node
> Caused by:
> org.springframework.beans.factory.parsing.BeanDefinitionParsingException:
> Configuration problem: Failed to import bean definitions from URL location
> [classpath:/org/apache/ignite/tests/cassandra/connection-settings.xml]
> Offending resource: URL
> [file:/home/soft/apache-ignite-2.10.0-bin/config/ignite-config-cassandra.xml];
> nested exception is
> org.springframework.beans.factory.BeanDefinitionStoreException: IOException
> parsing XML document from class path resource
> [org/apache/ignite/tests/cassandra/connection-settings.xml]; nested
> exception is java.io.FileNotFoundException: class path resource
> [org/apache/ignite/tests/cassandra/connection-settings.xml] cannot be
> opened because it does not exist
>
> Regards,
> Charlin
>
>
> On Tue, 3 Jan 2023 at 21:52, Pavel Tupitsyn  wrote:
>
>> Leave it as is. You can grab the settings file at
>>
>> https://github.com/apache/ignite/blob/231ead01d186c75ebb48f1d19e5a95fc9c459202/modules/cassandra/store/src/test/resources/org/apache/ignite/tests/persistence/primitive/persistence-settings-1.xml
>>
>> There is nothing C# specific at all in this example, just start the node
>> with the config file and you should be set.
>>
>> On Tue, Jan 3, 2023 at 6:08 PM Charlin S  wrote:
>>
>>> Hi Pavel,
>>> Thanks for updating, how does the support below xml config  works in C#,
>>> or do I need to skip this part for cassandra persistence
>>> storage implementation in c#.
>>>
>>> >> class="org.apache.ignite.cache.store.cassandra.utils.persistence.KeyValuePersistenceSettings">
>>> >> value="classpath:org/apache/ignite/tests/persistence/blob/persistence-settings-1.xml"
>>>  />
>>>
>>> Regards,
>>> Charlin
>>>
>>> On Tue, 3 Jan 2023 at 21:07, Pavel Tupitsyn 
>>> wrote:
>>>
 Hi Charlin, happy new year!

 Those examples are mostly XML configs, you can use them as is in C#,
 something like:
 var cfg = new IgniteConfiguration { SpringConfigUrl =
 "ignite-cassandra.xml" };
 Ignition.Start(cfg);

 Let me know if you need more details.

 Pavel

 On Tue, Jan 3, 2023 at 1:50 PM Charlin S 
 wrote:

> Hi All,
> Happy new year to all !
>
>
> https://ignite.apache.org/docs/latest/extensions-and-integrations/cassandra/usage-examples
>
> As per documentation, we see examples for support of data types in
> Java. we have not seen support for dotnet data types.
> Could you please advise on this for C# implementation?
>
> Regards,
> Charlin
>
>


Re: Ignite Cassandra Integration Configuration for C#

2023-01-05 Thread Charlin S
Hi All,
Ignite server node not starting with the following configuration( all
configuration files attached)
1. created org/apache/ignite/tests/cassandra/ and
placed connection-settings.xml
2. created /org/apache/ignite/tests/cassandra/persistence and
placed persistence-settings-1.xml
3. placed Ignite server bean xml (ignite-config-cassandra) under
/home/soft/apache-ignite-2.10.0-bin/config
4. starting Ignite by command nohup
/home/soft/apache-ignite-2.10.0-bin/bin/ignite.sh
/home/soft/apache-ignite-2.10.0-bin/config/ignite-config-cassandra.xml &

below error while starting server node
Caused by:
org.springframework.beans.factory.parsing.BeanDefinitionParsingException:
Configuration problem: Failed to import bean definitions from URL location
[classpath:/org/apache/ignite/tests/cassandra/connection-settings.xml]
Offending resource: URL
[file:/home/soft/apache-ignite-2.10.0-bin/config/ignite-config-cassandra.xml];
nested exception is
org.springframework.beans.factory.BeanDefinitionStoreException: IOException
parsing XML document from class path resource
[org/apache/ignite/tests/cassandra/connection-settings.xml]; nested
exception is java.io.FileNotFoundException: class path resource
[org/apache/ignite/tests/cassandra/connection-settings.xml] cannot be
opened because it does not exist

Regards,
Charlin


On Tue, 3 Jan 2023 at 21:52, Pavel Tupitsyn  wrote:

> Leave it as is. You can grab the settings file at
>
> https://github.com/apache/ignite/blob/231ead01d186c75ebb48f1d19e5a95fc9c459202/modules/cassandra/store/src/test/resources/org/apache/ignite/tests/persistence/primitive/persistence-settings-1.xml
>
> There is nothing C# specific at all in this example, just start the node
> with the config file and you should be set.
>
> On Tue, Jan 3, 2023 at 6:08 PM Charlin S  wrote:
>
>> Hi Pavel,
>> Thanks for updating, how does the support below xml config  works in C#,
>> or do I need to skip this part for cassandra persistence
>> storage implementation in c#.
>>
>> > class="org.apache.ignite.cache.store.cassandra.utils.persistence.KeyValuePersistenceSettings">
>> > value="classpath:org/apache/ignite/tests/persistence/blob/persistence-settings-1.xml"
>>  />
>>
>> Regards,
>> Charlin
>>
>> On Tue, 3 Jan 2023 at 21:07, Pavel Tupitsyn  wrote:
>>
>>> Hi Charlin, happy new year!
>>>
>>> Those examples are mostly XML configs, you can use them as is in C#,
>>> something like:
>>> var cfg = new IgniteConfiguration { SpringConfigUrl =
>>> "ignite-cassandra.xml" };
>>> Ignition.Start(cfg);
>>>
>>> Let me know if you need more details.
>>>
>>> Pavel
>>>
>>> On Tue, Jan 3, 2023 at 1:50 PM Charlin S  wrote:
>>>
 Hi All,
 Happy new year to all !


 https://ignite.apache.org/docs/latest/extensions-and-integrations/cassandra/usage-examples

 As per documentation, we see examples for support of data types in
 Java. we have not seen support for dotnet data types.
 Could you please advise on this for C# implementation?

 Regards,
 Charlin


<>


Re: Ignite Cassandra Integration

2023-01-04 Thread Pavel Tupitsyn
Hi,

Cassandra integration works through CassandraCacheStore [1].
To combine it with another storage (e.g. File), you can implement a wrapper
around CassandraCacheStore that performs additional reads/writes to another
storage.

https://ignite.apache.org/docs/latest/extensions-and-integrations/cassandra/overview

On Wed, Jan 4, 2023 at 1:08 PM satyajit.mandal.barclays.com via user <
user@ignite.apache.org> wrote:

> Hi  Pavel,
>
>
>
> Is  it  possible to   persist  data  both  in  File as  well  as  in
> Cassandra  at  the same  time without  using  connectors?
>
>
>
> Regards
>
> Satyajit
>
>
>
> Barclays Execution Services Limited registered in England. Registered No.
> 1767980. Registered office: 1 Churchill Place, London, E14 5HP
>
> Barclays Execution Services Limited provides support and administrative
> services across Barclays group. Barclays Execution Services Limited is an
> appointed representative of Barclays Bank UK plc, Barclays Bank plc and
> Clydesdale Financial Services Limited. Barclays Bank UK plc and Barclays
> Bank plc are authorised by the Prudential Regulation Authority and
> regulated by the Financial Conduct Authority and the Prudential Regulation
> Authority. Clydesdale Financial Services Limited is authorised and
> regulated by the Financial Conduct Authority.
>
> This email and any attachments are confidential and intended solely for
> the addressee and may also be privileged or exempt from disclosure under
> applicable law. If you are not the addressee, or have received this email
> in error, please notify the sender and immediately delete it and any
> attachments from your system. Do not copy, use, disclose or otherwise act
> on any part of this email or its attachments.
>
> Internet communications are not guaranteed to be secure or virus-free. The
> Barclays group does not accept responsibility for any loss arising from
> unauthorised access to, or interference with, any internet communications
> by any third party, or from the transmission of any viruses. Replies to
> this email may be monitored by the Barclays group for operational or
> business reasons.
>
> Any opinion or other information in this email or its attachments that
> does not relate to the business of the Barclays group is personal to the
> sender and is not given or endorsed by the Barclays group.
>
> Unless specifically indicated, this e-mail is not an offer to buy or sell
> or a solicitation to buy or sell any securities, investment products or
> other financial product or service, an official confirmation of any
> transaction, or an official statement of Barclays.
>


Ignite Cassandra Integration

2023-01-04 Thread satyajit.mandal.barclays.com via user
Hi  Pavel,

Is  it  possible to   persist  data  both  in  File as  well  as  in  Cassandra 
 at  the same  time without  using  connectors?

Regards
Satyajit


Barclays Execution Services Limited registered in England. Registered No. 
1767980. Registered office: 1 Churchill Place, London, E14 5HP

Barclays Execution Services Limited provides support and administrative 
services across Barclays group. Barclays Execution Services Limited is an 
appointed representative of Barclays Bank UK plc, Barclays Bank plc and 
Clydesdale Financial Services Limited. Barclays Bank UK plc and Barclays Bank 
plc are authorised by the Prudential Regulation Authority and regulated by the 
Financial Conduct Authority and the Prudential Regulation Authority. Clydesdale 
Financial Services Limited is authorised and regulated by the Financial Conduct 
Authority.

This email and any attachments are confidential and intended solely for the 
addressee and may also be privileged or exempt from disclosure under applicable 
law. If you are not the addressee, or have received this email in error, please 
notify the sender and immediately delete it and any attachments from your 
system. Do not copy, use, disclose or otherwise act on any part of this email 
or its attachments.

Internet communications are not guaranteed to be secure or virus-free. The 
Barclays group does not accept responsibility for any loss arising from 
unauthorised access to, or interference with, any internet communications by 
any third party, or from the transmission of any viruses. Replies to this email 
may be monitored by the Barclays group for operational or business reasons.

Any opinion or other information in this email or its attachments that does not 
relate to the business of the Barclays group is personal to the sender and is 
not given or endorsed by the Barclays group.

Unless specifically indicated, this e-mail is not an offer to buy or sell or a 
solicitation to buy or sell any securities, investment products or other 
financial product or service, an official confirmation of any transaction, or 
an official statement of Barclays.


Re: Ignite Cassandra Integration Configuration for C#

2023-01-03 Thread Pavel Tupitsyn
Leave it as is. You can grab the settings file at
https://github.com/apache/ignite/blob/231ead01d186c75ebb48f1d19e5a95fc9c459202/modules/cassandra/store/src/test/resources/org/apache/ignite/tests/persistence/primitive/persistence-settings-1.xml

There is nothing C# specific at all in this example, just start the node
with the config file and you should be set.

On Tue, Jan 3, 2023 at 6:08 PM Charlin S  wrote:

> Hi Pavel,
> Thanks for updating, how does the support below xml config  works in C#,
> or do I need to skip this part for cassandra persistence
> storage implementation in c#.
>
>  class="org.apache.ignite.cache.store.cassandra.utils.persistence.KeyValuePersistenceSettings">
>  value="classpath:org/apache/ignite/tests/persistence/blob/persistence-settings-1.xml"
>  />
>
> Regards,
> Charlin
>
> On Tue, 3 Jan 2023 at 21:07, Pavel Tupitsyn  wrote:
>
>> Hi Charlin, happy new year!
>>
>> Those examples are mostly XML configs, you can use them as is in C#,
>> something like:
>> var cfg = new IgniteConfiguration { SpringConfigUrl =
>> "ignite-cassandra.xml" };
>> Ignition.Start(cfg);
>>
>> Let me know if you need more details.
>>
>> Pavel
>>
>> On Tue, Jan 3, 2023 at 1:50 PM Charlin S  wrote:
>>
>>> Hi All,
>>> Happy new year to all !
>>>
>>>
>>> https://ignite.apache.org/docs/latest/extensions-and-integrations/cassandra/usage-examples
>>>
>>> As per documentation, we see examples for support of data types in Java.
>>> we have not seen support for dotnet data types.
>>> Could you please advise on this for C# implementation?
>>>
>>> Regards,
>>> Charlin
>>>
>>>


Re: Ignite Cassandra Integration Configuration for C#

2023-01-03 Thread Charlin S
Hi Pavel,
Thanks for updating, how does the support below xml config  works in C#, or
do I need to skip this part for cassandra persistence
storage implementation in c#.




Regards,
Charlin

On Tue, 3 Jan 2023 at 21:07, Pavel Tupitsyn  wrote:

> Hi Charlin, happy new year!
>
> Those examples are mostly XML configs, you can use them as is in C#,
> something like:
> var cfg = new IgniteConfiguration { SpringConfigUrl =
> "ignite-cassandra.xml" };
> Ignition.Start(cfg);
>
> Let me know if you need more details.
>
> Pavel
>
> On Tue, Jan 3, 2023 at 1:50 PM Charlin S  wrote:
>
>> Hi All,
>> Happy new year to all !
>>
>>
>> https://ignite.apache.org/docs/latest/extensions-and-integrations/cassandra/usage-examples
>>
>> As per documentation, we see examples for support of data types in Java.
>> we have not seen support for dotnet data types.
>> Could you please advise on this for C# implementation?
>>
>> Regards,
>> Charlin
>>
>>


Re: Ignite Cassandra Integration Configuration for C#

2023-01-03 Thread Pavel Tupitsyn
Hi Charlin, happy new year!

Those examples are mostly XML configs, you can use them as is in C#,
something like:
var cfg = new IgniteConfiguration { SpringConfigUrl =
"ignite-cassandra.xml" };
Ignition.Start(cfg);

Let me know if you need more details.

Pavel

On Tue, Jan 3, 2023 at 1:50 PM Charlin S  wrote:

> Hi All,
> Happy new year to all !
>
>
> https://ignite.apache.org/docs/latest/extensions-and-integrations/cassandra/usage-examples
>
> As per documentation, we see examples for support of data types in Java.
> we have not seen support for dotnet data types.
> Could you please advise on this for C# implementation?
>
> Regards,
> Charlin
>
>


Ignite Cassandra Integration Configuration for C#

2023-01-03 Thread Charlin S
Hi All,
Happy new year to all !

https://ignite.apache.org/docs/latest/extensions-and-integrations/cassandra/usage-examples

As per documentation, we see examples for support of data types in Java. we
have not seen support for dotnet data types.
Could you please advise on this for C# implementation?

Regards,
Charlin