Skip to Main Content

NoSQL Database

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Can't launch publish-subscribe example

Bruno HensherApr 21 2023 — edited Apr 22 2023

Good day, respective all!

I installed NoSQL Enterprise edition 22.3.35 under VirtualBox 7 (with Linux 8).

My topology is:

****************************************************************************************

store=kvstore numPartitions=10 sequence=14
zn: id=zn1 name=KVLite repFactor=1 type=PRIMARY allowArbiters=false masterAffinity=false

sn=[sn1] zn:[id=zn1 name=KVLite] oracle-21c-vagrant:5000 capacity=1 RUNNING
[rg1-rn1] RUNNING
single-op avg latency=0 ms multi-op avg latency=0 ms

numShards=1
shard=[rg1] num partitions=10
[rg1-rn1] sn=sn1

*******************************************************************************************

Ping results are:

**************************************************************************************************

Pinging components of store kvstore based upon topology sequence #14
10 partitions and 1 storage nodes
Time: 2023-04-21 21:03:23 UTC Version: 22.3.35
Shard Status: healthy: 1 writable-degraded: 0 read-only: 0 offline: 0 total: 1
Admin Status: healthy
Zone [name=KVLite id=zn1 type=PRIMARY allowArbiters=false masterAffinity=false] RN Status: online: 1 read-only: 0 offline: 0
Storage Node [sn1] on oracle-21c-vagrant: 5000 Zone: [name=KVLite id=zn1 type=PRIMARY allowArbiters=false masterAffinity=false] Status: RUNNING Ver: 22.3.35 2023-03-15 18:34:04 UTC Build id: f01eb5c05615 Edition: Enterprise isMasterBalanced: true serviceStartTime: 2023-04-21 20:51:20 UTC
Admin [admin1] Status: RUNNING,MASTER serviceStartTime: 2023-04-21 20:51:26 UTC stateChangeTime: 2023-04-21 20:51:25 UTC availableStorageSize: 751 MB
Rep Node [rg1-rn1] Status: RUNNING,MASTER sequenceNumber: 13,318 haPort: 5003 availableStorageSize: 751 MB storageType: HD (default for UNKNOWN) serviceStartTime: 2023-04-21 20:51:22 UTC stateChangeTime: 2023-04-21 20:51:25 UTC

***********************************************************************************************8

Example source for calling publish-subscribe feature was compiled without errors.

But when launching it, I got:

*********************************************************

Error: Cannot create topology manager, error=oracle.kv.FaultException: Master node=rg1-rn1 does not support streaming (22.3.35) on [2023-04-21 20:52:17.313 UTC]
Fault class name: oracle.kv.FaultException (22.3.35) on [2023-04-21 20:52:17.322 UTC]
All done.
Exception in thread "main" oracle.kv.pubsub.PublisherFailureException: Cannot create topology manager, error=oracle.kv.FaultException: Master node=rg1-rn1 does not support streaming (22.3.35) on [2023-04-21 20:52:17.313 UTC]
Fault class name: oracle.kv.FaultException (22.3.35) on [2023-04-21 20:52:17.322 UTC]
Fault class name: oracle.kv.FaultException
Remote stack trace: oracle.kv.FaultException: Master node=rg1-rn1 does not support streaming (22.3.35) on [2023-04-21 20:52:17.313 UTC]
Fault class name: oracle.kv.FaultException
at oracle.kv.impl.pubsub.PublisherTopoManager.buildMasterInfo(PublisherTopoManager.java:165)
at oracle.kv.impl.pubsub.PublisherTopoManager.<init>(PublisherTopoManager.java:79)
at oracle.kv.pubsub.NoSQLPublisher.<init>(NoSQLPublisher.java:217)
at oracle.kv.pubsub.NoSQLPublisher.get(NoSQLPublisher.java:405)
at oracle.kv.pubsub.NoSQLPublisher.get(NoSQLPublisher.java:315)
at oracle.kv.pubsub.NoSQLPublisher.get(NoSQLPublisher.java:248)
**********************************************************

What am I missing?

Any help would be very appreciated.

TIA,

Andrew.

This post has been answered by Bruno Hensher on Apr 29 2023
Jump to Answer

Comments

Processing

Post Details

Added on Apr 21 2023
2 comments
455 views