Re: Turn off Ignite Node autodiscovery

2016-02-15 Thread vkulichenko
Hi Amit, amit2103 wrote > For development we want to turn off autodiscovery. > Also we want to have two grids , lets say 1 and 2. We want all nodes in > grid 1 to not join any node in grid2 even if they are on the same machine. > > Can you please let me know the java configuration to achieve

Need your advice for using DataStreamer

2016-02-15 Thread Andrew
Hi igniters, My situation is like below. There are 3000+ message senders outside. They will send message per 0.1 sec and the sequence of message have to be kept per each sender. So I made a cache to buffer all messages then put all message into the cache using DataStreamer. But when I getting

Re: Node discovery behind NAT

2016-02-15 Thread Petar Shomov
Hi Valentin, Well, we can certainly work with this setup. Not ideal but usable ;) Will look into doing something about UPnP to see if I can make the whole think a bit more dynamic. Thank you for your help! Best regards, Petar On Thu, Feb 11, 2016 at 8:48 PM, vkulichenko

Re: Externalizable in cache

2016-02-15 Thread Myron Chelyada
Hello Alexey, This is actually not real code but just extracted part for test. That's why it looks incorrect. And I've already captured infinite loop because of 0 being returned. And imagine use case when I need to read until end of stream. So question is why 0 is returned but not -1 (according

Re: Externalizable in cache

2016-02-15 Thread Dmitriy Setrakyan
Alexey, is this something that Ignite could prevent automatically? On Mon, Feb 15, 2016 at 10:17 AM, Alexey Goncharuk < alexey.goncha...@gmail.com> wrote: > A little correction: in this particular case inputStream does return 0 > which leads to an infinite loop, however, generally this may be

Re: Externalizable in cache

2016-02-15 Thread Alexey Goncharuk
A little correction: in this particular case inputStream does return 0 which leads to an infinite loop, however, generally this may be not the case, so the implementation should not read beyond object boundary anyways.

Re: Externalizable in cache

2016-02-15 Thread Alexey Goncharuk
Hello Myron, Your implementation of Externalizable interface is incorrect. The number of bytes that can be read from the object input stream passed to the readExternal() method is not limited, so you need to make sure that you do not read more bytes than the number of bytes written. The correct

Documentation on how to setup different clusters on the same set of machines

2016-02-15 Thread Denis Magda
Igniters, The topic from the subj arises too ofter on our user list. So I've put the explanation on the readme.io https://apacheignite.readme.io/docs/cluster-config#isolated-ignite-clusters-on-the-same-set-of-machin Please feel free to edit and provide your feedback. If you edit something

Re: binding exception?

2016-02-15 Thread Yakov Zhdanov
This exception is thrown on Jetty start, however, it is not critical and just signals that rest server cannot be started on desired port. To fix this please set Jetty logger threshold to ERROR. btw, Vladimir, can we fix this in default jdk logger configuration? --Yakov 2016-02-15 16:02

Re: binding exception?

2016-02-15 Thread Ravi Puri
the line of code is Cachemanager obj=(CacheManager) cachingProvider.getCacheManager(uri,null); and whole error is [18:41:55]__ [18:41:55] / _/ ___/ |/ / _/_ __/ __/ [18:41:55] _/ // (7 7// / / / / _/ [18:41:55] /___/\___/_/|_/___/ /_/ /___/

Re: binding exception?

2016-02-15 Thread Vladimir Ozerov
Ravi, Do you have the full stack trace of exception? On Mon, Feb 15, 2016 at 12:36 PM, Ravi wrote: > as I m running the tomcat server at certain port and then i try to start > the > configuration of xml on the same port it shows this exception why? > > how to judge

Unsubscribe

2016-02-15 Thread Andrea Taini

Re: SQL join Query

2016-02-15 Thread Pavel Tupitsyn
Hi Shaomin, You'll have to use SqlFieldsQuery to select specific objects/fields. _key and _val fields represent key and value objects. Also, use fully-qualified table name or an alias before field names. The following SqlFieldsQuery will return Order and Trade objects in a list: "select o._val,

SQL join Query

2016-02-15 Thread Shaomin Zhang
Hi I have a couple of questions about SQL join queries: I can only use "select *", I get exceptions if I specify tables/alias rather than *, and this "select *" returns the value objects from the first table (or cache) of the join, nothing else. For example, if my query string is

binding exception?

2016-02-15 Thread Ravi
as I m running the tomcat server at certain port and then i try to start the configuration of xml on the same port it shows this exception why? how to judge which port it is needed and whether ignite nodes can work on tomcat server or not so what should i do? java.net.BindException: Address

Re: IGFS: Root of secondary backing store

2016-02-15 Thread Vladimir Ozerov
Hi Kobe, "uri" parameter is used by Hadoop infrastructure (in particular, FileSystem.get() method [1]). And as far as I know Hadoop considers only authority [2] part of the URI to extract file system type, credentials and "coordinates" (host, port). Thus, in your example, you should pass

Re: Uberjar for IGFS 1.5.0

2016-02-15 Thread Vladimir Ozerov
Hi Kobe, There is no uberjar for IGFS. If you want to use only IGFS without Hadoop, then just include* ignite-core* [1]. If you want to link IGFS with Hadoop file systems, then you should add *ignite-hadoop* [2] dependency as well. [1]