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 resource

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
> [org/apache/ignite/tests/

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 Tupitsyn

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 file

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#.

 >>> class="or

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 { S

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 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
>
>