Return-Path: X-Original-To: apmail-ignite-user-archive@minotaur.apache.org Delivered-To: apmail-ignite-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C89F319582 for ; Mon, 14 Mar 2016 05:47:59 +0000 (UTC) Received: (qmail 17517 invoked by uid 500); 14 Mar 2016 05:47:59 -0000 Delivered-To: apmail-ignite-user-archive@ignite.apache.org Received: (qmail 17472 invoked by uid 500); 14 Mar 2016 05:47:59 -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 17462 invoked by uid 99); 14 Mar 2016 05:47:59 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Mar 2016 05:47:59 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 2DAE718053D for ; Mon, 14 Mar 2016 05:47:59 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.772 X-Spam-Level: * X-Spam-Status: No, score=1.772 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_NONE=-0.0001, SPF_SOFTFAIL=0.972] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id dkSh47112CMe for ; Mon, 14 Mar 2016 05:47:57 +0000 (UTC) Received: from mbob.nabble.com (mbob.nabble.com [162.253.133.15]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id AC6D55F2F2 for ; Mon, 14 Mar 2016 05:47:56 +0000 (UTC) Received: from malf.nabble.com (unknown [162.253.133.59]) by mbob.nabble.com (Postfix) with ESMTP id F147522DFEA0 for ; Sun, 13 Mar 2016 22:38:28 -0700 (PDT) Date: Sun, 13 Mar 2016 22:35:08 -0700 (PDT) From: arthi To: user@ignite.apache.org Message-ID: <1457933708950-3480.post@n6.nabble.com> In-Reply-To: <1457759495724-3470.post@n6.nabble.com> References: <1457707614177-3454.post@n6.nabble.com> <1457729504277-3462.post@n6.nabble.com> <1457759495724-3470.post@n6.nabble.com> Subject: Re: Client configuration - help MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Thanks Bhargav. I changed the IP to the internal IP, but the client is not able to see the entries in the cache. The visor gives me these details - visor> node Detailed statistics (y/n) [n]: n Time of the snapshot: 03/14/16, 11:15:22 +---------------------------------------------------------------------+ | ID | 6485b035-5a3a-4340-945e-0a576cc94d8b | | ID8 | 6485B035 | | Order | 1 | | Address (0) | *10.91.5.139 * | | Address (1) | 192.168.1.5 | | Address (2) | 127.0.0.1 | | OS info | Windows 8.1 amd64 6.3 | | OS user | kastar01 | | Deployment mode | SHARED | | Language runtime | Java Platform API Specification ver. 1.8 | | Ignite version | 1.5.0-final | | JRE information | HotSpot 64-Bit Tiered Compilers | | Grid name | | | JVM start time | 03/14/16, 10:53:49 | | Node start time | 03/14/16, 10:53:58 | | Up time | 00:21:31:692 | | Last metric update | 03/14/16, 11:15:20 | | CPUs | 4 | | Thread count | 91 | | Cur/avg active jobs | 0/0.01 | | Cur/avg waiting jobs | 0/0.00 | | Cur/avg rejected jobs | 0/0.00 | | Cur/avg cancelled jobs | 0/0.00 | | Cur/avg job wait time | 0/0.00ms | | Cur/avg job execute time | 0/11486.00ms | | Cur/avg CPU load % | 0.13/0.39% | | Heap memory used/max | 125mb/4gb | +---------------------------------------------------------------------+ And there is one cache on this node - +===================================================================================================================+ | Name(@) | Mode | Nodes | Entries | Hits | Misses | Reads | Writes | +===================================================================================================================+ | MARKET_POD_ACV_CACHE(@c0) | REPLICATED | 1 | min: 14233 | min: 0 | min: 0 | min: 0 | min: 0 | | | | | avg: 14233.00 | avg: 0.00 | avg: 0.00 | avg: 0.00 | avg: 0.00 | | | | | max: 14233 | max: 0 | max: 0 | max: 0 | max: 0 | +-----------------------------+-------------+-------+---------------+-----------+-----------+-----------+-----------+ There are 14233 entries. --------------------------- I tried to connect to this cluster and derive the cache using the following XML config for the client - *10.91.5.139*:47500..47501 when I run the application, I can see 1 server and 1 client comming up, but, when I try to print the cache metrics, I get 0 entries. Ignite ignite = Ignition.start(IGNITE_CONFIG) IgniteCache cache = Ignition.ignite().cache(cacheName); CacheMetrics metrics = cache.metrics(); System.out.println("----------------------------------------------------------"); System.out.println("Cache Name:: "+ metrics.name()); System.out.println("Cache Size:: "+ metrics.getSize()); System.out.println("Cache Key Size:: "+ metrics.getKeySize()); System.out.println("Cache offheap entries cnt:: " + metrics.getOffHeapEntriesCount()); System.out.println("----------------------------------------------------------"); [11:12:37] Topology snapshot [ver=23, servers=1, clients=1, CPUs=8, heap=7.1GB] ---------------------------------------------------------- Cache Name:: MARKET_POD_ACV_CACHE Cache Size:: 0 Cache Key Size:: 0 Cache offheap entries cnt:: 0 ---------------------------------------------------------- Please help. Thanks, Arthi -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Client-configuration-help-tp3454p3480.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.