apache / apache/kyuubi

[Bug] Kyuubi Server shutdown immediately after starting when only use MySQL protocol

Open
#4,003 0 comments 0 reactions 0 assignees View on GitHub
kind:bug priority:major
Dominant language
Scala
Stars
2.4k
Forks
1k
PR merge metrics
No merged PRs in 30d

Description

### Code of Conduct

- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)

### Search before asking

- [X] I have searched in the [issues](https://github.com/apache/incubator-kyuubi/issues?q=is%3Aissue) and found no similar issues.

### Describe the bug

Kyuubi Server shutdown immediately after starting on the following conditions:
- use an external Zookeeper
- only enable MYSQL frontend protocol

### Affects Version(s)

1.6.1

### Kyuubi Server Log Output

_No response_

### Kyuubi Engine Log Output

_No response_

### Kyuubi Server Configurations

```properties
kyuubi.ha.addresses=localhost:2181
kyuubi.frontend.protocols=MYSQL
```

### Kyuubi Engine Configurations

_No response_

### Additional context

_No response_

### Are you willing to submit PR?

- [ ] Yes. I can submit a PR independently to fix.
- [ ] Yes. I would be willing to submit a PR with guidance from the Kyuubi community to fix.
- [ ] No. I cannot submit a PR at this time.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing Kyuubi Server startup with an external ZooKeeper and `kyuubi.frontend.protocols=MYSQL`, then inspect the server startup path and its logs. Compare it with configurations that enable another frontend protocol; done means the server stays running under the reported configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
mysql, scala
Domain
api, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.