Re: cache update from .NET client to Java cluster

2017-03-20 Thread kfeerick
cool - i thought i'd tried that but perhaps screwed it up will have another look -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/cache-update-from-NET-client-to-Java-cluster-tp11217p11336.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Connection not established

2017-03-20 Thread Pavel Tupitsyn
Hi, Looks like you have mixed up Spring XML and .NET config XML. Moreover, you don't provide any configuration file when starting Ignite with Ignition.Start(); To work with ODBC from .NET, you have to configure ODBC in a Spring XML file (NOT app.config) like this: http://www.springframework.or

Re: cache update from .NET client to Java cluster

2017-03-20 Thread Pavel Tupitsyn
I was able to run it and reproduce the problem. If you add "Console.WriteLine("Cache size: " + cache.GetSize());" to the end of C# program, you'll see that there are two entries in the cache, because keys from Java and C# are not considered equal. To fix the problem, override GetHashCode/Equals in

Re: cache update from .NET client to Java cluster

2017-03-20 Thread kfeerick
Here you go - hopefully you can spin this up in your favoured Java / C# IDE pretty easily. cache-duplicate-reproducer.zip -- View this message in context: http://apache-ignite-users.70518.x6.nabble.c

Re: Connection not established

2017-03-20 Thread kavitha
Hi, My Code in app.config file. packages.config file code in class file class Program { static void Main(string[] args) { IIgnite ignite = Ignition.Start(); OdbcConnection con = new OdbcConnection("DRIV

Re: IGNITE-4106

2017-03-20 Thread Anil
Hi Andrew, #1 - it is very simple select query - select * from person hwere personid = 'something'; i just ran the query in for loop and noticed the results are not same. #2 - it is stable topology. swap is configured. but this test was done when full load is completed and some compute job going

Re: ignite messaging disconnection behaviour

2017-03-20 Thread kfeerick
Hi Dmitry, Thanks for the suggestion. It does not seem to make a difference and the calling thread still seems to block before an exception gets thrown from the TcpCommunicationSpi It appears you can tweak how quickly the exception gets throws by adjusting the failureDetectionTimeout on the cache

NullPointerException when using IGFS

2017-03-20 Thread Joe Wang
Hi! I'm running into this stack when trying to read through IGFS to an underlying HDFS instance: java.lang.NullPointerException at org.apache.ignite.internal.processors.hadoop.impl.igfs.HadoopIgfsInputStream$FetchBufferPart.flatten(HadoopIgfsInputStream.java:458) at org.apache.ign

Re: REST service command LOG

2017-03-20 Thread javastuff....@gmail.com
Created minor ticket IGNITE-4845 -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/REST-service-command-LOG-tp10148p11325.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Apache Ignite with log4J2 KafkaAppender - class not found

2017-03-20 Thread lieven
Just found out that Apache Ignite is using log4j2 version 2.3, while the actual version for log4J2 is 2.8. In the version 2.3 there is no support for KafkaAppender. I can reproduce the issue in a separate Java program. -- View this message in context: http://apache-ignite-users.70518.x6.nabble

unsubscribe

2017-03-20 Thread Landon Kuhn

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

2017-03-20 Thread bintisepaha
Andrey, would you be able to look at the attached errors and advice please? Thanks, Binti -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Pessimistic-TXN-did-not-release-lock-on-a-key-all-subsequent-txns-failed-tp10536p11322.html Sent from the Apache Ignite User

Re: IGNITE-4106

2017-03-20 Thread Andrey Mashenkov
Hi Anil, 1. Would you please share sql query text? 2. Is it happening on unstable topology or during rebalancing? Or may be eviction\expire policy or swap is configured? On Mon, Mar 20, 2017 at 5:41 PM, Anil wrote: > Yes. i am using partition cache only with no joins :) > > how about #2 ? > >

Re: IGNITE-4106

2017-03-20 Thread Anil
Yes. i am using partition cache only with no joins :) how about #2 ? On 20 March 2017 at 19:20, Andrey Mashenkov wrote: > Hi Anil, > > I should although mention that Replicated caches can participate in same > query with partitioned caches regardless a degree of parallelizm. > This limitation r

Re: IGNITE-4106

2017-03-20 Thread Andrey Mashenkov
Hi Anil, I should although mention that Replicated caches can participate in same query with partitioned caches regardless a degree of parallelizm. This limitation relates to partitioned caches only. On Mon, Mar 20, 2017 at 3:54 PM, Andrey Mashenkov < andrey.mashen...@gmail.com> wrote: > Hi Anil

Re: IGNITE-4106

2017-03-20 Thread Andrey Mashenkov
Hi Anil, It is ok. Doc says *"If a query contains JOINs, then all the participating caches must have the same degree of parallelism.".* Possibly, it is easy to fix but there can be unobvious limitations, so we need a time to make a POC. I believe, it will be fixed in future releases. On Mon, Mar

Re: IGNITE-4106

2017-03-20 Thread Anil
Hi Andrey, I see few more issues with IGNITE-4826 1. queryParallelism should be used for all caches for which queries are used other it throws following exception. Caused by: java.sql.SQLException: Failed to query Ignite. at org.apache.ignite.internal.jdbc2.JdbcStatement.executeQuery(Jdb

Error: Cannot open include file:'noost/test/unit_test.hpp'

2017-03-20 Thread kavitha
Hi, I tried to build Ignite.sln. But I got Cannot open include file:'noost/test/unit_test.hpp' error. -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Error-Cannot-open-include-file-n

Re: Apache Ignite with log4J2 KafkaAppender - class not found

2017-03-20 Thread Lieven Merckx
Is that log4j (1) Kafka Appender compatible with log4j2 ? To my understanding there are completely differently developed. I could be wrong. On Mon, Mar 20, 2017 at 9:30 AM, dkarachentsev wrote: > Hi, > > I suppose you need kafka log4j appender [1] in classpath. > > [1] https://mvnrepository.com/

Client got stucked on get operation

2017-03-20 Thread Alper Tekinalp
Hi all. We have 3 ignite servers. Server 1 works as standalone. Server 2 and 3 connects eachother as server but connects server 1 as client. In a point of the time server 3 got stucked at: at sun.misc.Unsafe.park(Native Method) at java.util.concurrent.locks.LockSupport.park(LockSupport.java:

Re: Distributed callables: passing data and getting back results

2017-03-20 Thread dkarachentsev
Hi, If your tasks use the same data, then REPLICATED cache will be the best decision. But if you need for every compute task put new data to cache, it will slowdown processing, because entries must be distributed, copied and synchronized. The same rule is applicable for compute results: if you ne

Re: ignite messaging disconnection behaviour

2017-03-20 Thread dkarachentsev
Hi Kevin, You may use IgniteMessaging in async mode: IgniteMessaging msg = ignite.message().withAsync(); msg.sendOrdered("my-topic", objectToSend, 1); In that case you'll not wait for sending message and reconnections in if there was a failure. -Dmitry. -- View this message in context: http:

Re: Connection not established

2017-03-20 Thread Igor Sapego
This means exactly what it says - driver can't establish connection to the node. Most probably, you have not enabled OdbcProcessor for your node. You can see documentation [1] to learn how to enable it. [1] - https://apacheignite.readme.io/docs/odbc-driver#section-cluster-configuration On Mon, M

Re: Can I let Ignite to do rebalance at a particular time?

2017-03-20 Thread ght230
what is the difference between "CacheConfiguration.setRebalanceMode(CacheRebalanceMode.NONE)" and "CacheConfiguration.setRebalanceDelay(-1)"? I think both of them need to start rebalance manually by calling IgniteCache.rebalance(). BTW, At the particular time, Can I know whether it need to do r

Re: REST API authentication

2017-03-20 Thread dkarachentsev
Hi Ivan, REST API is based on Jetty server, so you need to configure SSL connector and certificates. Please refer [1, 2] for details. [1] https://apacheignite.readme.io/docs/rest-api#general-configuration [2] https://wiki.eclipse.org/Jetty/Howto/Configure_SSL -Dmitry. -- View this message in

Re: Apache Ignite with log4J2 KafkaAppender - class not found

2017-03-20 Thread dkarachentsev
Hi, I suppose you need kafka log4j appender [1] in classpath. [1] https://mvnrepository.com/artifact/org.apache.kafka/kafka-log4j-appender -Dmitry. -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Apache-Ignite-with-log4J2-KafkaAppender-class-not-found-tp11296p

Re: cache update from .NET client to Java cluster

2017-03-20 Thread Pavel Tupitsyn
Please send a reproducer. Probably I still misunderstand the question. On Mon, Mar 20, 2017 at 10:00 AM, kfeerick < kevin.feer...@ninemilefinancial.com> wrote: > That's not the behaviour I am seeing. I can send through a reproduce if > required. > > Thanks, > kevin > > > > -- > View this message

Re: cache update from .NET client to Java cluster

2017-03-20 Thread kfeerick
That's not the behaviour I am seeing. I can send through a reproduce if required. Thanks, kevin -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/cache-update-from-NET-client-to-Java-cluster-tp11217p11305.html Sent from the Apache Ignite Users mailing list archive