Re: Maintaining relationships between tables

2016-04-17 Thread Pavel Tupitsyn
Hi, Are you talking about foreign key constraint of some sort? On Mon, Apr 18, 2016 at 5:49 AM, tusharnakra wrote: > I don't understand, could you explain me a bit more by example or > something? > > > > -- > View this message in context: > http://apache-ignite-users.70518.x6.nabble.com/Maintai

Re: How to re-direct Ignite logs to log4j2?

2016-04-17 Thread Kamal C
Is IGNITE_HOME environmental variable is must? (In docs, it's stated as optional) With `Log4J2Logger`, I've added the log4j2.xml in my application class-path, then it throws: class org.apache.ignite.IgniteCheckedException: Log4j configuration path was not found: log4j2.xml at org.apache.ignit

Re: How to re-direct Ignite logs to log4j2?

2016-04-17 Thread Kamal C
Alexei, Thanks for your response! I've used slf4j to re-direct the logs IgniteConfiguration cfg = new IgniteConfiguration(); ... cfg.setGridLogger(new Slf4jLogger()); Ignition.start(cfg); Added the ignite-slf4j-1.5.0.final.jar, slf4j-api-1.7.7.jar and slf4j-log4j12-1.7.6.jar to the classpath -

Re: Maintaining relationships between tables

2016-04-17 Thread tusharnakra
I don't understand, could you explain me a bit more by example or something? -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Maintaining-relationships-between-tables-tp4236p4266.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Data lost when using write-behind

2016-04-17 Thread wang shuai
When testing the write-behind feature, I found the data which would be persisted to back-end database was put in a queue of JVM. That means if that server crash, the data which has not been persisted to the database will be lost. Even though that part of data can be found in other server's memory

Question for data persistence

2016-04-17 Thread wang shuai
Ignite supports to move data from memory to swap space where memory is not enough. But it is not equal to full data backup. Is there any configuration or strategy to persist all data from memory to disk for backup in Ignite, like dumping snapshot in Redis? -- View this message in context: http:

Re: Error running nodes in .net and c++

2016-04-17 Thread Murthy Kakarlamudi
The client node itself starts after making the change, but getting the below error trying to access the cache: [12:16:45] Topology snapshot [ver=2, servers=1, clients=1, CPUs=4, heap=1.4GB] >>> Cache node started. [12:16:45,439][SEVERE][exchange-worker-#38%null%][GridDhtPartitionsExchangeFuture]

Re: Error running nodes in .net and c++

2016-04-17 Thread Pavel Tupitsyn
This exception appears due to the fact that .NET store can't be initialized on C++ node. Add the following line to C++ config to run the node in client mode, so it does not store cache data and initialize cache store: Let me know if this helps. Pavel. On Sun, Apr 17, 2016 at 2:35 PM, Murthy Ka

Re: ignite.IgniteIllegalStateException during creating transaction.

2016-04-17 Thread Alexei Scherbakov
Hi, Probably you gave a specific grid name to Ignite instance in configuration file. Ignition.ignite() returns the default (unnamed) grid instance. In your case it not existed, so the exception was thrown. You may use Ignition.ignite(yourGridName) to get the instance by the name. 2016-04-16 15:12

repairing connection after crash of ignite node server

2016-04-17 Thread tomk
Hello, Is it possible detect disconnetion of ignite node server ? I can see in my logs something like that: [14:52:09] Failed to connect to any address from IP finder (will retry to join topology every 2 secs): [/127.0.0.1:47500] So I would like to override method that will be called after successf

Apache Ignite - YARN integration

2016-04-17 Thread vijayendra bhati
Hi,I am trying to run Ignite nodes over YARN cluster by following the documentation given on YARN Deployment · Apache Ignite |   | |   | |   |   |   |   |   | | YARN Deployment · Apache IgniteDeploy Ignite in YARN cluster. | | | | View on apacheignite.gridgai... | Preview by Yahoo | | | |   |

Re: How to re-direct Ignite logs to log4j2?

2016-04-17 Thread Alexei Scherbakov
Hi, For embedded mode you can try something like this: IgniteConfiguration cfg = new IgniteConfiguration(); ... cfg.setGridLogger(new Log4J2Logger(U.resolveIgniteUrl("log4j2.xml", false))); Ignition.start(cfg); The key point here is to tell Ignite to use Log4J2 implementation for logging. Make

Re: Error running nodes in .net and c++

2016-04-17 Thread Murthy Kakarlamudi
Hi Pavel...such an obvious thing that I missed. I was always looking at the .net node config as the error said remote node. Thanks for pointing it out. I am now getting a different error. I do have a question. As I mentioned node that gets started from .net acts as server node and loads the databas

Re: Error running nodes in .net and c++

2016-04-17 Thread Pavel Tupitsyn
Hi, > Remote node has peer class loading enabled flag different from local As the error message says, peerClassLoading flag has to be the same on all nodes. Please remove the following line from your C++ config: Pavel. On Sun, Apr 17, 2016 at 2:29 AM, Murthy Kakarlamudi wrote: > Hi, >In