You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by Maureen Lawless <la...@gmail.com> on 2017/07/18 16:27:19 UTC

Ignite client not seeing cache created by server

Hi,

I am trying to use apache ignite cache for the first time. I have 2 java
spring boot applications, the first one is configured as an ignite server:

Snippet from ignite-config-dev.xml:

 <property name="clientMode" value="false"/>

And it is creating a cache on start -up:

 public void initCache() {
        Ignite ignite = Ignition.start(igniteConfiguration.
getIgniteConfigurationFilename());
        CacheConfiguration cfg = new CacheConfiguration("IMAGE_CACHE");
        cache = ignite.getOrCreateCache(cfg);
    }

The application also inserts some objects into the cache which i would like
to read from the second application.

The second java application is started as an ignite client:

Snippet from ignite-config-dev.xml:

<property name="clientMode" value="true"/>

And it trys to get the cache created by the server:

Ignite ignite = Ignition.start(igniteConfiguration.
getIgniteConfigurationFilename());

        CacheConfiguration cfg = new CacheConfiguration("IMAGE_CACHE");
        cache = ignite.getOrCreateCache(cfg);

However, it looks like the call to getOrCreateCache in the client is
creating a new cache rather than accessing the one created by the server.

When the server starts up i see the following in the logs:

================================================

>> +----------------------------------------------------------------------+

>>> Ignite ver. 2.0.0#20170430-sha1:d4eef3c68ff116ee34bc13648cd82c640b3ea072

>>> +----------------------------------------------------------------------+

>>> OS name: Linux 3.10.0-514.26.2.el7.x86_64 amd64

>>> CPU(s): 1

>>> Heap: 0.48GB

>>> VM name: 28522@m.lawlessvm

>>> Local node [ID=7C898CEA-E4EE-430F-9468-3DF185AC4D75, order=1,
clientMode=false]

>>> Local node addresses: [m.lawlessvm/0:0:0:0:0:0:0:1%lo, m.lawlessvm/
10.0.2.15, /127.0.0.1, /192.168.122.1]

>>> Local ports: TCP:11211 TCP:47100 TCP:47500


[15:44:52] Topology snapshot [ver=1, *servers=1, clients=0*, CPUs=1,
heap=0.48GB]

2017-07-18 15:44:52.577  INFO 28522 --- [           main]
o.a.i.i.m.d.GridDiscoveryManager
        : Topology snapshot [ver=1, servers=1, clients=0, CPUs=1,
heap=0.48GB]

*2017-07-18 15:44:52.664  INFO 28522 --- [orker-#26%null%]
o.a.i.i.p.cache.GridCacheProcessor       : Started cache [name=IMAGE_CACHE,
memoryPolicyName=null, mode=PARTITIONED]*


2017-07-18 15:45:52.587  INFO 28522 --- [orker-#15%null%]
org.apache.ignite.internal.IgniteKernal  :

Metrics for local node (to disable set 'metricsLogFrequency' to 0)

    ^-- Node [id=7c898cea, name=null, uptime=00:01:00:016]

    ^*-- H/N/C [hosts=1, nodes=1, CPUs=1]*

    ^-- CPU [cur=6.67%, avg=11.9%, GC=0%]

    ^-- PageMemory [pages=4300]

    ^-- Heap [used=96MB, free=80.49%, comm=247MB]

    ^-- Non heap [used=98MB, free=-1%, comm=100MB]

    ^-- Public thread pool [active=0, idle=0, qSize=0]

    ^-- System thread pool [active=0, idle=8, qSize=0]

    ^-- Outbound messages queue [size=0]

*Once the client node starts i see the following in the server log:*

2017-07-18 15:49:01.851  INFO 28522 --- [omm-0-#17%null%]
o.a.i.s.c.tcp.TcpCommunicationSpi
       :* Accepted incoming communication connection
[locAddr=/0:0:0:0:0:0:0:1:47100, rmtAddr=/0:0:0:0:0:0:0:1:42962]*

2017-07-18 15:49:52.600  INFO 28522 --- [orker-#15%null%]
org.apache.ignite.internal.IgniteKernal  :

Metrics for local node (to disable set 'metricsLogFrequency' to 0)

    ^-- Node [id=7c898cea, name=null, uptime=00:05:00:034]

    ^--* H/N/C [hosts=1, nodes=2, CPUs=1]*

    ^-- CPU [cur=0.67%, avg=3.21%, GC=0%]

    ^-- PageMemory [pages=4300]

    ^-- Heap [used=119MB, free=75.91%, comm=247MB]

    ^-- Non heap [used=99MB, free=-1%, comm=101MB]

    ^-- Public thread pool [active=0, idle=0, qSize=0]

    ^-- System thread pool [active=1, idle=6, qSize=0]

    ^-- Outbound messages queue [size=0]


*When the client starts up i see the following in the logs:*


>>> +----------------------------------------------------------------------+

>>> Ignite ver. 2.0.0#20170430-sha1:d4eef3c68ff116ee34bc13648cd82c640b3ea072

>>> +----------------------------------------------------------------------+

>>> OS name: Linux 3.10.0-514.26.2.el7.x86_64 amd64

>>> CPU(s): 1

>>> Heap: 0.5GB

>>> VM name: 28694@m.lawlessvm

>>> Local node [ID=6BAAA95E-D0E1-42C7-A3C6-74ABEB6E29D1, order=2,
* clientMode=true*]

>>> Local node addresses: [m.lawlessvm/0:0:0:0:0:0:0:1%lo, m.lawlessvm/
10.0.2.15, /127.0.0.1, /192.168.122.1]

>>> Local ports: TCP:47101


[15:49:03] *Topology snapshot [ver=2, servers=1, clients=1, CPUs=1,
heap=0.98GB]*

2017-07-18 15:49:03.000  INFO 28694 --- [           main]
o.a.i.i.m.d.GridDiscoveryManager
        : Topology snapshot [ver=2, servers=1, clients=1, CPUs=1,
heap=0.98GB]

2017-07-18 15:49:55.976  INFO 28694 --- [-notifier-timer]
o.a.i.i.p.cluster.GridUpdateNotifier
    : Update status is not available.

2017-07-18 15:50:02.930  INFO 28694 --- [orker-#15%null%]
org.apache.ignite.internal.IgniteKernal  :

Metrics for local node (to disable set 'metricsLogFrequency' to 0)

    ^-- Node [id=6baaa95e, name=null, uptime=00:01:00:043]

    ^-- *H/N/C [hosts=1, nodes=2, CPUs=1]*

    ^-- CPU [cur=0.33%, avg=6.45%, GC=0%]

    ^-- PageMemory [pages=0]

    ^-- Heap [used=122MB, free=75.29%, comm=494MB]

    ^-- Non heap [used=65MB, free=-1%, comm=66MB]

    ^-- Public thread pool [active=0, idle=0, qSize=0]

    ^-- System thread pool [active=0, idle=1, qSize=0]

    ^-- Outbound messages queue [size=0]

*2017-07-18 15:52:24.303  INFO 28694 --- [orker-#24%null%]
o.a.i.i.p.cache.GridCacheProcessor       : Started cache [name=IMAGE_CACHE,
memoryPolicyName=null, mode=PARTITIONED]*

2017-07-18 15:53:02.950  INFO 28694 --- [orker-#15%null%]
org.apache.ignite.internal.IgniteKernal  :

Metrics for local node (to disable set 'metricsLogFrequency' to 0)


From looking at the logs (and from using a debugger during client start up)
it seems to me that the client has discovered the server but is creating a
new cache and not seeing the one created by the server.

Any suggestions on where i might be going wrong with my configuration?

Thanks,
Maureen

Re: Ignite client not seeing cache created by server

Posted by Maureen Lawless <la...@gmail.com>.
Hi Mikhail,

I've attached a small maven spring boot project where i've reproduced the
error. 
I have tried a different key, with no success. 

When i run: mvn spring-boot:run

I get the following:

>>> +----------------------------------------------------------------------+
>>> Ignite ver. 2.0.0#20170430-sha1:d4eef3c68ff116ee34bc13648cd82c640b3ea072
>>> +----------------------------------------------------------------------+
>>> OS name: Windows 10 10.0 amd64
>>> CPU(s): 4
>>> Heap: 1.0GB
>>> VM name: 15044@mlawlessJMLW742
>>> Local node [ID=5BBEA473-216B-497F-966E-7FC6D66AD194, order=1,
>>> clientMode=false]
>>> Local node addresses: [mlawlessJMLW742/0:0:0:0:0:0:0:1, /127.0.0.1,
>>> /172.19.29.194]
>>> Local ports: TCP:11211 TCP:47100 UDP:47400 TCP:47500

[16:35:52] Topology snapshot [ver=1, servers=1, clients=0, CPUs=4,
heap=1.0GB]
2017-07-20 16:35:52.728  INFO 15044 --- [           main]
o.a.i.i.m.d.GridDiscoveryManager         : Topology snapshot [ver=1,
servers=1, clients=0, CPUs=4, heap=1.0GB]
2017-07-20 16:35:52.962 ERROR 15044 --- [orker-#29%null%]
.c.d.d.p.GridDhtPartitionsExchangeFuture : Failed to reinitialize local
partitions (preloading will be stopped): GridDhtPartitionExchangeId
[topVer=AffinityTopologyVersion [topVer=1, minorTopVer=1], nodeId=5bbea473,
evt=DISCOVERY_CUSTOM_EVT]

org.apache.ignite.IgniteCheckedException: Failed to register query type:
QueryTypeDescriptorImpl [space=IMAGE_CACHE, name=SurveyImage, tblName=null,
fields={gasCompany=class java.lang.String, surveyCompany=class
java.lang.String, survey=class java.lang.String, session=class
java.lang.String, camera=class java.lang.String, fileName=class
java.lang.String, fileLocation=class java.lang.String, latitude=class
java.lang.Float, longitude=class java.lang.Float, id=class java.lang.Long},
idxs={SurveyImage_id_idx=QueryIndexDescriptorImpl [name=SurveyImage_id_idx,
type=SORTED, inlineSize=-1]}, fullTextIdx=null, keyCls=class java.lang.Long,
valCls=class java.lang.Object, keyTypeName=java.lang.Long,
valTypeName=com.ignite.SurveyImage, valTextIdx=false, typeId=0, affKey=null,
keyFieldName=null, valFieldName=null, obsolete=false]
        at
org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing.registerType(IgniteH2Indexing.java:1866)
~[ignite-indexing-2.0.0.jar:2.0.0]
        at
org.apache.ignite.internal.processors.query.GridQueryProcessor.registerCache0(GridQueryProcessor.java:1306)
~[ignite-core-2.0.0.jar:2.0.0]
        at
org.apache.ignite.internal.processors.query.GridQueryProcessor.onCacheStart0(GridQueryProcessor.java:756)
~[ignite-core-2.0.0.jar:2.0.0]
        at
org.apache.ignite.internal.processors.query.GridQueryProcessor.onCacheStart(GridQueryProcessor.java:817)
~[ignite-core-2.0.0.jar:2.0.0]
        at
org.apache.ignite.internal.processors.cache.GridCacheProcessor.startCache(GridCacheProcessor.java:1265)
~[ignite-core-2.0.0.jar:2.0.0]
        at
org.apache.ignite.internal.processors.cache.GridCacheProcessor.prepareCacheStart(GridCacheProcessor.java:1943)
~[ignite-core-2.0.0.jar:2.0.0]
        at
org.apache.ignite.internal.processors.cache.GridCacheProcessor.prepareCacheStart(GridCacheProcessor.java:1833)
~[ignite-core-2.0.0.jar:2.0.0]
        at
org.apache.ignite.internal.processors.cache.CacheAffinitySharedManager.onCacheChangeRequest(CacheAffinitySharedManager.java:379)
~[ignite-core-2.0.0.jar:2.0.0]

        at
org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.onCacheChangeRequest(GridDhtPartitionsExchangeFuture.java:688)
~[ignite-core-2.0.0.jar:2.0.0]
        at
org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.init(GridDhtPartitionsExchangeFuture.java:529)
~[ignite-core-2.0.0.jar:2.0.0]
        at
org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body(GridCachePartitionExchangeManager.java:1806)
[ignite-core-2.0.0.jar:2.0.0]
        at
org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110)
[ignite-core-2.0.0.jar:2.0.0]
        at java.lang.Thread.run(Thread.java:748) [na:1.8.0_131]
Caused by: org.h2.jdbc.JdbcSQLException: Syntax error in SQL statement
"CREATE TABLE ""IMAGE_CACHE"".SURVEYIMAGE (_KEY BIGINT INVISIBLE[*] NOT
NULL,_VAL OTHER INVISIBLE,_VER OTHER INVISIBLE,GASCOMPANY
VARCHAR,SURVEYCOMPANY VARCHAR,SURVEY VARCHAR,SESSION VARCHAR,CAMERA
VARCHAR,FILENAME VARCHAR,FILELOCATION VARCHAR,LATITUDE REAL,LONGITUDE
REAL,ID BIGINT) ENGINE
""org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing$H2TableEngine""
"; expected "(, FOR, UNSIGNED, NOT, NULL, AS, DEFAULT, GENERATED, NOT, NULL,
AUTO_INCREMENT, BIGSERIAL, SERIAL, IDENTITY, NULL_TO_DEFAULT, SEQUENCE,
SELECTIVITY, COMMENT, CONSTRAINT, PRIMARY, UNIQUE, NOT, NULL, CHECK,
REFERENCES, ,, )"; SQL statement:
CREATE TABLE "IMAGE_CACHE".SurveyImage (_key BIGINT INVISIBLE NOT NULL,_val
OTHER INVISIBLE,_ver OTHER INVISIBLE,gasCompany VARCHAR,surveyCompany
VARCHAR,survey VARCHAR,session VARCHAR,camera VARCHAR,fileName
VARCHAR,fileLocation VARCHAR,latitude REAL,longitude REAL,id BIGINT) engine
"org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing$H2TableEngine"
[42001-194]
        at
org.h2.message.DbException.getJdbcSQLException(DbException.java:345)
~[h2-1.4.194.jar:1.4.194]
        at org.h2.message.DbException.getSyntaxError(DbException.java:205)
~[h2-1.4.194.jar:1.4.194]
        at org.h2.command.Parser.getSyntaxError(Parser.java:539)
~[h2-1.4.194.jar:1.4.194]
        at org.h2.command.Parser.read(Parser.java:3242)
~[h2-1.4.194.jar:1.4.194]
        at org.h2.command.Parser.readIfMore(Parser.java:887)
~[h2-1.4.194.jar:1.4.194]
        at org.h2.command.Parser.parseCreateTable(Parser.java:6119)
~[h2-1.4.194.jar:1.4.194]
        at org.h2.command.Parser.parseCreate(Parser.java:4302)
~[h2-1.4.194.jar:1.4.194]
        at org.h2.command.Parser.parsePrepared(Parser.java:364)
~[h2-1.4.194.jar:1.4.194]
        at org.h2.command.Parser.parse(Parser.java:319)
~[h2-1.4.194.jar:1.4.194]
        at org.h2.command.Parser.parse(Parser.java:295)
~[h2-1.4.194.jar:1.4.194]
        at org.h2.command.Parser.prepareCommand(Parser.java:256)
~[h2-1.4.194.jar:1.4.194]
        at org.h2.engine.Session.prepareLocal(Session.java:564)
~[h2-1.4.194.jar:1.4.194]
        at org.h2.engine.Session.prepareCommand(Session.java:505)
~[h2-1.4.194.jar:1.4.194]
        at
org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1204)
~[h2-1.4.194.jar:1.4.194]
        at org.h2.jdbc.JdbcStatement.executeInternal(JdbcStatement.java:170)
~[h2-1.4.194.jar:1.4.194]
        at org.h2.jdbc.JdbcStatement.execute(JdbcStatement.java:158)
~[h2-1.4.194.jar:1.4.194]
        at
org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing$H2TableEngine.createTable(IgniteH2Indexing.java:3975)
~[ignite-indexing-2.0.0.jar:2.0.0]
        at
org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing.createTable(IgniteH2Indexing.java:2006)
~[ignite-indexing-2.0.0.jar:2.0.0]
        at
org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing.registerType(IgniteH2Indexing.java:1859)
~[ignite-indexing-2.0.0.jar:2.0.0]
        ... 12 common frames omitted

Appreciate it if you spot something.

Thanks,
Maureen





--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Ignite-client-not-seeing-cache-created-by-server-tp15070p15184.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Ignite client not seeing cache created by server

Posted by mcherkasov <mc...@gridgain.com>.
Hi Maureen,

Could you please share a reproduce for this as pom based project?

Thanks,
Mikhail.



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Ignite-client-not-seeing-cache-created-by-server-tp15070p15130.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Ignite client not seeing cache created by server

Posted by Maureen Lawless <la...@gmail.com>.
Brilliant, thanks a lot Mikhail.



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Ignite-client-not-seeing-cache-created-by-server-tp15070p15718.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Ignite client not seeing cache created by server

Posted by Mikhail Cherkasov <mc...@gridgain.com>.
Hi Maureen,

I was able to reproduce the problem too.

I found that spring boot parent project override h2 version with is
required by ignite,
try to define h2 in you pom 1.4.195:

<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<version>1.4.195</version>
</dependency>

Thanks,
Mikhail.


On Tue, Jul 25, 2017 at 2:01 PM, Maureen Lawless <la...@gmail.com>
wrote:

> Hi Mikhail,
>
> Sorry about that, i'm new to the forum and it looked like the attachment
> was
> uploaded. Although the fact that i couldn't see it attached to the message
> afterwards might have been a hint!
>
> I've tried to upload the project to github, would you mind seeing if it's
> accessible to you and if the error is reproducible when you run it?
>
> https://github.com/maureen-lawless/IgniteServer
>
> Thanks in advance,
> Maureen
>
>
>
>
> --
> View this message in context: http://apache-ignite-users.
> 70518.x6.nabble.com/Ignite-client-not-seeing-cache-created-by-server-
> tp15070p15603.html
> Sent from the Apache Ignite Users mailing list archive at Nabble.com.
>



-- 
Thanks,
Mikhail.

Re: Ignite client not seeing cache created by server

Posted by Maureen Lawless <la...@gmail.com>.
Hi Mikhail,

Sorry about that, i'm new to the forum and it looked like the attachment was
uploaded. Although the fact that i couldn't see it attached to the message
afterwards might have been a hint!

I've tried to upload the project to github, would you mind seeing if it's
accessible to you and if the error is reproducible when you run it?

https://github.com/maureen-lawless/IgniteServer

Thanks in advance,
Maureen




--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Ignite-client-not-seeing-cache-created-by-server-tp15070p15603.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Ignite client not seeing cache created by server

Posted by Mikhail Cherkasov <mc...@gridgain.com>.
Hi Maureen,

sorry for delay with response, I didn't find any attachment in your email,
might be it isn't allows
to send attachment via user list, I'm not sure about this.
Could you please share you project via github or some other way?

Thanks,
Mikhail.


On Tue, Jul 25, 2017 at 11:06 AM, Maureen Lawless <lawless.maureen@gmail.com
> wrote:

> Hi Mikhail,
>
> I tried to upload a small maven based project where the error occurred for
> me.
> Did you get a chance to check it?
>
> Thanks in advance,
> Maureen
>
>
>
> --
> View this message in context: http://apache-ignite-users.
> 70518.x6.nabble.com/Ignite-client-not-seeing-cache-created-by-server-
> tp15070p15601.html
> Sent from the Apache Ignite Users mailing list archive at Nabble.com.
>



-- 
Thanks,
Mikhail.

Re: Ignite client not seeing cache created by server

Posted by Maureen Lawless <la...@gmail.com>.
Hi Mikhail,

I tried to upload a small maven based project where the error occurred for
me.
Did you get a chance to check it?

Thanks in advance,
Maureen



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Ignite-client-not-seeing-cache-created-by-server-tp15070p15601.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Ignite client not seeing cache created by server

Posted by afedotov <al...@gmail.com>.
Hi Maureen,

Make sure that at cfg.setIndexedTypes(GeoCoordinate.class,
SurveyImage.class) you are specifying key-value pairs for each type you
want to register.
I mean it should be cfg.setIndexedTypes(SomeGeoCoordinateKey.class,
GeoCoordinate.class,
SomeSurveyImageKey.class, SurveyImage.class)


Kind regards,
Alex.

On Wed, Jul 19, 2017 at 2:44 PM, Maureen Lawless [via Apache Ignite Users] <
ml+s70518n15117h61@n6.nabble.com> wrote:

> Hi,
>
> Now i can see the cache and see the objects created in it using
> cache.iterator().
>
> I would like to use a query to search the cache, so i have set indexed
> types on the cache configuration.
>
> Server configuration:
>
>  public void initCache() {
>         Ignite ignite = Ignition.start(igniteConfiguration.
> getIgniteConfigurationFilename());
>
>         CacheConfiguration cfg = new CacheConfiguration("IMAGE_CACHE");
>         cfg.setIndexedTypes(GeoCoordinate.class, SurveyImage.class);
>         cache = ignite.getOrCreateCache(cfg);
>     }
>
> Client configuration:
>
> public void initCache() {
>
>                 Ignition.setClientMode(true);
>                 Ignite ignite = Ignition.start(igniteConfiguration.
> getIgniteConfigurationFilename());
>
>                 CacheConfiguration cfg = new CacheConfiguration("IMAGE_CACHE");
>
>                 cfg.setIndexedTypes(GeoCoordinate.class,
> SurveyImage.class);
>
>                 // cfg.setCacheMode(CacheMode.PARTITIONED);
>                 cache = ignite.getOrCreateCache(cfg);
>
> }
>
> But when initCache() is called on the client i get the following
> exception:
>
> >>> +----------------------------------------------------------------------+
>
> >>> Ignite ver. 2.0.0#20170430-sha1:d4eef3c68ff116ee34bc13648cd82c640b3ea072
>
> >>> +----------------------------------------------------------------------+
>
> >>> OS name: Windows 10 10.0 amd64
> >>> CPU(s): 4
> >>> Heap: 1.8GB
> >>> VM name: 5544@mlawlessJMLW742
> >>> Local node [ID=D05F35DD-5899-452C-B74B-819FB3318E11, order=4,
> clientMode=true]
> >>> Local node addresses: [mlawlessJMLW742.ammeon.com/0:0:0:0:0:0:0:1, /
> 127.0.0.1, /172.19.29.194]
> >>> Local ports: TCP:47101
>
> [12:36:59] Topology snapshot [ver=4, servers=1, clients=1, CPUs=4,
> heap=2.8GB]
> 2017-07-19 12:36:59.488  INFO 5544 --- [           main] o.a.i.i.m.d.GridDiscoveryManager
>         : Topology snapshot [ver=4, servers=1, clients=1, CPUs=4,
> heap=2.8GB]
> 2017-07-19 12:36:59.754 ERROR 5544 --- [orker-#24%null%] .c.d.d.p.
> GridDhtPartitionsExchangeFuture : Failed to reinitialize local partitions
> (preloading will be stopped): GridDhtPartitionExchangeId [topVer=AffinityTopologyVersion
> [topVer=4, minorTopVer=1], nodeId=d05f35dd, evt=DISCOVERY_CUSTOM_EVT]
>
> org.apache.ignite.IgniteCheckedException: Failed to register query type:
> QueryTypeDescriptorImpl [space=IMAGE_CACHE, name=SurveyImage, tblName=null,
> fields={latitude=class java.lang.Float, longitude=class java.lang.Float,
> gasCompany=class java.lang.String, surveyCompany=class java.lang.String,
> survey=class java.lang.String, session=class java.lang.String, camera=class
> java.lang.String, fileName=class java.lang.String, fileLocation=class
> java.lang.String, geoCoordinate=class com.cathx.fileloader.model.GeoCoordinate},
> idxs={SurveyImage_geoCoordinate_idx=QueryIndexDescriptorImpl
> [name=SurveyImage_geoCoordinate_idx, type=SORTED, inlineSize=-1]},
> fullTextIdx=null, keyCls=class java.lang.Object, valCls=class
> java.lang.Object, keyTypeName=com.cathx.fileloader.model.GeoCoordinate,
> valTypeName=com.cathx.fileloader.model.SurveyImage, valTextIdx=false,
> typeId=0, affKey=null, keyFieldName=null, valFieldName=null,
> obsolete=false]
>         at org.apache.ignite.internal.processors.query.h2.
> IgniteH2Indexing.registerType(IgniteH2Indexing.java:1866)
> ~[ignite-indexing-2.0.0.jar!/:2.0.0]
>         at org.apache.ignite.internal.processors.query.GridQueryProcessor.
> registerCache0(GridQueryProcessor.java:1306)
> ~[ignite-core-2.0.0.jar!/:2.0.0]
>         at org.apache.ignite.internal.processors.query.GridQueryProcessor.
> onCacheStart0(GridQueryProcessor.java:756) ~[ignite-core-2.0.0.jar!/:2.0.0]
>
>         at org.apache.ignite.internal.processors.query.GridQueryProcessor.
> onCacheStart(GridQueryProcessor.java:817) ~[ignite-core-2.0.0.jar!/:2.0.0]
>
>         at org.apache.ignite.internal.processors.cache.
> GridCacheProcessor.startCache(GridCacheProcessor.java:1265)
> ~[ignite-core-2.0.0.jar!/:2.0.0]
>         at org.apache.ignite.internal.processors.cache.GridCacheProcessor.
> prepareCacheStart(GridCacheProcessor.java:1943)
> ~[ignite-core-2.0.0.jar!/:2.0.0]
>         at org.apache.ignite.internal.processors.cache.GridCacheProcessor.
> prepareCacheStart(GridCacheProcessor.java:1833)
> ~[ignite-core-2.0.0.jar!/:2.0.0]
>         at org.apache.ignite.internal.processors.cache.
> CacheAffinitySharedManager.onCacheChangeRequest(
> CacheAffinitySharedManager.java:379) ~[ignite-core-2.0.0.jar!/:2.0.0]
>         at org.apache.ignite.internal.processors.cache.distributed.
> dht.preloader.GridDhtPartitionsExchangeFuture.onCacheChangeRequest(
> GridDhtPartitionsExchangeFuture.java:688) ~[ignite-core-2.0.0.jar!/:2.0.0]
>
>         at org.apache.ignite.internal.processors.cache.distributed.
> dht.preloader.GridDhtPartitionsExchangeFuture.init(
> GridDhtPartitionsExchangeFuture.java:529) ~[ignite-core-2.0.0.jar!/:2.0.0]
>
>         at org.apache.ignite.internal.processors.cache.
> GridCachePartitionExchangeManager$ExchangeWorker.body(
> GridCachePartitionExchangeManager.java:1806) [ignite-core-2.0.0.jar!/:2.0.0]
>
>         at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110)
> [ignite-core-2.0.0.jar!/:2.0.0]
>         at java.lang.Thread.run(Unknown Source) [na:1.8.0_131]
> Caused by: org.h2.jdbc.JdbcSQLException: Syntax error in SQL statement
> "CREATE TABLE ""IMAGE_CACHE"".SURVEYIMAGE (_KEY OTHER INVISIBLE[*] NOT
> NULL,_VAL OTHER INVISIBLE,_VER OTHER INVISIBLE,LATITUDE REAL,LONGITUDE
> REAL,GASCOMPANY VARCHAR,SURVEYCOMPANY VARCHAR,SURVEY VARCHAR,SESSION
> VARCHAR,CAMERA VARCHAR,FILENAME VARCHAR,FILELOCATION VARCHAR,GEOCOORDINATE
> OTHER) ENGINE ""org.apache.ignite.internal.processors.query.h2.
> IgniteH2Indexing$H2TableEngine"" "; expected "(, FOR, UNSIGNED, NOT,
> NULL, AS, DEFAULT, GENERATED, NOT, NULL, AUTO_INCREMENT, BIGSERIAL, SERIAL,
> IDENTITY, NULL_TO_DEFAULT, SEQUENCE, SELECTIVITY, COMMENT, CONSTRAINT,
> PRIMARY, UNIQUE, NOT, NULL, CHECK, REFERENCES, ,, )"; SQL statement:
> CREATE TABLE "IMAGE_CACHE".SurveyImage (_key OTHER INVISIBLE NOT NULL,_val
> OTHER INVISIBLE,_ver OTHER INVISIBLE,latitude REAL,longitude
> REAL,gasCompany VARCHAR,surveyCompany VARCHAR,survey VARCHAR,session
> VARCHAR,camera VARCHAR,fileName VARCHAR,fileLocation VARCHAR,geoCoordinate
> OTHER) engine "org.apache.ignite.internal.processors.query.h2.
> IgniteH2Indexing$H2TableEngine" [42001-194]
>         at org.h2.message.DbException.getJdbcSQLException(DbException.java:345)
> ~[h2-1.4.194.jar!/:na]
>         at org.h2.message.DbException.getSyntaxError(DbException.java:205)
> ~[h2-1.4.194.jar!/:na]
>         at org.h2.command.Parser.getSyntaxError(Parser.java:539)
> ~[h2-1.4.194.jar!/:na]
>         at org.h2.command.Parser.read(Parser.java:3242)
> ~[h2-1.4.194.jar!/:na]
>         at org.h2.command.Parser.readIfMore(Parser.java:887)
> ~[h2-1.4.194.jar!/:na]
>
> Any idea what might be causing the problem?
>
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
> http://apache-ignite-users.70518.x6.nabble.com/Ignite-
> client-not-seeing-cache-created-by-server-tp15070p15117.html
> To start a new topic under Apache Ignite Users, email
> ml+s70518n1h65@n6.nabble.com
> To unsubscribe from Apache Ignite Users, click here
> <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=1&code=YWxleGFuZGVyLmZlZG90b2ZmQGdtYWlsLmNvbXwxfC0xMzYxNTU0NTg=>
> .
> NAML
> <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Ignite-client-not-seeing-cache-created-by-server-tp15070p15136.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Ignite client not seeing cache created by server

Posted by Maureen Lawless <la...@gmail.com>.
Hi,

Now i can see the cache and see the objects created in it using
cache.iterator().

I would like to use a query to search the cache, so i have set indexed types
on the cache configuration.

Server configuration:

 public void initCache() {
        Ignite ignite =
Ignition.start(igniteConfiguration.getIgniteConfigurationFilename());

        CacheConfiguration cfg = new CacheConfiguration("IMAGE_CACHE");
        cfg.setIndexedTypes(GeoCoordinate.class, SurveyImage.class);
        cache = ignite.getOrCreateCache(cfg);
    }

Client configuration:

public void initCache() {

		Ignition.setClientMode(true);
		Ignite ignite =
Ignition.start(igniteConfiguration.getIgniteConfigurationFilename());

		CacheConfiguration cfg = new CacheConfiguration("IMAGE_CACHE");
		cfg.setIndexedTypes(GeoCoordinate.class, SurveyImage.class);

		// cfg.setCacheMode(CacheMode.PARTITIONED);
		cache = ignite.getOrCreateCache(cfg);

}

But when initCache() is called on the client i get the following exception:

>>> +----------------------------------------------------------------------+
>>> Ignite ver. 2.0.0#20170430-sha1:d4eef3c68ff116ee34bc13648cd82c640b3ea072
>>> +----------------------------------------------------------------------+
>>> OS name: Windows 10 10.0 amd64
>>> CPU(s): 4
>>> Heap: 1.8GB
>>> VM name: 5544@mlawlessJMLW742
>>> Local node [ID=D05F35DD-5899-452C-B74B-819FB3318E11, order=4,
>>> clientMode=true]
>>> Local node addresses: [mlawlessJMLW742.ammeon.com/0:0:0:0:0:0:0:1,
>>> /127.0.0.1, /172.19.29.194]
>>> Local ports: TCP:47101

[12:36:59] Topology snapshot [ver=4, servers=1, clients=1, CPUs=4,
heap=2.8GB]
2017-07-19 12:36:59.488  INFO 5544 --- [           main]
o.a.i.i.m.d.GridDiscoveryManager         : Topology snapshot [ver=4,
servers=1, clients=1, CPUs=4, heap=2.8GB]
2017-07-19 12:36:59.754 ERROR 5544 --- [orker-#24%null%]
.c.d.d.p.GridDhtPartitionsExchangeFuture : Failed to reinitialize local
partitions (preloading will be stopped): GridDhtPartitionExchangeId
[topVer=AffinityTopologyVersion [topVer=4, minorTopVer=1], nodeId=d05f35dd,
evt=DISCOVERY_CUSTOM_EVT]

org.apache.ignite.IgniteCheckedException: Failed to register query type:
QueryTypeDescriptorImpl [space=IMAGE_CACHE, name=SurveyImage, tblName=null,
fields={latitude=class java.lang.Float, longitude=class java.lang.Float,
gasCompany=class java.lang.String, surveyCompany=class java.lang.String,
survey=class java.lang.String, session=class java.lang.String, camera=class
java.lang.String, fileName=class java.lang.String, fileLocation=class
java.lang.String, geoCoordinate=class
com.cathx.fileloader.model.GeoCoordinate},
idxs={SurveyImage_geoCoordinate_idx=QueryIndexDescriptorImpl
[name=SurveyImage_geoCoordinate_idx, type=SORTED, inlineSize=-1]},
fullTextIdx=null, keyCls=class java.lang.Object, valCls=class
java.lang.Object, keyTypeName=com.cathx.fileloader.model.GeoCoordinate,
valTypeName=com.cathx.fileloader.model.SurveyImage, valTextIdx=false,
typeId=0, affKey=null, keyFieldName=null, valFieldName=null, obsolete=false]
        at
org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing.registerType(IgniteH2Indexing.java:1866)
~[ignite-indexing-2.0.0.jar!/:2.0.0]
        at
org.apache.ignite.internal.processors.query.GridQueryProcessor.registerCache0(GridQueryProcessor.java:1306)
~[ignite-core-2.0.0.jar!/:2.0.0]
        at
org.apache.ignite.internal.processors.query.GridQueryProcessor.onCacheStart0(GridQueryProcessor.java:756)
~[ignite-core-2.0.0.jar!/:2.0.0]
        at
org.apache.ignite.internal.processors.query.GridQueryProcessor.onCacheStart(GridQueryProcessor.java:817)
~[ignite-core-2.0.0.jar!/:2.0.0]
        at
org.apache.ignite.internal.processors.cache.GridCacheProcessor.startCache(GridCacheProcessor.java:1265)
~[ignite-core-2.0.0.jar!/:2.0.0]
        at
org.apache.ignite.internal.processors.cache.GridCacheProcessor.prepareCacheStart(GridCacheProcessor.java:1943)
~[ignite-core-2.0.0.jar!/:2.0.0]
        at
org.apache.ignite.internal.processors.cache.GridCacheProcessor.prepareCacheStart(GridCacheProcessor.java:1833)
~[ignite-core-2.0.0.jar!/:2.0.0]
        at
org.apache.ignite.internal.processors.cache.CacheAffinitySharedManager.onCacheChangeRequest(CacheAffinitySharedManager.java:379)
~[ignite-core-2.0.0.jar!/:2.0.0]
        at
org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.onCacheChangeRequest(GridDhtPartitionsExchangeFuture.java:688)
~[ignite-core-2.0.0.jar!/:2.0.0]
        at
org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.init(GridDhtPartitionsExchangeFuture.java:529)
~[ignite-core-2.0.0.jar!/:2.0.0]
        at
org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body(GridCachePartitionExchangeManager.java:1806)
[ignite-core-2.0.0.jar!/:2.0.0]
        at
org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110)
[ignite-core-2.0.0.jar!/:2.0.0]
        at java.lang.Thread.run(Unknown Source) [na:1.8.0_131]
Caused by: org.h2.jdbc.JdbcSQLException: Syntax error in SQL statement
"CREATE TABLE ""IMAGE_CACHE"".SURVEYIMAGE (_KEY OTHER INVISIBLE[*] NOT
NULL,_VAL OTHER INVISIBLE,_VER OTHER INVISIBLE,LATITUDE REAL,LONGITUDE
REAL,GASCOMPANY VARCHAR,SURVEYCOMPANY VARCHAR,SURVEY VARCHAR,SESSION
VARCHAR,CAMERA VARCHAR,FILENAME VARCHAR,FILELOCATION VARCHAR,GEOCOORDINATE
OTHER) ENGINE
""org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing$H2TableEngine""
"; expected "(, FOR, UNSIGNED, NOT, NULL, AS, DEFAULT, GENERATED, NOT, NULL,
AUTO_INCREMENT, BIGSERIAL, SERIAL, IDENTITY, NULL_TO_DEFAULT, SEQUENCE,
SELECTIVITY, COMMENT, CONSTRAINT, PRIMARY, UNIQUE, NOT, NULL, CHECK,
REFERENCES, ,, )"; SQL statement:
CREATE TABLE "IMAGE_CACHE".SurveyImage (_key OTHER INVISIBLE NOT NULL,_val
OTHER INVISIBLE,_ver OTHER INVISIBLE,latitude REAL,longitude REAL,gasCompany
VARCHAR,surveyCompany VARCHAR,survey VARCHAR,session VARCHAR,camera
VARCHAR,fileName VARCHAR,fileLocation VARCHAR,geoCoordinate OTHER) engine
"org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing$H2TableEngine"
[42001-194]
        at
org.h2.message.DbException.getJdbcSQLException(DbException.java:345)
~[h2-1.4.194.jar!/:na]
        at org.h2.message.DbException.getSyntaxError(DbException.java:205)
~[h2-1.4.194.jar!/:na]
        at org.h2.command.Parser.getSyntaxError(Parser.java:539)
~[h2-1.4.194.jar!/:na]
        at org.h2.command.Parser.read(Parser.java:3242)
~[h2-1.4.194.jar!/:na]
        at org.h2.command.Parser.readIfMore(Parser.java:887)
~[h2-1.4.194.jar!/:na]

Any idea what might be causing the problem?





--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Ignite-client-not-seeing-cache-created-by-server-tp15070p15117.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Ignite client not seeing cache created by server

Posted by Mikhail Cherkasov <mc...@gridgain.com>.
Hi Maureen,

Client and server nodes found each other and created a cluster,
so it can't be possible that there're two caches in the same cluster with
the same name.

On client node you can check ignite.cacheNames() before  cache =
ignite.getOrCreateCache(cfg); call.
To make sure that IMAGE_CACHE is already exist and visible by client.

Thanks,
Mikhail.

On Tue, Jul 18, 2017 at 7:27 PM, Maureen Lawless <la...@gmail.com>
wrote:

> Hi,
>
> I am trying to use apache ignite cache for the first time. I have 2 java
> spring boot applications, the first one is configured as an ignite server:
>
> Snippet from ignite-config-dev.xml:
>
>  <property name="clientMode" value="false"/>
>
> And it is creating a cache on start -up:
>
>  public void initCache() {
>         Ignite ignite = Ignition.start(igniteConfigura
> tion.getIgniteConfigurationFilename());
>         CacheConfiguration cfg = new CacheConfiguration("IMAGE_CACHE");
>         cache = ignite.getOrCreateCache(cfg);
>     }
>
> The application also inserts some objects into the cache which i would
> like to read from the second application.
>
> The second java application is started as an ignite client:
>
> Snippet from ignite-config-dev.xml:
>
> <property name="clientMode" value="true"/>
>
> And it trys to get the cache created by the server:
>
> Ignite ignite = Ignition.start(igniteConfigura
> tion.getIgniteConfigurationFilename());
>
>         CacheConfiguration cfg = new CacheConfiguration("IMAGE_CACHE");
>         cache = ignite.getOrCreateCache(cfg);
>
> However, it looks like the call to getOrCreateCache in the client is
> creating a new cache rather than accessing the one created by the server.
>
> When the server starts up i see the following in the logs:
>
> ================================================
>
> >> +-----------------------------------------------------------
> -----------+
>
> >>> Ignite ver. 2.0.0#20170430-sha1:d4eef3c68f
> f116ee34bc13648cd82c640b3ea072
>
> >>> +-----------------------------------------------------------
> -----------+
>
> >>> OS name: Linux 3.10.0-514.26.2.el7.x86_64 amd64
>
> >>> CPU(s): 1
>
> >>> Heap: 0.48GB
>
> >>> VM name: 28522@m.lawlessvm
>
> >>> Local node [ID=7C898CEA-E4EE-430F-9468-3DF185AC4D75, order=1,
> clientMode=false]
>
> >>> Local node addresses: [m.lawlessvm/0:0:0:0:0:0:0:1%lo, m.lawlessvm/
> 10.0.2.15, /127.0.0.1, /192.168.122.1]
>
> >>> Local ports: TCP:11211 TCP:47100 TCP:47500
>
>
> [15:44:52] Topology snapshot [ver=1, *servers=1, clients=0*, CPUs=1,
> heap=0.48GB]
>
> 2017-07-18 15:44:52.577  INFO 28522 --- [           main]
> o.a.i.i.m.d.GridDiscoveryManager         : Topology snapshot [ver=1,
> servers=1, clients=0, CPUs=1, heap=0.48GB]
>
> *2017-07-18 15:44:52.664  INFO 28522 --- [orker-#26%null%]
> o.a.i.i.p.cache.GridCacheProcessor       : Started cache [name=IMAGE_CACHE,
> memoryPolicyName=null, mode=PARTITIONED]*
>
>
> 2017-07-18 15:45:52.587  INFO 28522 --- [orker-#15%null%]
> org.apache.ignite.internal.IgniteKernal  :
>
> Metrics for local node (to disable set 'metricsLogFrequency' to 0)
>
>     ^-- Node [id=7c898cea, name=null, uptime=00:01:00:016]
>
>     ^*-- H/N/C [hosts=1, nodes=1, CPUs=1]*
>
>     ^-- CPU [cur=6.67%, avg=11.9%, GC=0%]
>
>     ^-- PageMemory [pages=4300]
>
>     ^-- Heap [used=96MB, free=80.49%, comm=247MB]
>
>     ^-- Non heap [used=98MB, free=-1%, comm=100MB]
>
>     ^-- Public thread pool [active=0, idle=0, qSize=0]
>
>     ^-- System thread pool [active=0, idle=8, qSize=0]
>
>     ^-- Outbound messages queue [size=0]
>
> *Once the client node starts i see the following in the server log:*
>
> 2017-07-18 15:49:01.851  INFO 28522 --- [omm-0-#17%null%]
> o.a.i.s.c.tcp.TcpCommunicationSpi        :* Accepted incoming
> communication connection [locAddr=/0:0:0:0:0:0:0:1:47100,
> rmtAddr=/0:0:0:0:0:0:0:1:42962]*
>
> 2017-07-18 15:49:52.600  INFO 28522 --- [orker-#15%null%]
> org.apache.ignite.internal.IgniteKernal  :
>
> Metrics for local node (to disable set 'metricsLogFrequency' to 0)
>
>     ^-- Node [id=7c898cea, name=null, uptime=00:05:00:034]
>
>     ^--* H/N/C [hosts=1, nodes=2, CPUs=1]*
>
>     ^-- CPU [cur=0.67%, avg=3.21%, GC=0%]
>
>     ^-- PageMemory [pages=4300]
>
>     ^-- Heap [used=119MB, free=75.91%, comm=247MB]
>
>     ^-- Non heap [used=99MB, free=-1%, comm=101MB]
>
>     ^-- Public thread pool [active=0, idle=0, qSize=0]
>
>     ^-- System thread pool [active=1, idle=6, qSize=0]
>
>     ^-- Outbound messages queue [size=0]
>
>
> *When the client starts up i see the following in the logs:*
>
>
> >>> +-----------------------------------------------------------
> -----------+
>
> >>> Ignite ver. 2.0.0#20170430-sha1:d4eef3c68f
> f116ee34bc13648cd82c640b3ea072
>
> >>> +-----------------------------------------------------------
> -----------+
>
> >>> OS name: Linux 3.10.0-514.26.2.el7.x86_64 amd64
>
> >>> CPU(s): 1
>
> >>> Heap: 0.5GB
>
> >>> VM name: 28694@m.lawlessvm
>
> >>> Local node [ID=6BAAA95E-D0E1-42C7-A3C6-74ABEB6E29D1, order=2,
> * clientMode=true*]
>
> >>> Local node addresses: [m.lawlessvm/0:0:0:0:0:0:0:1%lo, m.lawlessvm/
> 10.0.2.15, /127.0.0.1, /192.168.122.1]
>
> >>> Local ports: TCP:47101
>
>
> [15:49:03] *Topology snapshot [ver=2, servers=1, clients=1, CPUs=1,
> heap=0.98GB]*
>
> 2017-07-18 15:49:03.000  INFO 28694 --- [           main]
> o.a.i.i.m.d.GridDiscoveryManager         : Topology snapshot [ver=2,
> servers=1, clients=1, CPUs=1, heap=0.98GB]
>
> 2017-07-18 15:49:55.976  INFO 28694 --- [-notifier-timer]
> o.a.i.i.p.cluster.GridUpdateNotifier     : Update status is not available.
>
> 2017-07-18 15:50:02.930  INFO 28694 --- [orker-#15%null%]
> org.apache.ignite.internal.IgniteKernal  :
>
> Metrics for local node (to disable set 'metricsLogFrequency' to 0)
>
>     ^-- Node [id=6baaa95e, name=null, uptime=00:01:00:043]
>
>     ^-- *H/N/C [hosts=1, nodes=2, CPUs=1]*
>
>     ^-- CPU [cur=0.33%, avg=6.45%, GC=0%]
>
>     ^-- PageMemory [pages=0]
>
>     ^-- Heap [used=122MB, free=75.29%, comm=494MB]
>
>     ^-- Non heap [used=65MB, free=-1%, comm=66MB]
>
>     ^-- Public thread pool [active=0, idle=0, qSize=0]
>
>     ^-- System thread pool [active=0, idle=1, qSize=0]
>
>     ^-- Outbound messages queue [size=0]
>
> *2017-07-18 15:52:24.303  INFO 28694 --- [orker-#24%null%]
> o.a.i.i.p.cache.GridCacheProcessor       : Started cache [name=IMAGE_CACHE,
> memoryPolicyName=null, mode=PARTITIONED]*
>
> 2017-07-18 15:53:02.950  INFO 28694 --- [orker-#15%null%]
> org.apache.ignite.internal.IgniteKernal  :
>
> Metrics for local node (to disable set 'metricsLogFrequency' to 0)
>
>
> From looking at the logs (and from using a debugger during client start
> up) it seems to me that the client has discovered the server but is
> creating a new cache and not seeing the one created by the server.
>
> Any suggestions on where i might be going wrong with my configuration?
>
> Thanks,
> Maureen
>



-- 
Thanks,
Mikhail.