Re: cache/table metadata

2020-03-12 Thread Denis Magda
Please check this example: https://github.com/apache/ignite/blob/master/examples/src/main/java/org/apache/ignite/examples/binary/datagrid/CacheClientBinaryPutGetExample.java#L124 and documentation:

Re: cache/table metadata

2020-03-12 Thread narges saleh
Hello Ilya Can you provide some links/examples on how to use ignite.binary().type(field-name)? thanks. On Thu, Mar 12, 2020 at 10:31 AM Ilya Kasnacheev wrote: > Hello! > > I don't think there is any utility, but you can use > ignite.binary().type(string) to clarify field types. > > Regards, >

Re: Failed to retrieve Ignite pods IP addresses error

2020-03-12 Thread Denis Magda
Hello Juili, This exception might happen if KubernetesIPFinder cannot connect a Kubernetes API server. It uses this address:

Re: Using custom thread pool with listener

2020-03-12 Thread Raymond Wilson
Hi Pavel, Thanks for confirming. I have modified this particular subsystem to use Compute functions to transit the data I was moving via messaging (this is a case where data needs to move to the logic, unfortunately), and to use the custom WithExecutor(). So far it works pretty well :) Thanks,

Re: Using custom thread pool with listener

2020-03-12 Thread Pavel Tupitsyn
Raymond, I don't think there is a way to move IMessageListener.Invoke calls from Ignite public thread pool to somewhere else. WithExecutor API is for Compute only. > public thread pool is saturated and then causes a deadlock when a message arrives from another node using IMessageListener Possible

Re: Cache metrics on server nodes does not update correctly

2020-03-12 Thread Dominik Przybysz
Hi, I used ignite in version 2.7.6 (but I have also seen this behaviour on other 2.7.x versions) and there aren't any near or local cache. I expect that if I ask distributed cache about key which does not exist then the miss metric will be incremented. śr., 11 mar 2020 o 11:35 Andrey Gura

Re: 2.8.0 : JDBC Thin Client : Unable to load the tables via DBeaver

2020-03-12 Thread Ilya Kasnacheev
Hello! I can see a lot of activity from your side, and ask you to participate in debugging and development. Please file tickets about the issues that you encounter and propose fixes. I think you have as much expertise around writing security plugin as anybody else. Regards, -- Ilya Kasnacheev

Re: cache/table metadata

2020-03-12 Thread Ilya Kasnacheev
Hello! I don't think there is any utility, but you can use ignite.binary().type(string) to clarify field types. Regards, -- Ilya Kasnacheev чт, 12 мар. 2020 г. в 18:05, narges saleh : > Thanks Ilya. > > Is there any utility that returns the (java) field types for the query > entity defined

Re: cache/table metadata

2020-03-12 Thread narges saleh
Thanks Ilya. Is there any utility that returns the (java) field types for the query entity defined caches? I don't want to have to map jdbc types to java types. On Thu, Mar 12, 2020 at 6:41 AM Ilya Kasnacheev wrote: > Hello! > > You can use JDBC's DatabaseMetaData for that. > > Please see >

[ANNOUNCE] Apache Ignite 2.8.0 Released

2020-03-12 Thread Maxim Muzafarov
The Apache Ignite Community is pleased to announce the release of Apache Ignite 2.8.0. Apache Ignite® is an in-memory computing platform for transactional, analytical, and streaming workloads delivering in-memory speeds at petabyte scale. https://ignite.apache.org Apache Ignite community

Re: 2.8.0 : JDBC Thin Client : Unable to load the tables via DBeaver

2020-03-12 Thread VeenaMithare
This fails when the security plugin is enabled. When I remove the security plugin, the query goes through. With the security plugin enabled, it hangs at : GridReduceQueryExecutor - on awaitallReplies method. Attached screenshot of thread , when it hangs. Steps I take : 1. Start my server with

Re: cache/table metadata

2020-03-12 Thread Ilya Kasnacheev
Hello! You can use JDBC's DatabaseMetaData for that. Please see https://docs.oracle.com/javase/8/docs/api/java/sql/DatabaseMetaData.html Regards, -- Ilya Kasnacheev чт, 12 мар. 2020 г. в 05:49, narges saleh : > Hi All, > > How would one extract, programmatically, the metadata for the >

Security threat due to H2 admin privileges for Ignite

2020-03-12 Thread Sriveena Mattaparthi
Hi, We are using ignite to run join queries which are handwritten by user. We have got a security threat using ignite as ignite is using h2 with admin privilieges. Which means user can execute any kind of system functions like filewrite, fileread etc. Is there a way to start ignite with a low

Re: Issue in Distributed joins

2020-03-12 Thread Ilya Kasnacheev
Hello! Apache Ignite has known limitations on the use of distributed SQL, namely that there is just one reduce phase. I'm not actually sure whether you have hit this exact one using this query. Let's wait on feedback from SQL people (who are probably busy with their Calcite affair), but of

java.lang.IllegalMonitorStateException: attempt to unlock read lock, not locked by current thread

2020-03-12 Thread yangjiajun
Hello. I get a strange exception while test ignite 2.8 in our test env.I get following exception when I set lazy = true to run our tasks.The tasks do jdbc selects and insert the result to others ignite tables.The tasks are async.The exception throws when my code fetches 1024 rows.Such tasks works

Failed to retrieve Ignite pods IP addresses error

2020-03-12 Thread Juili Bandgar
Hello, While creating ignite cluster in Kubernetes (v1.16.3), I am getting below error multiple times: [06:54:35]__ [06:54:35] / _/ ___/ |/ / _/_ __/ __/ [06:54:35] _/ // (7 7// / / / / _/ [06:54:35] /___/\___/_/|_/___/ /_/ /___/ [06:54:35]