Re: Query on Ignite Visor usage

2020-12-08 Thread Evgenii Zhuravlev
Hi, I don't think that it's related to the commands that you run from Visor, it's more about the way Visor connects to the cluster. Internally, it starts a daemon node, which basically has the same discovery and communication mechanisms as other nodes. So, other nodes will try to communicate with

Re: Ignite communicating with non ignite servers

2020-11-23 Thread Evgenii Zhuravlev
Hi, Can you please tell what scan were you running? I want to reproduce this issue using tenable.sc. Thank you, Evgenii вт, 22 сент. 2020 г. в 06:55, Ilya Kasnacheev : > Hello! > > I don't think it should cause heap dumps. Here you are showing just a > warning. This warning may be ignored. >

Re: Ignite 2.8.1: Database Closed error

2020-11-19 Thread Evgenii Zhuravlev
Hi, I don't think it's related to the discovery. In the log, before OOM you can see the long JVM pause: Possible too long JVM pause: 2323 milliseconds. So, probably you used more heap memory than you had. What version do you use? How much heap memory do you have? What do you do with a

Re: L2-cache slow/not working as intended

2020-11-06 Thread Evgenii Zhuravlev
Hi, How many nodes do you have? Can you check the same scenario with one node only? How do you run queries? Is client on the same machine as a server node? I would recommend enabling DEBUG logs for org.apache.ignite.cache.hibernate package. DEBUG logs can show all get and put operations for

Re: Eviction policy enablement leads to ignite cluster blocking, it does not use pages from freelist

2020-10-05 Thread Evgenii Zhuravlev
Hi Prasad, What operations do you run on the cluster? What is the size of objects? Is it possible to share full logs from nodes? Do you have some kind of small reproducer for this issue? It would be really helpful. Thanks, Evgenii пн, 5 окт. 2020 г. в 07:53, Prasad Pillala : > Hi, > > > >

Re: Ignite communicating with non ignite servers

2020-09-21 Thread Evgenii Zhuravlev
Hi, What security scan tool do you use? Evgenii пн, 21 сент. 2020 г. в 09:03, ignite_user2016 : > Recently, we migrated ignite to JDK11, all works well except when we run > our > security scan, ignite node tries to connect on that servers and result in > out of memory and heap dump errors. > >

Re: Apache ignite statefulsets pods abruptly restarts

2020-09-21 Thread Evgenii Zhuravlev
There is no such thing as "on heap cache only.". It's possible to enable an additional cache level in heap, but it still will be storing all data in the off heap. So, right now you need at least 10.25+8gb+ Checkpoint buffer size for your Ignite node. Evgenii пн, 21 сент. 2020 г. в 09:29, Sanjaya

Re: Lag before records are visible after transaction commit

2020-09-15 Thread Evgenii Zhuravlev
-- > Ilya Kasnacheev > > > пн, 14 сент. 2020 г. в 21:15, Evgenii Zhuravlev >: > >> No, I don't see other ways to do this transactionally, as CQ itself is >> not transactional. >> >> Evgenii >> >> чт, 10 сент. 2020 г. в 00:52, ssansoy : >>

Re: Lag before records are visible after transaction commit

2020-09-14 Thread Evgenii Zhuravlev
No, I don't see other ways to do this transactionally, as CQ itself is not transactional. Evgenii чт, 10 сент. 2020 г. в 00:52, ssansoy : > unfortunately the 's' on B here can't be derived from a number 0..n - e.g. > it > isn't a numeric id. > > E.g. in practice lets say: > > A is a "Location"

Re: Lag before records are visible after transaction commit

2020-09-09 Thread Evgenii Zhuravlev
Yes, but if you know the number of entries B for this object A, then you can get all objects using s, which will be 0..n Evgenii пн, 7 сент. 2020 г. в 06:38, ssansoy : > Thanks Evgenii, > > Sorry to keep revisiting this - maybe I am misunderstanding, but don't we > also need 's' to be able to

Re: Lag before records are visible after transaction commit

2020-09-04 Thread Evgenii Zhuravlev
You can put the number of entries in B cache related to this object A right in the object A. After that, you can use this number to make keys of all objects from cache B, as you already know q and r. But it depends on use case. Evgenii пт, 4 сент. 2020 г. в 03:21, ssansoy : > Thanks Evgenii, >

Re: Ignite test takes several days

2020-09-03 Thread Evgenii Zhuravlev
n issue. Do I need any special > configuration for the ignite core test? Thank you. > > > On Thu, Aug 27, 2020 at 9:53 AM Evgenii Zhuravlev < > e.zhuravlev...@gmail.com> wrote: > >> Hi, >> >> No, it's not normal. Do you really want to run all the tests locally

Re: Lag before records are visible after transaction commit

2020-09-03 Thread Evgenii Zhuravlev
Yes, it is expected that ScanQuery and ContinuousQuery are not transactional. >Getting all the records will pull everything back onto the and we would have to filter locally if I am understanding correctly? There is no need to get all entries from the cache, you can get entries with certain keys.

Re: Lag before records are visible after transaction commit

2020-09-02 Thread Evgenii Zhuravlev
Hi, To make this work, you can change the transaction type - from READ_COMMITED to SERIALIZABLE and replace scanQuery with getAll. In this case, getAll operation will be waiting for locked keys. Note that running cache operations in CQ listener thread may cause deadlock and it's better to use

Re: Lag before records are visible after transaction commit

2020-09-01 Thread Evgenii Zhuravlev
Hi, Checked this reproducer. Continuous Query itself is not transactional and it looks like it can't be used for this at the moment. So, it gets notification before other entries were committed. Best Regards, Evgenii вт, 1 сент. 2020 г. в 00:34, ssansoy : > Hi is anyone able to help look

Re: Item not found, B+Tree is corrupted and critical error detected after add nodes to baseline topology

2020-08-31 Thread Evgenii Zhuravlev
> Best Regards, > - > Steven Zheng > E-mail: closee...@gmail.com > > > Evgenii Zhuravlev 于2020年8月28日周五 上午6:45写道: > >> Hi, >> >> Can you attach logs in normal format? It's really hard to read it. Also,

Re: Hibernate 2nd Level query cache with Ignite

2020-08-28 Thread Evgenii Zhuravlev
ery cache with Ignite > > > > Thanks for responding @Evgenii > > > > Attaching the logs for both. There is no signification info in the ignite > server. In application logs all logs after line 6629 is when application > was able to reconnect with server after the server rest

Re: Item not found, B+Tree is corrupted and critical error detected after add nodes to baseline topology

2020-08-27 Thread Evgenii Zhuravlev
Hi, Can you attach logs in normal format? It's really hard to read it. Also, please attach full logs from nodes, not only the stacktrace. Thanks, Evgenii вт, 25 авг. 2020 г. в 19:27, Steven Zheng : > Hi community, > Currently I have 25 nodes in my ignite cluster and all of them were added >

Re: Ignite test takes several days

2020-08-27 Thread Evgenii Zhuravlev
Hi, No, it's not normal. Do you really want to run all the tests locally, or you just want to build the project? If you want just to build it, I suggest skipping tests by using -Dmaven.*test*.*skip*=true flag. Evgenii чт, 27 авг. 2020 г. в 06:33, Cong Guo : > Hi, > > I try to build the

Re: Cache Expiry policy not working..

2020-08-27 Thread Evgenii Zhuravlev
Hi, Please share the full maven project with a reproducer then. I wan't able to reproduce the same behaviour with a code you shared before. Evgenii чт, 27 авг. 2020 г. в 01:40, kay : > Hi I didn't notice a Cache Name > > cache name is NC_INITPGECONTRACT_CACHE > > Thank you. > > > > -- > Sent

Re: Hibernate 2nd Level query cache with Ignite

2020-08-26 Thread Evgenii Zhuravlev
Hi, Can you please share full logs from client and server nodes? Thanks, Evgenii ср, 26 авг. 2020 г. в 14:26, Tathagata Roy : > Hi, > > > > I am trying to do a POC on hibernate 2nd level cache with Apache Ignite. > With this configuration I was able to make it work > > > >

Re: Cache Expiry policy not working..

2020-08-26 Thread Evgenii Zhuravlev
Hi, It looks like a little bit different problem then. As far as I see, the only issue here is related to the cache size, no to the get operations. It is a known issue: https://issues.apache.org/jira/browse/IGNITE-9474 Best Regards, Evgenii вт, 25 авг. 2020 г. в 21:22, kay : > Hello, There is

Re: Lag before records are visible after transaction commit

2020-08-25 Thread Evgenii Zhuravlev
Hi, It looks like you need to use https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/cache/CacheWriteSynchronizationMode.html, just set it to FULL_SYNC for the cache using CacheConfiguration. setWriteSynchronizationMode. Evgenii вт, 25 авг. 2020 г. в 02:27, ssansoy : > Hi, I

Re: Cache Expiry policy not working..

2020-08-25 Thread Evgenii Zhuravlev
Well, in the code you've shared you're not waiting between puts and checks after that. I used this expiry policy for cache: FactoryBuilder.factoryOf(new CreatedExpiryPolicy(new Duration(SECONDS, 1 and added Thread.sleep(2000) before puts and gets in your code and ExpiryPolicy world for me

Re: Cache configuration

2020-08-17 Thread Evgenii Zhuravlev
Hi, You can add cache configuration to the xml file with the *(for example, cache-*) at the end. After this, caches with names that fit this template(cache-1 for template cache-*) will use it's cache configuration. Evgenii вс, 16 авг. 2020 г. в 07:03, C Ravikiran : > As for the below, I have

Re: I have an exception while trying to send the "evt=NODE_JOINED" message

2020-08-14 Thread Evgenii Zhuravlev
gEnabled(true); >>> >>> cfg.setWorkDirectory("/tmp/"); >>> >>> TcpDiscoveryVmIpFinder ipFinder = new TcpDiscoveryVmIpFinder(); >>> >>> ipFinder.setAddresses(Arrays.asList("51.15.203.48","51.15.8

Re: How can I find out if indexes are used in a query?

2020-08-12 Thread Evgenii Zhuravlev
Well, it uses index now: /* PUBLIC.IDX_CELL_ENODEB_ID: PERIOD_START_TIME < TIMESTAMP '2020-08-04 00:00:00'\nAND REGION_ID = 'NORTHEAST'\nAND PERIOD_START_TIME >= TIMESTAMP '2020-08-03 00:00:00'\n */ Is it better now, after using the hint for index? How much time was it taking

Re: How can I find out if indexes are used in a query?

2020-08-11 Thread Evgenii Zhuravlev
Hi, EXPLAIN should show all the indexes. Are you sure that these indexes can be used for your query? You also can use USE INDEX hint to force the use of the index. Best Regards, Evgenii вт, 11 авг. 2020 г. в 16:22, Axel Luft : > EXPLIN PLAN doesn't show any indexes used although I created

Re: I have an exception while trying to send the "evt=NODE_JOINED" message

2020-08-11 Thread Evgenii Zhuravlev
Hi, It looks like the node can't establish a connection using the Communication channel to the remote node. I would recommend checking that all ports are opened and there is no firewall. Also, you can check that connection can be established using telnet or any other tool. If you're sure, that

Re: build failure for module hibernate 5.3

2020-08-11 Thread Evgenii Zhuravlev
Hi, You can use it from this repository: https://gridgainsystems.com/nexus/content/repositories/external/org/gridgain/ignite-hibernate_5.3/ I believe there are no changes between these versions. Best Regards, Evgenii вт, 11 авг. 2020 г. в 10:53, Tathagata Roy : > I am trying to do a poc on

Re: Is there a way for client to lazy join the cluster?

2020-08-06 Thread Evgenii Zhuravlev
It should be handled on your application side. For example, you can make initialization of Ignite instance in a separate thread and add a check on other API invocations that instance was initialized. Evgenii чт, 6 авг. 2020 г. в 09:03, John Smith : > I'm testing failover scenarios and currently

Re: Best first steps for performance tuning

2020-08-06 Thread Evgenii Zhuravlev
Hi Devin, Yes, you're right, the first step could be increasing the amount of offheap memory used for data(data region size). By default, Ignite uses 20% of available RAM. After that, I would recommend finding where the bottleneck is for your system - you can check CPU, disk and network to find

Re: ignite metrics - cache vs cachelocal

2020-08-03 Thread Evgenii Zhuravlev
Hi, Cache metrics contain information from all nodes in the cluster, while cache local metrics are related to the one(local) node only. Evgenii пн, 3 авг. 2020 г. в 15:43, scottmf : > hi, > In JMX with Ignite I see cache and cachelocal metrics. What's the > difference? Many of the metrics

Re: Question in Continuous Query Remote Filter

2020-08-03 Thread Evgenii Zhuravlev
I believe Java doc should be enough for that: https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/cache/query/ContinuousQuery.html It says: To stop receiving updates call QueryCursor.close()

Re: Question in Continuous Query Remote Filter

2020-07-31 Thread Evgenii Zhuravlev
Hi, You can just stop the CQ and then register it again if you don't want to get notifications for some period of time. Evgenii пт, 31 июл. 2020 г. в 01:51, Devakumar J : > Hi All, > > We have a setup of 2 servers and 1 client Node. Client node registers CQ on > set of caches. > > I just want

Re: Log file not found with Ignite 2.8.1

2020-07-31 Thread Evgenii Zhuravlev
Are you sure that this configuration file was applied? On the node start, it prints info about log to the System.out, so, I would recommend checking the console. Best Regards, Evgenii чт, 30 июл. 2020 г. в 05:51, manueltg89 : > Hi all! > > I have a Ignite app with version 2.8.1, I've followed

Re: Are CPU Metrics logged by Ignite correct?

2020-07-28 Thread Evgenii Zhuravlev
Hi, It's a known issue related to the java11: https://issues.apache.org/jira/browse/IGNITE-13306 Evgenii пн, 27 июл. 2020 г. в 03:17, Mat : > Tested with Windows and Linux K8 containers all on Java 11. > > > > -- > Sent from: http://apache-ignite-users.70518.x6.nabble.com/ >

Re: Are CPU Metrics logged by Ignite correct?

2020-07-24 Thread Evgenii Zhuravlev
Hi, What OS and java version do you use? Evgenii пт, 24 июл. 2020 г. в 12:32, Mat : > Ignite is logging "strange" CPU metrics for me: > > Metrics for local node (to disable set 'metricsLogFrequency' to 0) > ^-- Node [id=c2a76580, name=embedded, uptime=00:01:00.153] > ^-- H/N/C

Re: Odd behavior/bug with DataRegion

2020-07-24 Thread Evgenii Zhuravlev
Hi, There is a couple of known issues related to the small data region. I saw this behavior before and you shouldn't see this issue for regions with bigger sizes. Also, if you have really big objects, you might need to change the emptyPagesPoolSize, to make sure that there are no objects bigger

Re: custom ignite-log4j.xml when using stock docker ignite image

2020-07-23 Thread Evgenii Zhuravlev
Hi Maxim, Do you plan to use persistence or attach any disk for the work directory? If so, you can just put a configuration file there, and just use inside the ignite XML configuration file. Evgenii ср, 22 июл. 2020 г. в 08:13, Maxim Volkomorov <2201...@gmail.com>: > Hi! > > Is there a simple

Re: Checking dataregion limits

2020-07-23 Thread Evgenii Zhuravlev
Hi, >What is the best way to check for data region limits. *How about DataRegionMetricsMXBeanImpl.getMaxSize ?* 1. Why does max size not show what i exactly set. E.g. if i set the size as 20 mb (i.e. 20 * 1024 * 1024 = 20971520), but the value for OffHeapSize is 19922944. So why not exact? *I

Re: java.lang.StackOverflowError when put a value on Ignite cache 2.7.6

2020-07-23 Thread Evgenii Zhuravlev
Hi, Did you find the object which caused this error? Can you share the reproducer with us? Thank you, Evgenii вт, 21 июл. 2020 г. в 23:15, abraham : > I am using Ignite 2.7.6 in a cluster of 2 servers with persistence > enabled. > > > > It is working fine but suddenly a

Re: Ignite DefaultDataRegion config

2020-07-22 Thread Evgenii Zhuravlev
Hi, If you don't plan to use it at all, then yes, 40mb should be fine. Evgenii вт, 21 июл. 2020 г. в 22:17, kay : > Hello! > > What size should I give you for DefaultDataRegion? > Every cache has a specific Region(I'm not going to use defaultDataRegion) > > 40MB is enough? If will not use

Re: Apache Ignite CacheRebalanceMode Is Not Respected By Nodes

2020-07-21 Thread Evgenii Zhuravlev
Hi, CacheRebalanceMode is responsible for a different thing - it starts to work when data need to be rebalanced due to topology(or baseline topology change). It's not responsible for data distribution between nodes for put operations. So, when you insert data, part of this data belongs to the

Re: How to do cache.get() on SQL table by primary key with multiple columns?

2020-07-15 Thread Evgenii Zhuravlev
event will wait until one of the event loops > can process the next event... > > > > On Wed., Jul. 15, 2020, 3:43 p.m. Evgenii Zhuravlev, < > e.zhuravlev...@gmail.com> wrote: > >> 1. This builder can be used for making one object, do you want to >> construct

Re: How to do cache.get() on SQL table by primary key with multiple columns?

2020-07-15 Thread Evgenii Zhuravlev
to > be in the classpath on all nodes? > > On Wed, 15 Jul 2020 at 10:43, John Smith wrote: > >> Ok I will try it... >> >> On Tue, 14 Jul 2020 at 22:34, Evgenii Zhuravlev >> wrote: >> >>> John, >>> >>> It's not necessary to

Re: Ignite Native Persistence With write behind additional store

2020-07-15 Thread Evgenii Zhuravlev
There is a typo in my previous message, I meant "Storages will be synchronized in case of one of the node failure." There is no reference for this type of configuration since there is no guarantee for the consistency. If you still want to use it, you can just combine configuration for persistence

Re: How to do cache.get() on SQL table by primary key with multiple columns?

2020-07-14 Thread Evgenii Zhuravlev
lass need to exist in the > class path of the server nodes? > > Like if I have > > class MyKeyClass { >Integer col1; >Integer col2; > } > > Does this class need to be loaded in all nodes or ignite can figure it out > and marshal it? > > On

Re: Ignite Native Persistence With write behind additional store

2020-07-14 Thread Evgenii Zhuravlev
Hi, There is no guarantee of data consistency between Ignite persistence and 3rd party DB in this case. Storages will be synchronized in case of one of the node failure. You can try to run some explicit checking for data consistency, but I believe it won't be easy with the load. Evgenii вт, 14

Re: How to do cache.get() on SQL table by primary key with multiple columns?

2020-07-14 Thread Evgenii Zhuravlev
Hi John, To do this, you need to create a key object with the same type as you have for the table. If you don't specify KEY_TYPE in the create table script, it will be generated automatically. I would recommend to specify it for the command(just type name, if you don't have a class) and, when you

Re: What does all partition owners have left the grid on the client side mean?

2020-07-07 Thread Evgenii Zhuravlev
t;> Because in between it's all the business logs. Let me make sure I didn't >>> filter anything relevant. So maybe in those 13 hours nothing happened? >>> >>> >>> On Thu, 25 Jun 2020 at 10:53, Evgenii Zhuravlev < >>> e.zhuravlev...@gmail.com> wrot

Re: What does all partition owners have left the grid on the client side mean?

2020-06-25 Thread Evgenii Zhuravlev
чт, 25 июн. 2020 г. в 07:36, John Smith : > Hi Evgenii, same folder shared stdout.copy > > Just in case: > https://www.dropbox.com/sh/ejcddp2gcml8qz2/AAD_VfUecE0hSNZX7wGbfDh3a?dl=0 > > On Wed, 24 Jun 2020 at 21:23, Evgenii Zhuravlev > wrote: > >> No, it's not. It's n

Re: What does all partition owners have left the grid on the client side mean?

2020-06-24 Thread Evgenii Zhuravlev
No, it's not. It's not clear when it happened and what was with the cluster and the client node itself at this moment. Evgenii ср, 24 июн. 2020 г. в 18:16, John Smith : > Ok I'll try... The stack trace isn't enough? > > On Wed., Jun. 24, 2020, 4:30 p.m. Evgenii Zhuravlev, < &

Re: What does all partition owners have left the grid on the client side mean?

2020-06-24 Thread Evgenii Zhuravlev
John, right, didn't notice them before. Can you share the full log for the client node with an issue? Evgenii ср, 24 июн. 2020 г. в 12:29, John Smith : > I thought I did! The link doesn't have them? > > On Wed., Jun. 24, 2020, 2:43 p.m. Evgenii Zhuravlev, < > e.zhuravlev...@g

Re: What does all partition owners have left the grid on the client side mean?

2020-06-24 Thread Evgenii Zhuravlev
pContext.java:269) > at io.vertx.ext.web.client.impl.HttpContext.fire(HttpContext.java:279) > at > io.vertx.ext.web.client.impl.HttpContext.dispatchResponse(HttpContext.java:240) > at > io.vertx.ext.web.client.impl.HttpContext.lambda$null$2(HttpContext.java:370) > ... 7 common fr

Re: What does all partition owners have left the grid on the client side mean?

2020-06-24 Thread Evgenii Zhuravlev
Hi, It means that there are no nodes in the cluster that holds certain partitions. So, probably you have a wrong configuration or some of the nodes left the cluster and you don't have backups in the cluster for these partitions. I believe more can be found from logs. Evgenii ср, 24 июн. 2020 г.

Re: How to fix Ignite node segmentation without restart

2020-06-17 Thread Evgenii Zhuravlev
>I do not want to restart it and I cannot do a failover because a network issue just happened and the stand-by may be invalid. The fix is to always restart the slave. You can enable CacheWriteSynchronizationMode.FULL_SYNC and there will be no differences between primary and backup partitions. In

Re: Ignite persistence and activation

2020-06-16 Thread Evgenii Zhuravlev
Hi, All caches, including caches for atomic structures and in-memory caches, are not available before activation. I believe it makes sense to move your code for running after the activation event: https://apacheignite.readme.io/docs/baseline-topology#cluster-activationdeactivation-events .

Re: Using native persistence to "extend" memory

2020-06-16 Thread Evgenii Zhuravlev
Steve, Actually, disabling WAL is a good option for your use case. Checkpoint mechanism is the same with disabled WAL, the only difference is that node is not writing WAL to the disk on each operation. Usually, it might make sense to disable WAL for initial loading - when you can lose the data in

Re: HashMap warning when using PutAll()

2020-06-12 Thread Evgenii Zhuravlev
The same works for other operations too(like removeAll). Evgenii пт, 12 июн. 2020 г. в 07:22, Evgenii Zhuravlev : > Raymond, > > Collections used in putAll should be sorted, because otherwise if they > have the same entries but in a different order, it can lead to the classi

Re: HashMap warning when using PutAll()

2020-06-12 Thread Evgenii Zhuravlev
Raymond, Collections used in putAll should be sorted, because otherwise if they have the same entries but in a different order, it can lead to the classic deadlock. It is expected behavior. Best Regards, Evgenii чт, 11 июн. 2020 г. в 21:38, Raymond Wilson : > We are using Ignite v2.8.0 and the

Re: CountDownLatch issue in Ignite 2.6 version

2020-06-10 Thread Evgenii Zhuravlev
gt; its state is very important? >> >> Can we enforce atomic data structures to use replicated cache? >> >> Which cache does ignite use to store atomic data structures? >> >> Thanks >> Prasad >> >> On Mon 8 Jun, 2020, 11:58 PM Evgenii Zhuravlev >

Re: ignite web agent issue

2020-06-10 Thread Evgenii Zhuravlev
Hi, You always should upgrade web console and web agent to the newer versions when you upgrade the cluster itself. Evgenii ср, 10 июн. 2020 г. в 03:19, itsmeravikiran.c : > Hi Team, > > Currently my application is using ignite 2.6.0 version and ignite web agent > version is

Re: Ignite visor use

2020-06-08 Thread Evgenii Zhuravlev
Ignite Visor starts daemon node inside to connect to the cluster, it doesn't matter cluster was started. All you need is to configure addresses of the cluster nodes in the config file, the same way as you do fo other nodes in the cluster. Evgenii пн, 8 июн. 2020 г. в 19:01, Prasad Bhalerao : >

Re: CountDownLatch issue in Ignite 2.6 version

2020-06-08 Thread Evgenii Zhuravlev
Hi, By default, cache, that stores all atomic structures has only 1 backup, so, after losing all data for this certain latch, it recreates it. To change the default atomic configuration use IgniteConfiguration.setAtomicConfiguration. Evgenii сб, 6 июн. 2020 г. в 06:20, Akash Shinde : >

Re: UriDeployment Question

2020-06-04 Thread Evgenii Zhuravlev
Hi, What version of Ignite do you use? It started to work with jar files only since version 2.8: https://issues.apache.org/jira/browse/IGNITE-11380. When it reads file, it prints message to the log: Found new or updated deployment unit Do you have it in your logs? Yes, you don't need to

Re: Can Apache Superset connect with Apache Ignite ?

2020-06-01 Thread Evgenii Zhuravlev
Hi, Superset uses SqlAlchemy supporting the JDBC driver, so technically it should be possible to connect to Ignite. Here is the information on jdbc driver: https://apacheignite-sql.readme.io/docs/jdbc-driver and on some tools: https://apacheignite-sql.readme.io/docs/sql-tooling Please let us

Re: Change schema on runtime Apache Ignite

2020-05-27 Thread Evgenii Zhuravlev
Hi Denis, I planned to address this issue at first, but then, after analysis, I decided to change other parts of CacheStore implementation only. As for this case, usually, in production, model changes are not so frequent and they also require new code or config changes, which also requires node

Re: How to close/cancel a running tasks?

2020-05-26 Thread Evgenii Zhuravlev
Hi, To do this you can execute tasks asynchronously(for example, runAsync and others). Async operations return IgniteFuture, which can be canceled. Also, I think that services fit better for this use case - there you can run your code in the background and deploy/undeploy them when a code change

Re: JDBC Connection and stream receiver

2020-05-22 Thread Evgenii Zhuravlev
Hi, No, as far as I know there is no way to set stream receiver for streaming with JDBC driver Evgenii чт, 21 мая 2020 г. в 18:33, narges saleh : > Hi All, > > Is it possible to use stream receivers with JDBC connections (with > streaming set to on)? If yes, can you point me to an example? > >

Re: Ignite Node Metrics using JMX

2020-05-21 Thread Evgenii Zhuravlev
Yes, it is a node information. heap = onheap, so, just use "a" as onheap memory used. ср, 20 мая 2020 г. в 22:08, kay : > Thankyou. > I found ClusterLocalNodeMetricsMXBeanImpl bean and attributes. > Is it node information? or os processor? > ex. currentCpuLoad, CurrentGcCpuload,

Re: Unable to deploy Ignite Web Console in local

2020-05-21 Thread Evgenii Zhuravlev
code: 1006 > > [2020-05-21T04:00:03,724][INFO ][Connect thread][ClustersWatcher] Topology > watch process was suspended > > [2020-05-21T04:00:03,729][INFO ][main][WebSocketRouter] Stopping Web > Console Agent... > > > > Sent from Mail <https://go.microsoft.co

Re: Unable to deploy Ignite Web Console in local

2020-05-20 Thread Evgenii Zhuravlev
Hi, The community is stopping maintenance for Ignite WebConsole: http://apache-ignite-developers.2346864.n4.nabble.com/RESULT-VOTE-Stop-Maintenance-of-Ignite-Web-Console-td47548.html. I recommend using GridGain Webconsole instead: https://www.gridgain.com/resources/download#webconsole. There is

Re: Ignite Node Metrics using JMX

2020-05-19 Thread Evgenii Zhuravlev
Hi, Some node information, like CPU & heap memory, can be found in ClusterLocalNodeMetricsMXBeanImpl. As per memory metrics - they are described here: https://apacheignite.readme.io/docs/memory-metrics#getting-metrics Evgenii вт, 19 мая 2020 г. в 01:52, kay : > Hello, I have 4 remote node for

Re: Getting Baseline Topology Error

2020-05-14 Thread Evgenii Zhuravlev
Hi, When do you usually change the baseline topology? It looks like you changed topology for part of the nodes and the changed it for another node separately, so now they have different baseline topologies. Do you have nodes for runs before this issue happened? Thanks, Evgenii чт, 14 мая 2020

Re: Question on the log of public pool thread [pub-#14505].

2020-05-14 Thread Evgenii Zhuravlev
James, > But whether could I know the other threads are stopped and destroy? That's how it works, Here in the code: https://github.com/apache/ignite/blob/master/modules/core/src/main/java/org/apache/ignite/internal/IgnitionEx.java#L1763 you can see that Ignite create ThreadPoolExecutor with a max

Re: Binary recovery for a very long time

2020-05-13 Thread Evgenii Zhuravlev
tion"> > > > > > > > "org.apache.ignite.configuration.CacheConfiguration"> > > > > > > > > > > > > > > > > > > > > 在 2020/5/13 上午4:45, Evgenii Zhuravlev 写道: > > H

Re: Question on the log of public pool thread [pub-#14505].

2020-05-13 Thread Evgenii Zhuravlev
James, This is a thread number. The public thread pool size can be reduced after idle timeout. After this, if needed, a new thread will be created with a new id. By the way, 640 is a pretty big size, how many cores do you have? So big thread pool can lead to performance degradation due to a lot

Re: ignite node ports

2020-05-13 Thread Evgenii Zhuravlev
Hi, Ports are described here: https://dzone.com/articles/a-simple-checklist-for-apache-ignite-beginners Basically, Discovery(47500 by default) and Communication(47100) are always should be open, since without them cluster won't be functional. Discovery port used for clustering, checking all

Re: Binary recovery for a very long time

2020-05-12 Thread Evgenii Zhuravlev
Hi, Can you share full logs and configuration? What disk so you use? Evgenii вт, 12 мая 2020 г. в 06:49, 38797715 <38797...@qq.com>: > Among them: > CO_CO_NEW: ~ 48 minutes(partitioned,backup=1,33M) > > Ignite sys cache: ~ 27 minutes > > PLM_ITEM:~3 minutes(repicated,1.9K) > > > 在 2020/5/12

Re: Schema Questions

2020-05-12 Thread Evgenii Zhuravlev
dary-addess:[addr3, addr4, addr5]}} > 2) Can I use SQL if I am filtering by person and then I want certain > information in the addresses? say I want all the primary addresses for > john., or I want the cities for the primary addresses for John. > > thanks. > > On Mon, Ma

Re: Schema Questions

2020-05-11 Thread Evgenii Zhuravlev
Hi, The main question here is how you want to use this data. Do you use SQL? 1) It depends on the use case. If you plan to access only a person object without any filtering by addresses and you will always need the entire object, it makes sense to have one big object. But in this case, you won't

Re: Cache was inconsistent state

2020-05-11 Thread Evgenii Zhuravlev
, 11 May 2020 at 09:59, John Smith wrote: > >> Should be on client nodes as well that are specifically setClient = true? >> >> On Fri, 8 May 2020 at 22:26, Evgenii Zhuravlev >> wrote: >> >>> John, >>> >>> It looks like a sp

Re: How to list caches and the number of key-values inside them

2020-05-11 Thread Evgenii Zhuravlev
Hi, Ignite binaries contain visor cmd tool, it can do what you want: https://apacheignite-tools.readme.io/docs/command-line-interface Evgenii пн, 11 мая 2020 г. в 00:05, scriptnull : > I would like to know if there is a command line tool that will help us list > down the caches and the

Re: Cache was inconsistent state

2020-05-08 Thread Evgenii Zhuravlev
t; All I did was reboot the node and the cluster fixed itself. > > On Fri, 8 May 2020 at 15:32, Evgenii Zhuravlev > wrote: > >> Hi John, >> >> *Yes, it looks like they are in a different clusters:* >> *Metrics from the node with a problem:* >> [15:17:28,668][INFO

Re: Cache was inconsistent state

2020-05-08 Thread Evgenii Zhuravlev
gt; https://www.dropbox.com/s/ke71qsoqg588kc8/ignite-logs.zip?dl=0 > > On Fri, 8 May 2020 at 09:21, John Smith wrote: > >> Ok let me try get them... >> >> On Thu., May 7, 2020, 1:14 p.m. Evgenii Zhuravlev, < >> e.zhuravlev...@gmail.com> wrote: >&g

Re: Deploying the Ignite Maven Project in LINUX

2020-05-07 Thread Evgenii Zhuravlev
Hi, as for fat jar: https://www.baeldung.com/executable-jar-with-maven But it's not necessary to create a fat jar, you can just put all needed libraries to the lib folder and add these libs to the classpath when you start jar:

Re: Can you change ExpiryPolicy of existing cache?

2020-05-07 Thread Evgenii Zhuravlev
eTtlDuration))); > > Can it be changed then at startup as am doing above? > > Or at this point I can only do cache.withExpiryPolicy(...).put(key, value); > > > On Thu, 7 May 2020 at 13:31, Evgenii Zhuravlev > wrote: > >> Hi, >> >> There is no way to change the defaul

Re: Can you change ExpiryPolicy of existing cache?

2020-05-07 Thread Evgenii Zhuravlev
Hi, There is no way to change the default policy for the already created cache. The expiry policy can be changed for all operations on one cache proxy object using withExpiryPolicy. Evgenii чт, 7 мая 2020 г. в 09:46, John Smith : > Hi running 2.7.0 > > I created a cache with

Re: Cache was inconsistent state

2020-05-07 Thread Evgenii Zhuravlev
Hi, It looks like the third server node was not a part of this cluster before restart. Can you share full logs from all server nodes? Evgenii чт, 7 мая 2020 г. в 09:11, John Smith : > Hi, running 2.7.0 on 3 deployed on VMs running Ubuntu. > > I checked the state of the cluster by going to:

Re: Deploying the Ignite Maven Project in LINUX

2020-05-06 Thread Evgenii Zhuravlev
Hi, You can just compile jar file with all dependencies and run it from any machine. Evgenii вт, 5 мая 2020 г. в 03:14, nithin91 < nithinbharadwaj.govindar...@franklintempleton.com>: > Hi > > We have couple of ignite nodes running in LINUX and the cache configuration > details are specified in

Re: Apache ignite evolvable object

2020-05-01 Thread Evgenii Zhuravlev
Hi, BinaryObjects allow doing this: https://apacheignite.readme.io/docs/binary-marshaller Evgenii пт, 1 мая 2020 г. в 09:03, Hemambara : > I am using apache ignite 2.8.0. Looking for an option to have evolvable > data > model similar to coherence (com.tangosol.io.Evolvable). Do we have any ? >

Re: Ignite Data loss

2020-04-29 Thread Evgenii Zhuravlev
Hi, Please attach full logs from all nodes for investigation. ср, 29 апр. 2020 г. в 06:48, krkumar24061...@gmail.com < krkumar24061...@gmail.com>: > Checked the logs and nothing like that happened where went down. > > Thanx and Regards, > KR Kumar > > > > -- > Sent from:

Re: Multicast Address

2020-04-24 Thread Evgenii Zhuravlev
Hi, Server nodes should be able to communicate with each other directly, for example, for rebalancing purpose or sending current partition distribution. So, if they're able to directly communicate with each other, you can either configure all their static Ips(not necessary for Multicast Ip

Re: Getting Remote node has peer class loading enabled flag different from local

2020-04-23 Thread Evgenii Zhuravlev
ver > node correct? > > Like if one application needs a specific EntryProcessor then that > application and the server node needs it in the class path. Not the other > clients? Just to be sure. > > On Thu, 23 Apr 2020 at 00:14, Evgenii Zhuravlev > wrote: > >> yes >

Re: Getting Remote node has peer class loading enabled flag different from local

2020-04-22 Thread Evgenii Zhuravlev
yes ср, 22 апр. 2020 г. в 18:31, John Smith : > So client enabled nodes nee to set it also? > > On Wed, 22 Apr 2020 at 19:52, Evgenii Zhuravlev > wrote: > >> Hi John, >> >> Yes, you're right, this flag should be the same on all nodes in the >> clust

Re: Getting Remote node has peer class loading enabled flag different from local

2020-04-22 Thread Evgenii Zhuravlev
Hi John, Yes, you're right, this flag should be the same on all nodes in the cluster. This message prints, which node has different value for tis flag, so you can find it. Evgenii ср, 22 апр. 2020 г. в 16:22, John Smith : > Hi, getting the message in the subject line > > I'm pretty sure I have

Re: Subquery or Joins query not returning correct result Ignite V2.7.6

2020-04-22 Thread Evgenii Zhuravlev
Hi, Can you share small reproducer project? Evgenii пн, 20 апр. 2020 г. в 23:58, siva : > Hi All, > I am using Apache Ignite V2.7.6 .Net client And Server. > -Tables(*Company*,*CompanyTypes*) creating with QueryEntities at the time > cache configuration. > > I have two model

Re: Ignite -Option to close the open files

2020-04-21 Thread Evgenii Zhuravlev
Hi, I don't think that it's possible just to close files. How many caches do you have? Evgenii вт, 21 апр. 2020 г. в 12:14, Sriveena Mattaparthi < sriveena.mattapar...@ekaplus.com>: > Hi, > > > > Ignite server in preproduction and production are going down with too many > open files error. > >

Re: Unable to run several ContinuousQuery due to: Failed to unmarshal discovery data for component: CONTINUOUS_PROC

2020-04-21 Thread Evgenii Zhuravlev
Why is the client needs to be serializable? Have you tried suggestion from this answer https://stackoverflow.com/questions/61293343/failed-to-unmarshal-discovery-data-for-component-continuous-proc-with-more-than/61318360#61318360 ? Evgenii вт, 21 апр. 2020 г. в 00:36, AlexBor : > Hi Denis, > >

  1   2   3   4   5   6   >