Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id D3839200B9A for ; Fri, 23 Sep 2016 00:48:35 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D225B160AE0; Thu, 22 Sep 2016 22:48:35 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 2310E160AAD for ; Fri, 23 Sep 2016 00:48:34 +0200 (CEST) Received: (qmail 7740 invoked by uid 500); 22 Sep 2016 22:48:34 -0000 Mailing-List: contact user-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ignite.apache.org Delivered-To: mailing list user@ignite.apache.org Received: (qmail 7729 invoked by uid 99); 22 Sep 2016 22:48:34 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Sep 2016 22:48:34 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id DDF0FC8782 for ; Thu, 22 Sep 2016 22:48:33 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.173 X-Spam-Level: ** X-Spam-Status: No, score=2.173 tagged_above=-999 required=6.31 tests=[DKIM_ADSP_CUSTOM_MED=0.001, NML_ADSP_CUSTOM_MED=1.2, RCVD_IN_DNSWL_NONE=-0.0001, SPF_SOFTFAIL=0.972] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id sLnJs_Jx0Rwm for ; Thu, 22 Sep 2016 22:48:32 +0000 (UTC) Received: from mbob.nabble.com (mbob.nabble.com [162.253.133.15]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id DF3195F39B for ; Thu, 22 Sep 2016 22:48:31 +0000 (UTC) Received: from malf.nabble.com (unknown [162.253.133.59]) by mbob.nabble.com (Postfix) with ESMTP id D852F31DB7B3 for ; Thu, 22 Sep 2016 15:45:04 -0700 (PDT) Date: Thu, 22 Sep 2016 15:48:31 -0700 (PDT) From: vkulichenko To: user@ignite.apache.org Message-ID: <1474584511338-7888.post@n6.nabble.com> In-Reply-To: <1474053090920-7812.post@n6.nabble.com> References: <1474053090920-7812.post@n6.nabble.com> Subject: =?UTF-8?Q?Re:_retrieving_values_from_ignite_cache_bu?= =?UTF-8?Q?t_Rdd_don=C2=B4t_show_values_and_long_time_Java?= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit archived-at: Thu, 22 Sep 2016 22:48:36 -0000 Hi, 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-subscribe@ignite.apache.org and follow simple instructions in the reply. rodrigo thread wrote > I have an application that saves Rdd's spark with some values (key, value) > to ignite cache, then I have another application that gets this cache > ignite and extract these values (key, value), the problem is when you draw > can not get the values and show them I'm using Java? > > IgniteRDD<Integer, String> javaIRDDRet = ic.fromCache(cacheName); > JavaRDD<Tuple2<Integer, String>> javardd = > javaIRDDRet.toJavaRDD(); > int j = (int) javardd.count(); > System.out.println("values count =" + j); > for (int i=0;i<j;i++) { > try { > Tuple2<Integer, String> retorno1 =(Tuple2<Integer, > String>) javardd.collect().get(i); > > System.out.println(retorno1._1+" "+retorno1._2); > i++; > > } catch (Exception ex) { > ex.printStackTrace(); > } > } If possible, please provide the full test that will reproduce the issue. Someone in the community will take a look. -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/retrieving-values-from-ignite-cache-but-Rdd-don-t-show-values-and-long-time-Java-tp7812p7888.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.