Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot deploy openmldb with one tablet configured #3870

Open
gaoboal opened this issue Apr 12, 2024 · 0 comments
Open

cannot deploy openmldb with one tablet configured #3870

gaoboal opened this issue Apr 12, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@gaoboal
Copy link
Collaborator

gaoboal commented Apr 12, 2024

Bug Description
When deploying OpenMLDB, I commented out one tablet entry in the hosts file, then executed deploy-all.sh and start-all.sh to deploy OpenMLDB. However, the startup failed with the following error in logs/nameserver.INFO:
E20240412 16:06:11.900566 22976 name_server_impl.cc:5549] tablet num 1 is less than system table replica num 2

Expected Behavior
Should be able to configure only 1 tablet and deploy successfully

Steps to Reproduce

  1. edit conf/hosts:
[tablet]
172.27.234.11:30921 /tmp/openmldb/tablet-01
#172.27.234.11:30922 /tmp/openmldb/tablet-02
[nameserver]
172.27.234.11:37527
[apiserver]
172.27.234.11:9080
[taskmanager]
172.27.234.11:9902
[zookeeper]
172.27.234.11:32181:2888:3888 /tmp/openmldb/zk-1
  1. execute sbin/deploy-all.sh and sbin/start-all.sh
@gaoboal gaoboal added the bug Something isn't working label Apr 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants