Re: Ignite node log file setup

2020-06-05 Thread akorensh
Hi, Update the file appender, and put cache-node-01 into the filename property as below. Use env variables in your appenders, or re-config at run time as need be. see: https://apacheignite.readme.io/docs/logging#log4j2 You can also pro-grammatically create the log4j/logj

Re: How to get POJOs in Python?

2020-06-05 Thread Andrew Munn
I have only a few classes but they have a large number of fields. I will think about some code generation for Python. On Fri, Jun 5, 2020 at 12:53 PM Ilya Kasnacheev wrote: > Hello! > > I think that people usually have few enough classes so they can define > them by hand. > > Regards. > -- > I

BinaryObjectException: Conflicting enum values

2020-06-05 Thread Andrew Munn
I'm seeing the same issue as this one . I had values in the cache. I cleared the cache, but did not shutdown the cluster node. I modified the enums in the class. Then I repopulated the cache wit

Re: How to get POJOs in Python?

2020-06-05 Thread Ilya Kasnacheev
Hello! I think that people usually have few enough classes so they can define them by hand. Regards. -- Ilya Kasnacheev пт, 5 июн. 2020 г. в 19:48, Andrew Munn : > That's very helpful. Thanks. So it appears if I want to put in an object > using Java and consume it using Python I have to def

Re: How to get POJOs in Python?

2020-06-05 Thread Andrew Munn
That's very helpful. Thanks. So it appears if I want to put in an object using Java and consume it using Python I have to define the matching class as done in that example. Do you know how this is being used in practice? Are people generally kicking off a build job that looks at Java classes an

Re: UriDeployment Exception

2020-06-05 Thread marble.zh...@coinflex.com
Finally get works for this approach, it due to my maven package issue, thanks a lot. 1. copy the dependency libs to ignite ./libs; 2. copy the package classes into the urideployment folder. No need the ignite.xml, and no need to restart the server, it will use the latest code. thanks again.

Re: UriDeployment Exception

2020-06-05 Thread Ilya Kasnacheev
Hello! I guess you need to inherit all your service implementation from org.apache.ignite.services.Service Regards, -- Ilya Kasnacheev пт, 5 июн. 2020 г. в 15:01, marble.zh...@coinflex.com < marble.zh...@coinflex.com>: > hi Evgenii, > > After serveral tried, seems in the Jar package, need MET

Re: UriDeployment Exception

2020-06-05 Thread marble.zh...@coinflex.com
hi Evgenii, After serveral tried, seems in the Jar package, need META-INF/ignite.xml descriptor, my one like is, -> http://www.springframework.org/schema/beans"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:util="http://www.springframework.org/schema/util"; x

Ignite SqlFieldQuery Unicode Characters Support

2020-06-05 Thread Ravi Makwana
Hi, We are using Apache ignite version 2.7 and we have one node cluster with 150 caches out of 150 We have 1 cache which contains Unicode characters like Chinese language. Server node is running on Linux OS & Client node is running on Windows OS. Client side we are using sqlquery & sqlfieldquery

Re: How to get POJOs in Python?

2020-06-05 Thread Ilya Kasnacheev
Hello! Please take a look at https://github.com/apache/ignite/blob/master/modules/platforms/python/examples/binary_basics.py Regards, -- Ilya Kasnacheev пт, 5 июн. 2020 г. в 01:38, Andrew Munn : > Thanks Ilya. I don't see anything in that post about registering the > binary type. I am not d

Ignite node log file setup

2020-06-05 Thread kay
Hello, I set up log4j2.xml and I found a create log file with sys:nodeId. I configured grid name like cache-node-01, cache-node-02 using xml confiuration(property name="igniteInstanceName" value="cache-node-01") Is there any way to setup log file with grid name. for example) ignite-cache-node-

Re: UriDeployment Question

2020-06-05 Thread marble.zh...@coinflex.com
complete exception is like below, Exception in thread "grid-uri-scanner-#2" java.lang.NoClassDefFoundError: org/osgi/service/jdbc/DataSourceFactory at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:756) at java.secu