Index

2017-04-13 Thread javastuff....@gmail.com
Hi, How to check index is created? How many indexes are present? What is the definition of index? Thanks, --Sambhav -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Index-tp11969.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Pessimistic TXN did not release lock on a key, all subsequent txns failed

2017-04-13 Thread bintisepaha
Andrey, in the exception above, we see this pendingLocks=[KeyCacheObjectImpl [val=PositionId [fundAbbrev=BVI, clearBrokerId=12718, insIid=679675, strategy=AFI, traderId=6531, valueDate=19000101], hasValBytes=true]], super=GridCompoundIdentityFuture [super=GridCompoundFuture [rdc=Bool reducer:

Re: Pessimistic TXN did not release lock on a key, all subsequent txns failed

2017-04-13 Thread bintisepaha
We got into the key lock situation again today. Does the below error help in identifying anything? Apr 13, 2017 2:16:09 PM org.apache.ignite.logger.java.JavaLogger error SEVERE: Failed to acquire lock for request: GridNearLockRequest [topVer=AffinityTopologyVersion [topVer=1980, minorTopVer=34],

Re: Error During data Loading using Ignite Data Streamer in Parallel

2017-04-13 Thread vdpyatkov
Hi, Ignite DataStreamer with IgniteDataStreamer#allowOverwrite is false does not work correct on instable topology until latest version. If you want to Failover SPI will be used, you can set the property (IgniteDataStreamer#allowOverwrite) is true. -- View this message in context:

When is CacheStoreAdapter sessionEnd method called?

2017-04-13 Thread waterg
Hello, When is CacheStoreAdapter sessionEnd method called? I implemented a persistent store with a overriding sessionEnd mothod like this. @Override public void sessionEnd(boolean commit) { Connection conn = null; System.out.println("CALL me ");

Re: Persistent store connection pool xml configuration

2017-04-13 Thread waterg
Thank you! I'll give it a try. -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Persistent-store-connection-pool-xml-configuration-tp11959p11964.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Persistent store connection pool xml configuration

2017-04-13 Thread Alexey Kuznetsov
Hi, May be this: https://apacheignite.readme.io/docs/persistent-store#section-cachejdbcpojostore On Fri, Apr 14, 2017 at 12:27 AM, waterg wrote: > Hello, > > I'm looking into using connection pool for persistent store and found the > example below. > >

Persistent store connection pool xml configuration

2017-04-13 Thread waterg
Hello, I'm looking into using connection pool for persistent store and found the example below. https://github.com/apache/ignite/blob/master/examples/src/main/java/org/apache/ignite/examples/datagrid/store/jdbc/CacheJdbcStoreExample.java What would be equivalent configuration in xml? Thank

Re: visor failed to connect to cluster

2017-04-13 Thread waterg
thank you. That's spot on -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/visor-failed-to-connect-to-cluster-tp11919p11958.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Ignite Node Discovery IP config

2017-04-13 Thread Ramzinator
Hi all, I'm trying to configure my Ignite nodes in such a way that: Node1 sees Node 3 but does not see Node 2 Node2 sees Node 3 but does not see Node 1 Node3 sees Node 1 & 2 You can find the code here: Test.java However

Re: OOM when using Ignite as HDFS Cache

2017-04-13 Thread dkarachentsev
Hi Shuai, Could you please take heap dump on OOME and find what objects consume memory? There would be a lot of byte[] objects, please find the nearest GC root for them. Thanks! -Dmitry. -- View this message in context:

Re: Lots of cache creation become slow

2017-04-13 Thread ctranxuan
Well, actually we were interesting in having continuous queries listening multi-tenant caches. This was the postulate for the architecture of a PoC project. Based on this discussion, we are switching to another architecture postulate where we have one cache with thousands continuous queries

Re: How do I provide AffinityFunction.BackupFilter when mainly using C++ bindings

2017-04-13 Thread Tolga HOŞGÖR
It is not applicable because it will require too much effort to convert the rest of the system for ACTIVE/ACTIVE set-up. On Thu, Apr 13, 2017 at 5:10 PM vkulichenko wrote: > Why not create two equal C++ nodes and use both of them? You will give you > data

Re: How do I provide AffinityFunction.BackupFilter when mainly using C++ bindings

2017-04-13 Thread vkulichenko
Why not create two equal C++ nodes and use both of them? You will give you data redundancy and load balancing, without any custom affinity functions. Your model seems to be worse and also requires more effort. I would recommend to use abilities provided by Ignite out of the box. -Val -- View

Cluster Groups with Affinity Behaviour

2017-04-13 Thread Ramzinator
Hi all, I have a question regarding the behavior of affinity calls with cluster groups. Consider the following test: Test.java In the test I have 2 ignite nodes: N1 & N2 belonging to the same topology. Each with a user

Re: How do I provide AffinityFunction.BackupFilter when mainly using C++ bindings

2017-04-13 Thread Tolga HOŞGÖR
This will do it. I have found out ClusterNode::attribute also includes environment variables so I can even further identify my nodes. I also want to make sure if I get *setAffinityBackupFilter* right. Let's say I have two nodes and I return *false* for one of them and *true* for the other. I

Re: Ignite server showing this error class org.apache.ignite.IgniteCheckedException: Failed to send message (node may have left the grid or TCP connection cannot be established due to firewall issue

2017-04-13 Thread vdpyatkov
Hi, 1) Yes, default configuration failower SPI should by fit. Not need to configure it specify at most cases. 2) Why are you think so? If it is, what are results when you try to execute task, but node is out of topology? Can you provide reproducer? 3) The information often contains in the logs

Re: How do I provide AffinityFunction.BackupFilter when mainly using C++ bindings

2017-04-13 Thread Igor Sapego
Well, there is a way to get C++ nodes. You can use the following code for this: IgniteCluster#forAttribute("org.apache.ignite.platform", "cpp"); That returns you a cluster group of C++ nodes if that's what you need. Best Regards, Igor On Thu, Apr 13, 2017 at 4:05 PM, Tolga HOŞGÖR

Re: Huge delays while returning data back from remote callable's

2017-04-13 Thread Nikolai Tikhonov
Yuriy, I don't have any ideas. Could you create simple maven project which reproduce the behaviour and share it? On Tue, Apr 4, 2017 at 4:23 PM, Nikolai Tikhonov wrote: > I've tried reproduce the behaviour on my side (used your code snippet > above) but without success.

Re: Slow on 1st time query "SQL Join"

2017-04-13 Thread afedotov
Created a ticket for the issue IGNITE-4957 Kind regards, Alex. On Thu, Apr 13, 2017 at 3:18 PM, Sergi Vladykin [via Apache Ignite Users] < ml-node+s70518n11942...@n6.nabble.com> wrote: > Alex, I think we have to create an issue in Jira. This

Re: How do I provide AffinityFunction.BackupFilter when mainly using C++ bindings

2017-04-13 Thread Tolga HOŞGÖR
I have managed to put a AffinityFunction implementation in ./libs and load/use it. But I still could not figure out how to detect my C++ node. I see C++ API allows you to name my node via *Ignition::Start(const IgniteConfiguration , const char *name)* but ClusterNode

Re: How do I provide AffinityFunction.BackupFilter when mainly using C++ bindings

2017-04-13 Thread tolga
I have managed to put a AffinityFunction implementation in ./libs and load/use it. But I still could not figure out how to detect my C++ node. I see C++ API allows you to name my node via /Ignition::Start(const IgniteConfiguration , const char *name)/ but ClusterNode

UnSubscribe

2017-04-13 Thread pavan agrawal
-- Thanks & Regards Pavan Agrawal

Re: Repeatable cache updates

2017-04-13 Thread nskovpin
Thank you for your answer. I have additional question: I wrote code with CacheInterceptor and i can easely react on igniteCache.put(key, value) method. But what should i do to listen IgniteDataStreamer.addData(k,v) method. The only one decision i've found - create receiver and explicitly call

Re: Slow on 1st time query "SQL Join"

2017-04-13 Thread Sergi Vladykin
Alex, I think we have to create an issue in Jira. This behavior looks suboptimal to me. Sergi 2017-04-13 15:12 GMT+03:00 afedotov : > Charles, > > In your case, you have many caches registered on server nodes (debug shows > me about 80) which are to be created on >

Re: Slow on 1st time query "SQL Join"

2017-04-13 Thread afedotov
Charles, In your case, you have many caches registered on server nodes (debug shows me about 80) which are to be created on the client. These caches don't participate in common activities, instead they are used to prepare execution plan. As for now, a separate request is sent to remote nodes for

Re: Ignite on FreeBSD 11 and OpenJDK

2017-04-13 Thread Andrey Gura
Kamil, thanks a lot for your help. As I told before I need some time for problem analyse. After it I'll create JIRA ticket and share link to it in this thread. Thank you again! On Wed, Apr 12, 2017 at 11:56 PM, Kamil Misuth wrote: > Hi Andrey, > > I've built ignite-3477-master

Re: How do I provide AffinityFunction.BackupFilter when mainly using C++ bindings

2017-04-13 Thread Tolga HOŞGÖR
I am trying to create an ACTIVE/PASSIVE redundant environment, passive node being the vanilla .sh node. I would like to have control on what node is appointed as primary. According to what you are saying, for a moment I have to have only one node (that being C++ node) online for it to be primary

Re: How do I provide AffinityFunction.BackupFilter when mainly using C++ bindings

2017-04-13 Thread vkulichenko
Hi, There is no way to do this unless you implement your own affinity function. Out of the box you can control whether a particular node can be used as a partition backup having primary node for this partition already assigned. What is the purpose of such deployment? What are you trying to

Re: Help with Web agent

2017-04-13 Thread vkulichenko
Harish, You need to put JDBC driver for you database into jdbc-drivers folder. -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Help-with-Web-agent-tp11932p11937.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Ignite client deployed on Tomcat is not able to make secure connection with standalone Ignite Server

2017-04-13 Thread vkulichenko
Hi Ankit, This configuration is done on Ignite level, there is nothing specific to Tomcat. Is there any difference between Ignite configurations on different clients? Are all certificates available, etc.? How does the issue looks like? Is there an exception? -Val -- View this message in

Re: Concurrent job execution and FifoQueueCollisionSpi.parallelJobsNumber=1

2017-04-13 Thread vkulichenko
Hi Ryan, I will take a look at your sample in the next few days. -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Concurrent-job-execution-and-FifoQueueCollisionSpi-parallelJobsNumber-1-tp8697p11935.html Sent from the Apache Ignite Users mailing list

Re: Help with Web agent

2017-04-13 Thread Harish Patibandla
Hi I am able to get the agent running but i am getting the below error when trying to use the web-console. Domain model could not be imported - Agent failed to find JDBC drivers - Copy required JDBC drivers into agent 'jdbc-drivers' folder and try again On Thu, Apr 13, 2017 at 1:55

Re: Ignite Affinity & Binary Configuration Issues

2017-04-13 Thread dkarachentsev
Hi Addo, There is no need to explicitly specify IdentityResolver. On marshaling step, hash code is got from object and recorded in BinaryObject, and it will be used for any affinity mapping, e.g. affinity run. Use IdentityResolver if you need customize hash code calculation, f.e. exclude some

回复: Help with Web agent

2017-04-13 Thread ArcherUnicorn
No, I just add one of server nodes'address of ignite cluster. My default.properties is as below: tokens=uJ5q0ISJUBJq5efvJYyO server-uri=https://console.gridgain.com #Uncomment following options if needed: node-uri=http://192.168.2.201:8080 #driver-folder=./jdbc-drivers --

Re: Help with Web agent

2017-04-13 Thread woo charles
Did you update the token in default.properties? The Security token in your new setup web console should be different from GridGain web console one. 2017-04-13 16:13 GMT+08:00 ArcherUnicorn <969959...@qq.com>: > My "URI to Ignite node REST server:" is "https://console.gridgain.com; , > and > I

How do I provide AffinityFunction.BackupFilter when mainly using C++ bindings

2017-04-13 Thread Tolga HOŞGÖR
Hello, I am in a similar situation with the following unanswered SO question: http://stackoverflow.com/questions/43386765/how-do-i-provide-affinityfunction-backupfilter-when-mainly-using-c-bindings How can I achieve this? Quoting the question: I am using the C++ bindings to have redundancy in

Re: Help with Web agent

2017-04-13 Thread ArcherUnicorn
My "URI to Ignite node REST server:" is "https://console.gridgain.com; , and I can see my Ignite cluster status from web. -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Help-with-Web-agent-tp11924p11929.html Sent from the Apache Ignite Users mailing list

Ignite client deployed on Tomcat is not able to make secure connection with standalone Ignite Server

2017-04-13 Thread Ankit Singhai
Hi All, In my environment I have Ignite Server(s) running as Standalone program(s) configured to use SSL. My standalone programs are able to connect securely to Server's. However one of my client which is deployed is not able to connect to server. What additional changes I have to do in Tomcat

Re: Help with Web agent

2017-04-13 Thread woo charles
For my testing web console, its console server is pointed to 9000 port not 3000 port. 2017-04-13 13:42 GMT+08:00 Harish Patibandla : > Hi Everyone, >I am unable to run web agent on the server , web console is up and > running but was unable to get the agent running .I

Re: Slow on 1st time query "SQL Join"

2017-04-13 Thread woo charles
"If you select some data from the joined table it leads to all dynamic cache creation requests being sent" <-- is that mean the client node will copy the selected table to local? If I set false to client mode, it will become server node and start participate in caching, compute execution, stream

Re: Slow on 1st time query "SQL Join"

2017-04-13 Thread afedotov
Hi, Sergi, when join query is called from client It leads to createMissingCaches being called which makes a remote requests of a dynamic cache creation for each registered but not enabled cache and since there is a cache for each entity there are many requests to server nodes. Charles, If you