4paradigm / 4paradigm/OpenMLDB

TaskManagerConfig set default zookeeper.cluster prop typo

Open Beginner friendly
#3,783 3 comments 0 reactions 1 assignee Claimed by @aceforeverd View on GitHub
bug
Dominant language
C++
Stars
1.7k
Forks
331
Avg merge
12d 12h
Merged PRs (30d)
1

Description

**Bug Description**
`java/openmldb-taskmanager/src/main/java/com/_4paradigm/openmldb/taskmanager/config/TaskManagerConfig.java` line 303 set zookeeper.cluster prop typo
```java
if (props.getProperty("zookeeper.cluster") == null) {
props.setProperty("", "");
}
```

**Expected Behavior**
props.setProperty("zookeeper.cluster", "")

**Relation Case**

**Steps to Reproduce**

1.
2.
3.
4.

Contributor guide

Open the contributing guide

Research direction

The bug is in TaskManagerConfig.java line 303. Open the file, locate the if block that checks 'zookeeper.cluster', and replace the empty property set with the correct key and a default value. Run any existing tests for TaskManagerConfig to ensure the fix works.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
75/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.