Re: 2.0

2017-03-31 Thread Anil
Thank you Denis and Val. I will post the debug logs. thanks. On 31 March 2017 at 22:02, Denis Magda wrote: > Anil, > > Try to connect to the S3 bucket you specified in the configuration > > > > and check you see there IP address the cluster nodes should have written >

Re: Compute Grid - StackOverflow

2017-03-31 Thread vkulichenko
vitaly v wrote > WorkItemClient - is third party class provided by Micrisoft. We use its > TFS SDK in our application. > WorkItemClient object take part inside of call(...) that we are passed to > cluster for execution. > > After removing marshaller both from client and server- I've got next log

Re: Client near cache with Apache Flink

2017-03-31 Thread vkulichenko
Honestly, it's absolutely not clear what you're doing. Can you better describe your use case? Throughput for which operations are you measuring? What are you comparing with (i.e. what did you use before Ignite for data storage)? Give as much information as possible. -Val -- View this message

Re: 2.0

2017-03-31 Thread vkulichenko
Yes, this warning is OK. It just indicates that default client configuration is used. -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/2-0-tp11487p11633.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

RE: IGFS Usage Question

2017-03-31 Thread vkulichenko
If you're using java.io.File, then no, it's not possible. You will have to write the code that starts Ignite, creates IgniteFileSystem, etc. At the same time, all IGFS streams extend standard Java streams, so you should be able to reuse most of you code that read and writes to files. -Val --

Re: Stoppin listen for topics in Ignite

2017-03-31 Thread vkulichenko
You should provide the same instance of listener to stop method: listener = (nodeId, msg) -> { ... } rmtMsg.localListen("MyOrderedTopic", listener) ... rmtMsg.stopLocalListen("MyOrderedTopic", listener) -Val -- View this message in context:

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

2017-03-31 Thread yishchuk
Sorry, but this didn't help. Also, I tried setting 'unacknowledgedMessagesBufferSize' to 500_000, 5_000_000, 15_000_000, 50_000_000 - still the same long responses time to time. -- View this message in context:

Re: 2.0

2017-03-31 Thread Denis Magda
Anil, Try to connect to the S3 bucket you specified in the configuration and check you see there IP address the cluster nodes should have written there. If there is no address then something goes wrong with networking. This message proves this: 2017-03-29 10:23:39 WARN MacAddressUtil:136 -

Re: Can I use Ignite as a database within my asp.net mvc project? (not as Output Cache Provider or Session State Store Provider)

2017-03-31 Thread ozgurnevres
It worked, thanks! I didn't see the ASP.NET Deployment section, my mistake... -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Can-I-use-Ignite-as-a-database-within-my-asp-net-mvc-project-not-as-Output-Cache-Provider-or-Session-tp11624p11628.html Sent from the

Client near cache with Apache Flink

2017-03-31 Thread nragon
I'm currently trying to integrate ignite client within apache flink taskmanagers(jvm) to fast lookup cache. Although my thoughput without ignite is about 30k/s when i add ignite it drops to 2k/s. - Cache configuration was set with defaults expect for off-heap. - I have 3 different caches

Re: Can I use Ignite as a database within my asp.net mvc project? (not as Output Cache Provider or Session State Store Provider)

2017-03-31 Thread Pavel Tupitsyn
Actually, I have reproduced the problem. Looks like you use Ignition.StartFromApplicationConfiguration() method. Instead, try Ignition.StartFromApplicationConfiguration("igniteConfiguration") overload. On Fri, Mar 31, 2017 at 6:15 PM, Pavel Tupitsyn wrote: > Hi, > > Yes,

Re: Can I use Ignite as a database within my asp.net mvc project? (not as Output Cache Provider or Session State Store Provider)

2017-03-31 Thread Pavel Tupitsyn
Hi, Yes, you certainly can use Ignite in ASP.NET project. There are a couple of things to be tweaked: 1) IgniteHome: https://apacheignite-net.readme.io/docs/deployment#section-aspnet-deployment 2) Stop on DomainUnload and use unique GridName:

Can I use Ignite as a database within my asp.net mvc project? (not as Output Cache Provider or Session State Store Provider)

2017-03-31 Thread ozgurnevres
Hi, I want to use Ignite within my asp.net mvc project but I don't want it use as a Output Cache Provider or Session State Store Provider. I want to use it as a database, and run sql queries on it, i.e. querying products. Is this possible? When I try to start Ignite in Application_Start in

Re: Can a Continuous Queries miss some updates order?

2017-03-31 Thread ctranxuan
Thanks for the reply and answering all of our questions! -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Can-a-Continuous-Queries-miss-some-updates-order-tp11620p11623.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Can a Continuous Queries miss some updates order?

2017-03-31 Thread Nikolai Tikhonov
Hi, Continuous Query (CQ) garanties that the order for events will be preserved per entry. For example: cache.put(key1, 100); cache.put(key2, 100); cache.put(key1, 200); cache.put(key2, 200); CQ guarantees that for key1 events will be received in the following order (1, 100) --> (1, 200) but

RE: IGFS Usage Question

2017-03-31 Thread Chris Parker
Hi Val, Thanks for this, but as I said initially, I am not using Hadoop at this time. I simply want to treat IGFS as a separate filesystem and use it to cache a local file. Can this be done without modification to an existing program? Chris -Original Message- From: vkulichenko

Can a Continuous Queries miss some updates order?

2017-03-31 Thread ctranxuan
Hi, We are testing Apache Ignite Continuous Queries and during the tests, we have noticed that some continuous queries misses some updates of the cache. Our use case is the following one: - we have a feeder (that is part of the server nodes) and that feeds 1000 caches with data every seconds - we

Re: How to properly close igfs file after appending it

2017-03-31 Thread Ivan Veselovsky
Hi, Prashant, are you trying to append concurrently from several streams? The situation you observe means that you're trying to append a file that is currently open for writing in another output stream. (When a file is open for append, a special lock is placed to the file meta information in

Re: 2.0

2017-03-31 Thread Anil
I will look into netty documentation. i see following log - 2017-03-31 10:04:55 INFO TcpDiscoverySpi:475 - Successfully bound to TCP port [port=47500, localHost=0.0.0.0/0.0.0.0, locNodeId=3cd86374-c96c-4961-bf9f-fc058f89ddc0] 2017-03-31 10:04:55 WARN TcpDiscoveryS3IpFinder:480 - Amazon client

Re: Indexing is disabled for cache

2017-03-31 Thread Igor Sapego
I don't know how you do it in .NET. You may want to take a look on the ODBC documentation for the platform you use. I assume [1] may be helpful for you. [1] - https://msdn.microsoft.com/en-us/library/system.data.odbc.odbccommand.createparameter(v=vs.110).aspx Best Regards, Igor On Fri, Mar 31,

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

2017-03-31 Thread Nikolai Tikhonov
Let's try to increase the following parameter TcpCommunicationSpi#setUnacknowledgedMessagesBufferSize to 1_000_000. On Fri, Mar 31, 2017 at 2:03 PM, yishchuk wrote: > I've enabled GC logging as you suggested, and attached the results. > > gc-L01.log >

Re: Error while running query against Ignite Server Node

2017-03-31 Thread Nikolai Tikhonov
Make your topology stable. :) Do you know reason why topology changed? On Fri, Mar 31, 2017 at 7:57 AM, rishi007bansod wrote: > Hi, > But this error gets continuously displayed, and some of data is lost. > How can I avoid this? > > > > -- > View this message in

Re: Success story sharing

2017-03-31 Thread christos
Hi walagi, thats great to know. Can you share more about the use case so I can understand better? -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Success-story-sharing-tp11557p11614.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Indexing is disabled for cache

2017-03-31 Thread kavitha
My value is 'Condiments'. How I set this value in query? -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Connect-to-SQL-DB-tp11180p11612.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: ScanQuery With BinaryObject

2017-03-31 Thread Andrey Mashenkov
Hi David, Would you please share your code. On Fri, Mar 31, 2017 at 10:42 AM, David Li wrote: > It is weird. > > I run the cache query example, scan query works fine. > > I create my cache query code with a local started server node, scan query > works fine. > > I start

Re: Indexing is disabled for cache

2017-03-31 Thread Igor Sapego
Ok, as far as I can see, you have argument in your query. Note the '?' sign in your statement: SELECT __Z0__Z0.CATEGORYID AS __C0_0 FROM NORTHWND.CATEGORIES __Z0__Z0 WHERE __Z0__Z0.CATEGORYNAME = ?1 But you never set this argument to any value. Best Regards, Igor On Fri, Mar 31, 2017 at 2:34

Re: Distributed Closures VS Executor Service

2017-03-31 Thread christos
> - The application server-side queries the DB, finds the products belonging > to the selected categories, performs calculations (applies the metrics on > them etc.) and persists the results in the database for future reference So if I understand this correctly you are not loading any data from

Re: Indexing is disabled for cache

2017-03-31 Thread kavitha
Hi, Please See complete error message Mar 31, 2017 5:01:56 PM org.springframework.context.support.AbstractApplicationContext prepareRefresh INFO: Refreshing org.springframework.context.support.GenericApplicationContext@7561af7c: startup date [Fri Mar 31 17:01:56 IST 2017]; root of context

Re: Indexing is disabled for cache

2017-03-31 Thread Igor Sapego
Can you attach a log from the node you were connected to? Best Regards, Igor On Fri, Mar 31, 2017 at 1:36 PM, kavitha wrote: > Yes. I used correct query. Please see my below code. > > OdbcConnection con1 = new OdbcConnection("DSN=Apache Ignite DSN"); >

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

2017-03-31 Thread yishchuk
I've enabled GC logging as you suggested, and attached the results. gc-L01.log gc-L02.log gc-L03.log

Re: Indexing is disabled for cache

2017-03-31 Thread kavitha
Yes. I used correct query. Please see my below code. OdbcConnection con1 = new OdbcConnection("DSN=Apache Ignite DSN"); con1.Open(); OdbcCommand cmd1 = new OdbcCommand("select * from Categories", con1); OdbcDataReader dr1 = cmd1.ExecuteReader();

Stoppin listen for topics in Ignite

2017-03-31 Thread daniels
How to stop listen for topic in Ignite? I'm using https://apacheignite.readme.io/docs/messaging Topic Based Messaging. Everything works well,but I cant stop topic listening. Ignite ignite = Ignition.start("ignite-config.xml"); IgniteMessaging rmtMsg = ignite.message();

Re: Indexing is disabled for cache

2017-03-31 Thread Igor Sapego
Hi, As I can see, your value type name (so is a table name) is "Categories". So the right query in your case is: select * from Categories Best Regards, Igor On Fri, Mar 31, 2017 at 1:00 PM, kavitha wrote: > Hi Igor, > > Thanks for your response. I specified

Re: Ignite Yarn Deployment

2017-03-31 Thread Nikolai Tikhonov
Hi, I think you can use *IGNITE_USERS_LIBS *properties for it. Files from the property will be availible in classpath. On Thu, Mar 30, 2017 at 10:46 PM, Raja wrote: > Hi, > > I have deployed Ignite on a Hadoop Yarn cluster and I wanted to pass a > configuration file as

Re: Indexing is disabled for cache

2017-03-31 Thread kavitha
Hi Igor, Thanks for your response. I specified QueryEntity in my configuration file. But I got below error. Could you please help me how I resolve this? Additional information: ERROR [HY000] javax.cache.CacheException: class org.apache.ignite.IgniteException: Failed to parse query: select * from

Re: Indexing is disabled for cache

2017-03-31 Thread Igor Sapego
Hi, As I said before, you need to specify QueryEntity for your cache. Go to the [1] and switch to the "Spring XML" tab for example. [1] - https://apacheignite-net.readme.io/v1.9/docs/sql- queries#section-configuring-sql-indexes-using-queryentity Best Regards, Igor On Fri, Mar 31, 2017 at 9:25

Re: ScanQuery With BinaryObject

2017-03-31 Thread David Li
It is weird. I run the cache query example, scan query works fine. I create my cache query code with a local started server node, scan query works fine. I start a server node from terminal, start a client node in my code and issue scan query, the first query after the server node is started

Indexing is disabled for cache

2017-03-31 Thread kavitha
Hi, I have successfully loaded cache. If I write query to get data, below exception occurred. ERROR [HY000] javax.cache.CacheException: Indexing is disabled for cache: NORTHWND. Use setIndexedTypes or setTypeMetadata methods on CacheConfiguration to enable. So I add indexedTypes property in