get the all values stored into cache name?

2016-01-19 Thread Ravi
Ignite cachedata=ignite.getOrCreateCache(cacheName) entered the data into cachedata.put() how to get all data using cacheName from cachedata?? -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/get-the-all-values-stored-into-cache-name-tp2631.html

Re: TcpDiscoverySpi.setLocalPortRange, value must be > 0

2016-01-19 Thread Dmitriy Setrakyan
I think it is not a bad change. How about we open a ticket and mark it as “newbie”, so new community members could get started with it. On Mon, Jan 18, 2016 at 4:52 AM, Denis Magda wrote: > Hi, > > Thank for pointing out to this issue. Local port range set to 0 presently >

Re: issue with 2-node ignite server cluster

2016-01-19 Thread Ambha
This is the error it displays ** class org.apache.ignite.IgniteCheckedException: Failed to send message (node may have left the grid or TCP connection cannot be established due to firewall issues) [node=TcpDiscoveryNode [id=4b13c224-21be-4c32-b29d-a0d7d079df10, addrs=[0:0:0:0:0:0:0:1%lo,

Re: get the all values stored into cache name?

2016-01-19 Thread Alexey Goncharuk
Ravi, IgniteCache does not have a method like getAll() because this can simply trigger an OOME on the node that receiving the data. If you want to process all entries on a single node, you can use IgniteCache#query() method and pass an instance of ScanQuery object to this method. Resulting

UnsupportedOperationException on adding indexed types to a config object

2016-01-19 Thread vinshar
Hi, Below code throws UnsupportedOperationException. public static void main(String[] args) { CacheConfiguration config = new CacheConfiguration((CompleteConfiguration)new CacheConfiguration()); config.setIndexedTypes(Integer.class,String.class); }

Re: Grouping cache when loading data using CacheStore

2016-01-19 Thread Dmitriy Setrakyan
The CacheStore implementation using JDBC is documented here: https://apacheignite.readme.io/docs/data-loading You can use this example to implement the same over CSV file. D. On Tue, Jan 19, 2016 at 7:02 AM, Ferry Syafei Sapei < ferry.sa...@googlemail.com> wrote: > I have a CSV file with the

Re: Serialization issue with Ignite 1.5 built from master (357d791)

2016-01-19 Thread Dmitriy Setrakyan
Paulo, Any reason why you need a hot fix release? Looks like Alexey provided you with a commit revision number you can build from. Should not be hard to generate your own release jar. D. On Fri, Jan 15, 2016 at 1:24 AM, Paulo Pires wrote: > Thank you Alexey. > > Any ETA

Re: TcpDiscoveryVmIpFinder's isShared property

2016-01-19 Thread Dmitriy Setrakyan
Looks like this property is only for the local VM. How about we rename it to isInProcess() or isLocalVm()? On Tue, Jan 19, 2016 at 4:50 AM, Yakov Zhdanov wrote: > Val, you can init your S3 bucket and set "shared" to false and IP finder > will be immutable. Can it be a

Re: Grouping cache when loading data using CacheStore

2016-01-19 Thread Alexey Kuznetsov
Ferry, I would like to propose following work around: 1) Import your CSV into H2 database, see: http://www.h2database.com/html/tutorial.html#csv 2) Use Apache Ignite Schema Import Utility to generate POJO classes and xml/java configuration,\ see

Re: TcpDiscoveryVmIpFinder's isShared property

2016-01-19 Thread Yakov Zhdanov
I quote this from my previous email: you can init your S3 bucket and set "shared" to false and IP finder will be immutable. Can it be a valid usecase? If none is going to use it this way, I agree let's change this. Btw, would it be better to deprecate "shared" and introduce "mutable"? --Yakov

Re: get the all values stored into cache name?

2016-01-19 Thread Andrey Gura
Ravi, if you still want to get all data despite Alexey recommendations then you can just use iterator() method on cache instance. This equals to ScanQuery creation. On Tue, Jan 19, 2016 at 1:04 PM, Alexey Goncharuk < alexey.goncha...@gmail.com> wrote: > Ravi, > > IgniteCache does not have a

Re: TcpDiscoverySpi.setLocalPortRange, value must be > 0

2016-01-19 Thread Denis Magda
Ticket is ready for a contribution :) https://issues.apache.org/jira/browse/IGNITE-2404 If anyone has any thoughts then feel free to put them there or pick the ticket up and fix. -- Denis On 1/19/2016 11:45 AM, Dmitriy Setrakyan wrote: I think it is not a bad change. How about we open a

Re: TcpDiscoveryVmIpFinder's isShared property

2016-01-19 Thread Yakov Zhdanov
Val, you can init your S3 bucket and set "shared" to false and IP finder will be immutable. Can it be a valid usecase? If none is going to use it this way, I agree let's change this. Btw, would it be better to deprecate "shared" and introduce "mutable"? Thanks! -- Yakov Zhdanov, Director R

Grouping cache when loading data using CacheStore

2016-01-19 Thread Ferry Syafei Sapei
I have a CSV file with the following structure: accountNumber,accountProperty1,accountProperty2,billNumber,billProperty1,billProperty2 100,property11,property12,100700,billProperty11,billProperty12 100,property11,property12,100700,billProperty21,billProperty22 I would like to import the file and