heavyai / heavydb

HeavyDB (formerly OmniSciDB)
https://heavy.ai
Apache License 2.0
2.95k stars 448 forks source link

Cannot import on an individual leaf. Please import from the Aggregator. #820

Open zhangchenqi123 opened 10 months ago

zhangchenqi123 commented 10 months ago

I have two servers, each has a heavydb docker container: heavyai/heavyai-ee-cuda. I am following the documentation to configure a distributed setup.

Server Configuration: Server 10.0.0.5: Configured as leaf and an aggregator. Server 10.0.0.6: Configured as leaf and a string server.

Problem: When connecting to the heavydb on server 10.0.0.5 and attempting to insert records into the table, I encounter the following error: image

Here's my configuration files(heavy.conf and cluster.conf) in two servers:

Server 10.0.0.5: as leaf and aggregator

/var/lib/heavyai/cluster.conf

image

/var/lib/heavyai/heavy.conf

image

Server 10.0.0.6: as leaf and string server

/var/lib/heavyai/cluster.conf

image

/var/lib/heavyai/heavy.conf

image

Any assistance or guidance on resolving this issue would be greatly appreciated.

cdessanti commented 10 months ago

Hi,

To configure distributed settings, you will need to have an Enterprise license. A Free License may not work for this purpose. Additionally, I couldn't find any node configured as an Aggregator node in your screenshots.