Re: BinaryObjectException after Ignite restarts

2016-12-15 Thread dmitry.parkhonin
Hi val (valery? :)), Thanks for reply. Yes, switching off compact footer helped me in this case. But the whole issue seems strange - my client stops working after a single node cluster is restarted. To make the whole system working I have to restart all my clients. Is this the behavior that is

Re: Cache stopped

2016-12-15 Thread Anil
Hi Anton and Alexandr, I thought vertx is invoking IgniteClusterManager#leave because of network segmentation. so I created wrapper to IgniteClusterManager and added logs before invoking leave(). I did not see any log of wrapper. So ignite is not closed from the IgniteClusterManager#leave Looks

Re: Python Client for Apache Ignite

2016-12-15 Thread Roman Shtykh
Hi Piali, If you have just to store/retrieve keys/values, you might consider Python Redis client. Currently supported commands are listed here [1]. [1] http://apacheignite.gridgain.org/docs/redis Roman On Friday, December 16, 2016 10:16 AM, piali wrote:

Re: Python Client for Apache Ignite

2016-12-15 Thread Denis Magda
Piali, You're always welcomed. Would you answer on some of the questions for me? What use cases require you to have a special support on Python side? What language or tool do you plan to use for ODBC based connectivity? -- Denis On Thursday, December 15, 2016, Piali Mazumder Nath <

Re: Python Client for Apache Ignite

2016-12-15 Thread Piali Mazumder Nath
Hi Denis, Thanks a lot for your reply. Well we do have a plan to use ODBC, but for that we don't need python interface. Since we are trying some other use cases which might need python, so was curious if that's possible. Well for now, your information is really helpful. Regard, Piali On Thu,

Re: Python Client for Apache Ignite

2016-12-15 Thread Denis Magda
Hi Piali, Ignite doesn't have a native client for Python. There is a chance that someone interested contributes it to the project but it will take time. However, recently the community announced SQL Grid [1] that allows connecting to Ignite using ODBC or JDBC driver and read as well as update

Re: Ignite 1.6.0 suspected memory leak from DynamicCacheDescriptor

2016-12-15 Thread tysli2016
ic, so the embedded instance is the IgniteKernal object which implement the Ignite interface. > So these are instances are not really used by Ignite, but are saved > somewhere, most likely in your code. Can you use heap dump to trace it? Yes, there are a whole lot of CacheConfiguration objects

答复: 答复: 答复: query binaryobject cache in zeppelin

2016-12-15 Thread Shawn Du
Hi, Blow SQL reports error select * from onlinesessioncount_by_appversion_childapptypeid_countryid_networktype_parentapptypeid_regionid_sessiontimelevel_usertype limit 10; But SQL without asterisk is ok: select timestamp from

Issue while using Affinity function for mapping keys with nodes

2016-12-15 Thread rishireddy.bokka
Hi, I am using affinity function to map the keys with the nodes. I have 2 nodes and trying to distribute the person objects among those two nodes. Below is my code : public class TestingIgnite { private static final String CACHE_NAME = TestingIgnite.class.getSimpleName(); public static void

Re: How to save odd number objects on one node and even number objects on another node

2016-12-15 Thread rishireddy.bokka
Thanks for the reply val. But i am using ignite just to dump objects and retrieve them. This should be good for me. -- View this message in context:

Python Client for Apache Ignite

2016-12-15 Thread piali
Hi, I would like to know if there is python client for Apache Ignite. If not then can you please let us know if there is any plan for that in future releases. Regard, Piali -- View this message in context:

答复: how to use memory efficiently

2016-12-15 Thread Shawn Du
Thanks. I will test copyOnRead. In fact, we do have troubles in using ignite. For we think it uses too much memory. We are finding ways to decrease the memory consumption. I have an idea, but I don't know it is worthy of trying or not. Please advise. Suppose we have several tables. These tables

Re: Online documentation

2016-12-15 Thread Denis Magda
Hi Kenan, During the documentation migration we might have missed some places leaving them referring to wrong pages. I’ve fixed Cassandra examples page. Please point our to other places if any. Will highly appreciate your help. — Denis > On Dec 15, 2016, at 1:27 PM, Kenan Dalley

Re: Ignite 1.6.0 suspected memory leak from DynamicCacheDescriptor

2016-12-15 Thread vkulichenko
Embedded instance is the one started with Ignition.start(). I look at the histogram and see that there are more than 88000 instances of CacheConfiguration in each application, while the number of caches is only 6. So these are instances are not really used by Ignite, but are saved somewhere, most

Re: Not able to join cluster with Zookeeper based IP finder

2016-12-15 Thread ghughal
Thanks Nikolai. I'll try this. -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Not-able-to-join-cluster-with-Zookeeper-based-IP-finder-tp9311p9574.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: How to save odd number objects on one node and even number objects on another node

2016-12-15 Thread vkulichenko
I understand what you want to do technically, but what is the purpose of this exercise? Basically, such distribution limits you to only two nodes which is not scalable. Why not rely on the partitioning strategy provided by Ignite? If you still need to do this, you can implement your own

How to save odd number objects on one node and even number objects on another node

2016-12-15 Thread rishireddy.bokka
Hi Ignite Team, I recently started using Ignite and seems very useful. I am having 2 nodes(n1, n2) and I have like 100,000 objects (say Person object)with keys as integers starting from 1 till 100,000 that should be saved on both nodes. I want 1,3,5,7,9... person objects to be saved on node n1

Re: Online documentation

2016-12-15 Thread vkulichenko
Where are the links? Can you show an example? -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Online-documentation-tp9561p9568.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Online documentation

2016-12-15 Thread Kenan Dalley
As stated in the original post, the Cassandra Examples page (https://apacheignite-mix.readme.io/docs/examples). The "read-through and write-through" and "write-behind" (pasted in original post) links among others on the site. -- View this message in context:

Re: How to save odd number objects on one node and even number objects on another node

2016-12-15 Thread vkulichenko
Hi Rishi, Please properly subscribe to the mailing list so that the community can receive email notifications for your messages. To subscribe, send empty email to user-subscr...@ignite.apache.org and follow simple instructions in the reply. rishireddy.bokka wrote > I recently started using

Re: BinaryObjectException after Ignite restarts

2016-12-15 Thread vkulichenko
Dmitry, Basically this exception means that you tried to deserialize a binary object that was never serialized on this cluster. When a type is serialized for the first time, Ignite saves the meta data for this type in a system cache, so once you deserialize this object (potentially on a different

Re: Online documentation

2016-12-15 Thread Kenan Dalley
Ok, that makes sense. But there are a lot of links on the "-mix" site that don't work and send you to a 404 Page Not Found error page. This is why I'm posting. I think the links are using the "current site" location, which is the "-mix" site, but are located at the normal non-mix site and thus

Re: Failed to connect

2016-12-15 Thread vkulichenko
It looks like you changed the IP finder configuration and pointed it to port range starting with 48500. However, node binds to 47500 by default, so you can't connect. Does it work with the default configuration? -Val -- View this message in context:

Re: Server/Client Nodes and classes

2016-12-15 Thread vkulichenko
Hi, 1. Yes, in case write-through is used CacheStore will be updated from the node that runs a transaction. If client doesn't have access, you can send a closure to one of the servers and run a transaction there. Another option is to use write-behind, but in this case you won't have transactional

Re: Online documentation

2016-12-15 Thread vkulichenko
Hi, Main documentation is still on apacheignite.readme.io. For example, here is the write-behind page (link is not changed from previous version): https://apacheignite.readme.io/docs/persistent-store#write-behind-caching apacheignite-mix.readme.io contains only sections about integrations with

Online documentation

2016-12-15 Thread Kenan Dalley
With the move to v1.8 there are a lot of broken links in the online documentation (example: Cassandra Examples page for v1.8 - This link doesn't work: https://apacheignite-mix.readme.io/v1.8/docs/persistent-store#write-behind-caching). The old online documentation pointed to

Re: Server/Client Nodes and classes

2016-12-15 Thread juanavelez
Hi Val, Thanks for the reply. I am a bit confused. 1. If there is a Server and Client separation and in the Server there is a configuration for CacheStore, you are saying that the Client of a Transactional Cache will still execute (on the client) the CacheStore operations? if so, what happens

Re: Failed to connect

2016-12-15 Thread Igor Sapego
Hi, It seems like you only started client node and it can't find any server node to connect to. Is it so? -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Failed-to-connect-tp9556p9559.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: BinaryObjectException after Ignite restarts

2016-12-15 Thread vdpyatkov
Hi, Could you please provide a reproduction example? -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/BinaryObjectException-after-Ignite-restarts-tp9552p9558.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: how to use memory efficiently

2016-12-15 Thread vdpyatkov
Hi, 1) No cache name does not affect the memory utilization. 2) Yes, the key can 3) Ignite stores the description of the class only once, and organizes hash each object. class or field name length does not affect the memory. 4) Off_heap may be cheaper by memory consume, because in some case two

Re: Index wont't be used with QueryEntity configuration

2016-12-15 Thread Rafael Troilo
Hello Val, great answer! thank you! Ciao, Rafael On 14.12.2016 20:41, vkulichenko wrote: When configuring with QueryEntity, Ignite doesn't now the exact field type, so it creates a regular sorted index by default. You need to specify that this is a geospatial index explicitly: new

Re: 答复: 答复: query binaryobject cache in zeppelin

2016-12-15 Thread Andrey Mashenkov
Hi Shawn, I've got Zeppelin sources, rewrite test query () with arterisk (org.apache.zeppelin.ignite.IgniteSqlInterpreterTest). It works fine for me as with ignite 1.7 as 1.8. Would you please share sql query that failed, jdbc connection string that used by zeppelin, ignite cache configuration

how to use memory efficiently

2016-12-15 Thread Shawn Du
Hi, Suppose we will cache many entries(millions to billions) in ignite and cache kept with binary. How to decrease ignite memory usage? 1) Shorten cache name. I don't think it does matter, but just want confirmed. For we use longer(more than 200 chars) cache name. 2) Shorten

BinaryObjectException after Ignite restarts

2016-12-15 Thread dmitry.parkhonin
Hi everyone! I have the problem that is very similar to IGNITE-3618 . It is said that the issue was fixed in 1.8, but I still can see the problem on the latest Ignite version. The problem is that after the whole Ignite cluster is restarted I