Re: Nodes started on local machine require more than 80% of physical RAM

2020-02-12 Thread Mikhail
Hi Stephane, Ignite has a check: it sums all JVM heaps and off-heap sizes for all nodes in the cluster that you run on the same host, and check if it takes more then 80% of host RAM OR *there's less then 4GB left*: https://github.com/apache/ignite/blob/ef6764e99c318a857ec92d6a270d8ef621cfde66/mo

Re: Nodes started on local machine require more than 80% of physical RAM

2020-02-13 Thread Mikhail
> but 4GB for container OS seems a bit much. Thanks for letting me know in any case! Absolutely agree with you that 4GB is too much, especially for the container environment. I think the person who wrote the check thought about big bare-metal installations with 128GB+ RAM, but you can just ignore

Re: where to download odbc driver ?

2020-02-13 Thread Mikhail
Hi Ed, Please read the doc: https://www.gridgain.com/docs/latest/developers-guide/SQL/ODBC/odbc-driver#installing-odbc-driver you can find binaries here: %IGNITE_HOME%\platforms\cpp\bin\odbc\ Thanks, Mike. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: How to configure primary data in memory and backup data on disk?

2020-02-20 Thread Mikhail
You can not do this, Apache Ignite even can use the same memory page to store primary records and backup records, however, don't worry, Ignite will keep in memory the most recently used memory pages: https://cwiki.apache.org/confluence/display/IGNITE/Ignite+Durable+Memory+-+under+the+hood#IgniteDur

Re: NullPointerException while cluster startup

2020-03-09 Thread Mikhail
Hello, Looks like it was fixed in GridGain Community edition: https://www.gridgain.com/resources/download Could you please verify 8.7.12 release? I bet I've found a required fix by it wasn't donated to apache yet, as soon as you confirm that 8.7.12 works fine I'll create a ticket to donate fix to

Re: ignite 2.8.0 LRU eviction not work as expected.

2020-03-09 Thread Mikhail
Hi Bing, it works as expected: https://www.gridgain.com/docs/latest/developers-guide/memory-architecture/eviction-policies#on-heap-cache-eviction you set eviction only for on-heap, records will never be evicted from the off-heap memory, but only from on -heap. Please see my example: https://gist

Re: TcpDiscoverySpi worker thread failed with assertion error

2020-03-09 Thread Mikhail
Hi the issue was fixed: https://issues.apache.org/jira/browse/IGNITE-11952 please check the latest version 2.8.0 Thanks, Mike. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Zookeeper discovery with Ignite 2.8.0 - class NoClassDefFound

2020-03-09 Thread Mikhail
Hi Dominik, in new zookeeper 3.5.5 version part of classes were moved in new jar: https://mvnrepository.com/artifact/org.apache.zookeeper/zookeeper-jute/3.5.5 which is missed in Apache Ignite release. Please add it manually to lib folder. Thanks, Mike. -- Sent from: http://apache-ignite-users.

RE: Security threat due to H2 admin privileges for Ignite

2020-03-13 Thread Mikhail
Hi Sriveena, I do no quite understand your concerns, Apache Ignite is just a java application which you can be run under any user account with restricted privileges. Could you please describe you question in more detail? >Which means user can execute any kind of system functions like filewrite,

Re: Ignite thread pool configuration

2020-03-13 Thread Mikhail
Hi Dominik, You don't need to configure thread pools manually, you should do this only if you have some particular problem and think that this can be resolved by changing pool sizes. Ignite in 95% of cases automatically configure correct pools' sizes. So you didn't understand it correctly: The p

RE: Security threat due to H2 admin privileges for Ignite

2020-03-13 Thread Mikhail
sorry, but it's public user list, it's not a paid helpdesk, it's important to keep conversations public, to allow other people google answers and resolve similar problems. I believe you problem can be described without hostnames, IP addresses, passwords or other sensitive information. -- Sent fr

Re: Warning in the logs - Writes are very slow

2020-03-13 Thread Mikhail
Hi Kumar, Ignite need to sync memory and disk time to time, if you write rate is bigger than disk speed that means Ignite will never able to sync memory and disk, that's why it starts to throttle your writes. So ignite added 1.6ms delay to each write, to be more accurate, not for each writes, but

Re: Ignite transactions

2020-03-13 Thread Mikhail
Hi Ashish, Yes, a transaction will be rolled back if it closed without a successful commit. Thanks, Mike. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: CRUD operation on Hibernate L2 Cache ?

2018-07-18 Thread Mikhail
Hi Monstereo, monstereo wrote > When I want to add new element to cache, it will also update the database. > When I want to update any element in cache, it will also update the > database. > When I want to delete any element in cache, it will also delete the > element > from database. > > How I

Re: What is the difference between TcpCommunicationSpi & TcpDiscoverySpi ?

2018-07-20 Thread Mikhail
localportrange means the same for discovery and for communication, it defines the range from which node will choose a port to bind. For example, you have 47100 - discovery port and localportrange 100, it means that if you run 10 nodes, first will take 47100, second 47101 and so on, but this means t

Re: latency for replication

2018-07-20 Thread Mikhail
there no special API for this, I think you can do the following: 1. measure latency for FULL_SYNC mode = it consists of preparing data, sending it to primary, sending from primary to backups, sending a response from backup to the primary, sending a response back to the client. 2. measure latency f

Re: Batch insert into ignite

2018-07-23 Thread Mikhail
Hi Sriveena, for data load you can try to use streaming mode for jdbc: https://apacheignite.readme.io/docs/jdbc-driver#section-streaming-mode it will provide faster insert operation compare to regular insert, also you can disable WAL: https://apacheignite.readme.io/docs/write-ahead-log#section-wal

Re: Can wal archive be deleted?

2018-07-24 Thread Mikhail
Hi Ray, it's not safe to remove archive, in release 2.7 ignite will be able to do this: https://issues.apache.org/jira/browse/IGNITE-7912 ... Delete unused archived wal segments on each node: control.sh [--host HOST_OR_IP] [--port PORT] [--user USER] [--password PASSWORD] [--ping-interval

Re: How to use Affinity Function to Map a set of Keys to a particular node in a cluster?

2018-09-18 Thread Mikhail
Hi You can gather your data by @AffinityKeyMapped in one partition, but you can not force partition to be stored on some particular node. So you can use the same @AffinityKeyMapped for all data related to a particular city and this means all data about this city and/or related to this city would b

Re: How much heap to allocate

2018-09-18 Thread Mikhail
Hi Eugene, >For #2: wouldn't H2 need to bring the data into the heap to make the queries? > Or at least some of the date to do the group_by and sum operation? yes, ignite will bring data from off-heap to heap, sometimes if data set is too big for heap memory you need to set lazy flag for your qu

Re: Setting performance expectations

2018-09-20 Thread Mikhail
Hi Daryl, Could you please share with us your benchmark? is my understanding correct, that you first select 400k records from DB, DB is remote and this takes 700ms, then you select all these 400k records from Ignite and now it takes 500ms, but in this case ignite is a local embedded node? Number

Re: Inconsistent data.

2018-09-20 Thread Mikhail
Hi Shrikant, What kind of requests do you mean? If you make affinity calls, ignite always sends the task to a node which has data, if new node doesn't have data, tasks just won't go to this node. Could you please explain in more details what you mean by requests? Thanks, Mike. -- Sent from: ht

Re: Role of H2 datbase in Apache Ignite

2018-09-21 Thread Mikhail
Hi, Could you please formulate your question? Because right not your message looks like a request for google. I think the following article has answer for your question: https://apacheignite-sql.readme.io/docs/how-ignite-sql-works Thanks, Mike. -- Sent from: http://apache-ignite-users.70518.x

Re: Querying Ignite caches in DBeaver

2018-09-24 Thread Mikhail
Hi, if you don't enable indexing for some cache, you can't read data from this cache via DBeaver, you can use one of the following way to read unindexed caches: 1) web console: https://apacheignite-tools.readme.io/docs/ignite-web-console ( scan query) 2)visor cmd: https://apacheignite-tools.readm

Re: java.lang.ClassCastException: org.apache.ignite.internal.pagemem.impl.PageMemoryNoStoreImpl cannot be cast to org.apache.ignite.internal.processors.cache.persistence.pagemem.PageMemoryEx

2018-09-24 Thread Mikhail
Hi, could you please upload your configuration file, your screenshot is unreadable, furthermore, even if you send a high-resolution screenshot, it will be very difficult to copy-past configuration to file and check it locally. Please, just send us xml configuration that leads to the error. Thanks

IgniteJdbcThinDriver statements accumulation

2018-10-30 Thread Mikhail
esired behavior for this ignite jdbc driver? -- Best Regards, Mikhail

time series

2018-11-06 Thread Mikhail
there any out-of-the-box features for time series data in Ignite? Does it sound reasonable to implement rollover pattern in Ignite (like in ES)? Or there could be another options? [1] - https://www.elastic.co/blog/managing-time-based-indices-efficiently -- Best Regards, Mikhail

Re: read from igniteRDD and write to igniteRDD

2019-01-15 Thread Mikhail
Hi Mehdi I think first you need to read the following doc: https://apacheignite-fs.readme.io/docs/ignitecontext-igniterdd it describes how to properly setup Ignite cluster and create IgniteRDD, also it has examples. if you still have a question after reading the documentation, please describe yo

Re: Recovering from a data region OOM condition

2019-01-15 Thread Mikhail
What ignite version do you use? Could you please share a reproducer with us? -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Unable to activate an ignite cluster with multiple hosts.

2019-01-15 Thread Mikhail
Hi, as I can see you created a cluster without ignite native persistence, so it already active. Activation is required only when you created cluster with persistence: https://apacheignite.readme.io/docs/distributed-persistent-store Thanks, Mike. -- Sent from: http://apache-ignite-users.70518.

Re: Transactional cache in Atomic mode

2019-01-16 Thread Mikhail
Hi >1) you can do all operations on transaction caches without defining an explicit transaction. However, even if you don't start transaction and for example put some data in transactional cache, ignite itself will make implicit transaction, so transactionCache.put("key", "value") -> will update y

Re: ignite_backup_restore_query

2019-01-16 Thread Mikhail
Hi, you can make snapshots manually: 1. deactivate cluster. 2. stop all nodes 3. copy work, wal and data storage directories 4. start cluster again. To make live snapshots of your cluster you can use 3rd party solutions like this one https://docs.gridgain.com/docs/data-snapshots Thanks, Mike.

Re: Thin client cannot retrieve data that was inserted with the regular Ignite client when using a composite key

2019-01-16 Thread Mikhail
Hi Roman, it looks like a bug for me, at least I don't see anything wrong about your test case. Also, I can reproduce the issue with the latest master version, so I filed a ticket: https://issues.apache.org/jira/browse/IGNITE-10960 Thank you for your report, Mike. -- Sent from: http://apache-i

Re: Ignite Cache copy from another cache.

2019-01-16 Thread Mikhail
Hi Hemasundara, I think this should be implemented on the application level. when a new cache is ready, you need to change the cache name that your app uses to make all operations use a new cache, might be this will require some synchronization, it depends on your requirements. Thanks, Mike. -

Re: NearCache

2019-01-17 Thread Mikhail
Hi Greg, you can try to use OptimizedMarshaller: igniteConfig.setMarshaller(new OptimizedMarshaller()) however, this will lead to some limitations, which you can find in java doc of setMarshaller method. Thanks, Mike. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Creating Dataset classNotFound exception

2019-01-18 Thread Mikhail
Hi Mahesh, The defined anonymous class( IgniteBiFunction) will be executed on the server side, so it should be deployed there first, you can do this manually, by extracting the class to distinct class, compile to jar and add to libs folder on the server side. Or you need to enable peer class loadi

Re: Transactional cache in Atomic mode

2019-01-18 Thread Mikhail
>1) Batching always works better, however, I would benchmark single update vs batch update to prove this. >Would ignite itself make the implicit transaction /only if/ the explicit JAVA API for transaction has not been called? Right, if there's no definition for the transaction, there will be an

RE: building and running from source

2019-01-18 Thread Mikhail
Hi Scott, I think you need this doc: https://github.com/apache/ignite/blob/33ad0ad84a25a0d65ba408accfb1429cb96ff840/DEVNOTES.txt Let me know if it isn't sufficient to make the full build, we will fix it. thanks, Mike. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Ignite in GCP cloud

2019-01-18 Thread Mikhail
>1. you can use docker file from ignite kubernetus module: https://github.com/apache/ignite/blob/7b9cd0711b2ab16b8635cdaa588bfb3c03915f3c/modules/kubernetes/config/Dockerfile it's open source, all artifacs are in the module, so you it to build and host image locally. >2. You use too old documen

Re: ignite_backup_restore_query

2019-01-18 Thread Mikhail
I think you didn't copy the work directory, it can configured by IgniteConfiguration, by default it locates in $IGNITE_HOME/work -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Search on a composite key

2019-01-18 Thread Mikhail
Hi Please read this doc: https://apacheignite.readme.io/docs/cache-queries this section describes exactly what you want. Thanks, Mike. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: ignite.destroyCache() method hangs the cluster

2017-09-08 Thread Mikhail
Hi, You use very obsolete version, please try the latest one: 2.1 Thanks, Mikhail. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Starting atomic sequence in Spring XML configuration

2017-09-08 Thread Mikhail
Hi, Try to use lifecycleBeans: https://apacheignite.readme.io/docs/ignite-life-cycle after ignite starting you create a new sequence. Thanks, Mikhail. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: AWS Apache Ignite AMI startup.sh reports spurrious errors if options have blanks

2017-09-08 Thread Mikhail
Hi Dave, where can I find startup.sh? it doesn't look like a part of Ignite sources. Thanks, Mikhail. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: What's the current behaviour when we use the eviction filter + expiry plicy?

2017-09-08 Thread Mikhail
Hi Aaron, I don't see anything similar for expiration like for eviction. I think the easiest solution is to put that data to another cache with no expiration policy. Thanks, Mikhail. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

RE: integration of Apache ISIS and Ignite

2017-09-11 Thread Mikhail
Hi, with new dependencies, you have the same exception, don't you? if so, could you please share a pom based project that shows the problem? Thanks, Mikhail. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: ignite.destroyCache() method hangs the cluster

2017-09-11 Thread Mikhail
Hi Ender, I will appreciate if you share a reproducer with us, so I can file a ticket for this problem. Thanks, Mikhail. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Apache Zeppelin: What is proper syntax for calling custom SQL functons?

2017-09-11 Thread Mikhail
Hi, Please see the example in doc: https://apacheignite.readme.io/docs/miscellaneous-features#section-custom-sql-functions you can only apply custom functions to fields, that is it. You can just call arbitrary code with CALL statement. Thanks, Mike. -- Sent from: http://apache-ignite-users

Re: Existing queue can't be accessed on client node

2017-09-11 Thread Mikhail
Hi Edward, I can't reproduce the problem, could you please share a working code snippet that will show the problem? Thanks, Mikhail. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Existing queue can't be accessed on client node

2017-09-14 Thread Mikhail
Hi Edward, Thank you for the code snippet, I was able to reproduce the issue. I need time to investigate it, if there's no problem with the code, I'll file the issue to Ignite's jira to fix it. Thanks, Mike. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Existing queue can't be accessed on client node

2017-09-19 Thread Mikhail
Hi again, I filed a bug about the issue you described: https://issues.apache.org/jira/browse/IGNITE-6437 Thanks, Mike. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Cassandra failing to ReadThrough using Cache.get(key) without preloading

2017-09-27 Thread Mikhail
Hi Kenan, Could you please share with as a small reproducer? the best if it will be a pom based project with minimal code, just to reproduce the problem, so I can debug it locally. Thanks, Mike. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Ignite node not stopping after segmentation

2017-10-24 Thread Mikhail
Hi Biren, Ignite has a good doc for jmv tuning: https://apacheignite.readme.io/docs/jvm-and-system-tuning I think G1 can help to avoid long pauses, also you can increase failure detection timeout: https://apacheignite.readme.io/docs/

Re: Ignite is failing while starting Web Application

2017-10-24 Thread Mikhail
Hi Manipvl, I think we can always restore after checked exception. However your question is too general, could you please explain where you are catching ignite checked exception? Thanks, Mike. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: AWS Apache Ignite AMI startup.sh reports spurrious errors if options have blanks

2017-10-24 Thread Mikhail
Hi Dave, I think you need to find an author of this script, but anyway I didn't find it in our repository. Please use the following doc to run ignite: https://apacheignite.readme.io/docs/aws-deployment in aws. Thanks, Mike. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Ignite server send big data to client and make client crash

2017-10-24 Thread Mikhail
Hi Shawn, Could you please share logs? is there any errors? I don't think that client should crash with no message in logs. Thanks, Mike. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Adding more ignite-clients slows down the first client

2017-11-13 Thread Mikhail
Hi Tobias, if you need to do an initial loading of a big amount of data, please read the following section: https://apacheignite.readme.io/docs/streaming--cep >BUT when I add one more client to try to increased (scale horizontally) >I clearly see that the INSERT speed decreases on the first cli

Re: Question on On-Heap Caching

2017-11-14 Thread Mikhail
Hi Naresh, One way to reduce latency is to use data collocation and send compute tasks for this data: https://apacheignite.readme.io/docs/affinity-collocation instead of gathering data from several data nodes on client node, you can collocate data required for you task on one node and send compu

Re: Cluster nodes failures while under load

2017-11-14 Thread Mikhail
Hi Alin, >Logs aren't that helpful in this matter, simply saying that the respective node is unreachable). There must be an error in the node that became unreachable. Please grep server logs for errors/warnings and exceptions. And could you please show what queries made cluster to fail? Also, p

Re: Logging query on server node sent from client node

2017-11-15 Thread Mikhail
Hi, did you enabled events in configurations: https://apacheignite.readme.io/docs/events#section-configuration ? Thanks, Mike. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Deserializing to an object from a request based on SqlQueryField.

2017-11-15 Thread Mikhail
Hi, did you mark B field with @QuerySqlField? I'm just checked you case and it works fine for me, but I used java while you I guess you c#, don't you? Thanks, Mike. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Failed to run map query remotely

2017-11-16 Thread Mikhail
Hi, Could you please provide the full stack trace? the best if you can upload the full log. Thanks, Mike. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Memory utilization of Indexes in ignite

2017-11-16 Thread Mikhail
Hi Tejas, Ignite will store indexes in off-heap, but indexes can't be swapped to a disk. However in the latest version of ignite, disk storage was implemented and indexes can be saved on the disk, but it's unlikely because indexes are hot data that should be kept in memory. Thanks, Mike. --

Re: JDBC Client

2017-11-16 Thread Mikhail
Hi Miau, 1. no, thin client won't reconnect to cluster, you need to handle an exception and re-connect to other servers manually. I create a ticket to improve this part: https://issues.apache.org/jira/browse/IGNITE-6942 2. Thick driver uses ignite instance under the hood, so ignite client will tr

Re: Scan query failed if set deploymentMode to Private

2017-11-17 Thread Mikhail
Hi, it sounds like a bug, I'll try to reproduce it and if it's so, I'll create a ticket for this. Thanks, Mike. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: JDBC Client

2017-11-17 Thread Mikhail
Hi again, >1. If use thick driver, can we use JDBC connection pooling? no, you should not use connection pools in this case. ignite client which is used by the thick driver is concurrent save and can be used by multiple threads and communicate with any server from the cluster. >2. How/What is t

Re: Failed to connect to address issue

2017-11-17 Thread Mikhail
Hi, could you please share the full logs from all your nodes? Thanks, Mike. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: binary object affinity collocation

2017-11-17 Thread Mikhail
Hi, You have a mistake in configuration: "uid" must be a part of a key, a custom affinity can't be done for entry filed, only for key field. So you need to make a complex key for IdMatching, the one part of it must be "uid". Thanks, Mike. -- Sent from: http://apache-ignite-users.705

Re: "select ... from (select ... from) where" doesn't work

2017-11-17 Thread Mikhail
Hi Matija, Nested select is supported by Ignite, could you please share a small pom based reproducer for the problem, it could be a configuration problem, but there's not enough information to help you. Thanks, Mike. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: IgniteInterruptedException: Node is stopping

2017-11-17 Thread Mikhail
Hi Hyma, looks like your job takes too much time, you hit some timeout and spark killed your jobs. I don't see any other errors or warnings from your logs, it's very likely that you need to increase some time out in spark. thanks, Mike. -- Sent from: http://apache-ignite-users.70518.x6.nabble.

Re: Initial query resent the data when client got reconnect

2017-11-20 Thread Mikhail
Hi, Could you please show examples how this is implemented in system mentioned by you: elastisearch,mango? I'll create an enhancement request for this feature. Thanks, Mike. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Scan query failed if set deploymentMode to Private

2017-11-20 Thread Mikhail
Hi, I reproduced the issue too, a ticket is created: https://issues.apache.org/jira/browse/IGNITE-6960 Thanks, Mike. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Failed to connect to address issue

2017-11-20 Thread Mikhail
Hi looks like you didn't close all ignite instances, try to terminate all ignite processes and re-try you run( killall java ). Thanks, Mike. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Only one node has a high number of SystemExecutor CompletedTask

2017-11-22 Thread Mikhail
Hi as you already noted, ignite cluster has a special node - coordinator, the oldest node in a cluster is coordinator node: ignite.cluster().forServers().forOldest().node() In case of creation/destroying a cache, coordinator needs to coordinate this process and notify each node about cache crea

Re: IOException: Bad file descriptor - while running application on remote node

2017-11-27 Thread Mikhail
Hi Rajarshi, I see that you use KafkaProducer in you compute job. Are you sure that KafkaProducer can be safely serialized on one host and deserialized on a remote host and deserialization version can be safely on the remote host? I think you need properly create/obtain KafkaProducer on a remote

Re: Memcached doesn't store flags

2017-11-27 Thread Mikhail
Hi Wolfram, Looks like it's broken, we parse those type bits in a request, but don't set in for a response. I created a ticket for this problem: https://issues.apache.org/jira/browse/IGNITE-7028 Thanks, Mike. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: "select ... from (select ... from) where" doesn't work

2017-11-28 Thread Mikhail
Hi Matija, Did you have time to prepare a reproducer? Thanks, Mike. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Memory leak in GridCachePartitionExchangeManager?

2017-12-18 Thread Mikhail
Hi I'll try to reproduce the issue and create a ticket if it's confirmed. Could you please confirm that you use the latest 2.3 ignite? if not, could you please specify ignite version that you use? Thanks, Mike. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: NPE from the native persistence enable node

2018-01-17 Thread Mikhail
Hi Aaron, Can you always reproduce the issue? Might be you have a reproducer for this issue? I created a ticket: https://issues.apache.org/jira/browse/IGNITE-7458 but I don't think that it will be fixed without a reproducer, so it will be great if you'll provide one, I'll attach it to the tick

Re: Failed to activate cluster - table already exists

2018-01-25 Thread Mikhail
Hi Thomas, Looks like you can reproduce the issue with a unit test. Could you please share it with us? Thanks, Mike. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: a2cf190a-6a44-4b94-baea-c9b88a16922e, class org.apache.ignite.IgniteCheckedException:Failed to execute SQL query

2018-01-25 Thread Mikhail
Hi Rahul, Could you please share a log from a node where SQL failed? or even better to share logs from all nodes, including client nodes. Does YARN limit resources like CPU and memory for Ignite instances? Or each Ignite instance on the host can see and use all CPUs? Thanks, Mike. -- Sent fr

Re: Write ahead log and early eviction of new elements

2018-02-14 Thread Mikhail
Hi Raymond, >I understand when I add an element to a cache that element is serialized, >placed into the local memory for the cache on that server and then placed >into the WAL pending checkpointing (merging into the persistence store). First, the update will be written into WAL and only then in

Re: Failed to parse query

2018-02-15 Thread Mikhail
Hi Stéphane, I believe a good description of the error you will find in server node log. You need to specify a schema for your query, like this: insert into "cache_name".device(id, secret, updated_at, created_at) there's the existent ticket for error message improvement, I added this thread a

Re: Table creation in Ignite

2018-02-15 Thread Mikhail
Hi Prasad, >Does it mean that it stores the data in table as well as in key value cache? I meant to say that does it duplicates the data? There's no data duplication, everything is stored in ignite cache only. SQL is just another way access to data. Plus SQL provides indices. >In which format

Re: BinaryInvalidTypeException in IgniteCallable

2018-02-15 Thread Mikhail
Hi Looks like you forgot to add the exception that you to the mail. Could you please send it to us? Thanks, Mike. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Moving a folder when deployed on Kubernetes

2018-02-16 Thread Mikhail
Hi, Your question has been asked before: http://apache-ignite-users.70518.x6.nabble.com/Web-Console-on-Kubernetes-Cluster-td18591.html Unfortunately, there's no docker image for web agent, so you need to prepare and install it manually like any other regular java application. thanks, Mike. --

Re: And again... Failed to get page IO instance (page content is corrupted)

2018-02-19 Thread Mikhail
Hi Sergey, The release of 2.4 should be soon, in a week or couple, however, there's no strong schedule for Apache releases. Could you please share a reproducer for the issue? Might be you can share a storage on which the issue can be reproduced? Thanks, Mike. -- Sent from: http://apache-ignit

Re: QueryEntities in Ingnite

2018-02-19 Thread Mikhail
Hi, there's two way to index objects in cache: 1. by annotations: https://apacheignite.readme.io/docs/cache-queries#section-query-configuration-by-annotations 2. by QueryEntity: https://apacheignite.readme.io/docs/cache-queries#section-query-configuration-using-queryentity But you can't mix both,

Re: Unable to identify root cause for node failure

2018-02-19 Thread Mikhail
Hi Rahul, at 12:25:03 first node detected that second one is failed: [12:45:03,251][INFO][exchange-worker-#182][GridCachePartitionExchangeManager] Skipping rebalancing (nothing scheduled) [top=AffinityTopologyVersion [topVer=3, minorTopVer=0], evt=NODE_FAILED, node=bbdd7792-1309-4941-a7ad-05ed642

Re: QueryEntities in Ingnite

2018-02-19 Thread Mikhail
>Does setting index of cache configuration solves the column Groupid not found problem. yes, it does. >Cause I am not setting fields explicitly in QueryEntity. Is it required to set fields in QueryEntity when annotations are used in Pojo? you must choose only one approach to describe an object f

Re: Unable to identify root cause for node failure

2018-02-20 Thread Mikhail
Hi, First, ignite will take all space that is configured in a data region. if there's more data then data region can store it will write data to a disk. However, it's about off-heap memory only, it doesn't use the heap for data storing(at least by default). How to configure data region size you c

Re: atomicity of creating a new cache

2018-03-14 Thread Mikhail
Hi András, The described behavior doesn't sound Ok. Could you please send us a reproducer for this that can be run locally? Thanks, Mike. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Cannot insert records into Apache Ignite cache from Apache Spark RDD

2018-03-14 Thread Mikhail
Hi, Could you please send us a reproducer that can be run locally? Thanks, Mike. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Parallel execution in replicated mode

2018-03-14 Thread Mikhail
Hi Paulus, Replicate cache is supposed to have relatively small size because it can't be scale beyond min(nodes.ram), at least it was so before persistence was implemented. With a persistence that appears in ignite 2+ it now makes sense. However, you should send your proposal to dev list instead

Re: POSIX compliant NFS storage

2018-03-14 Thread Mikhail
Hi Network storages like EBS or EMC XTREMIO work really good with Ignite, however, NFS isn't the best from a performance point of view, it's something that should be tested. Thanks, Mike. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Affinity Key column to be always part of the Primary Key

2018-03-15 Thread Mikhail
Hi Naveen >If I do not have the affinity key column as part of the primary key, it does >not allow me to create the table itself. Could you please explain how it doesn't allow you create the table? is there any exceptions/errors messages? Thanks, Mike. -- Sent from: http://apache-ignite-u

Re: AffinityKey Configuration in order to achieve multiple joins across caches

2018-03-15 Thread Mikhail
Hi, You can have only one affinity key in a class, so in your case, you need to choose the smallest table and made it replicated to avoid distributed joins. Another option is to use denormalization of you data, for example, to store Class B Class C in one class as one row. Thanks, Mike. -- S

Re: Same DDL should work table created thru DDL and table created thru Java API

2018-03-16 Thread Mikhail
Hi Naveen, If a table was created with a native api then it can be assessed only with schema prefix only. Thanks, Mike. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Understanding SQL CREATE TABLE 'WITH' Parameters?

2018-03-16 Thread Mikhail
Hi >1) Do the settings of the parameters in the 'WITH' clause apply only to the >cached data? Or also to the persisted data? When you create a table by SQL, ignite will create a cache that with settings provided in 'WITH' clause. if by persisted data you meant ignite native persistence, then ye

Faceted search

2017-01-11 Thread Mikhail
uld prefer not to have two different platforms for indexing content. -- Best Regards, Mikhail

  1   2   >