[Bug] Unable to create data directory embedded_zookeeper/version-2 when launch kyuubi on k8s
- 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/kyuubi/issues?q=is%3Aissue) and found no similar issues.
### Describe the bug
When I launch kyuubi on k8s using official helm it reported the following error
```
Exception in thread "main" java.io.IOException: Unable to create data directory embedded_zookeeper/version-2
at org.apache.zookeeper.server.persistence.FileTxnSnapLog.(FileTxnSnapLog.java:87)
at org.apache.zookeeper.server.ZooKeeperServer.(ZooKeeperServer.java:225)
at org.apache.kyuubi.zookeeper.EmbeddedZookeeper.initialize(EmbeddedZookeeper.scala:48)
at org.apache.kyuubi.server.KyuubiServer$.startServer(KyuubiServer.scala:48)
```
### Affects Version(s)
1.7.1
### Kyuubi Server Log Output
```logtalk
Exception in thread "main" java.io.IOException: Unable to create data directory embedded_zookeeper/version-2
at org.apache.zookeeper.server.persistence.FileTxnSnapLog.(FileTxnSnapLog.java:87)
at org.apache.zookeeper.server.ZooKeeperServer.(ZooKeeperServer.java:225)
at org.apache.kyuubi.zookeeper.EmbeddedZookeeper.initialize(EmbeddedZookeeper.scala:48)
at org.apache.kyuubi.server.KyuubiServer$.startServer(KyuubiServer.scala:48)
```
### Kyuubi Engine Log Output
_No response_
### Kyuubi Server Configurations
_No response_
### Kyuubi Engine Configurations
_No response_
### Additional context
_No response_
### Are you willing to submit PR?
- [ ] 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
Research direction
Start by reproducing the failure with the official Helm deployment on Kubernetes and trace the stack from KyuubiServer.scala:48 to EmbeddedZookeeper.scala:48. Inspect the chart configuration and the embedded ZooKeeper initialization to determine why embedded_zookeeper/version-2 cannot be created; done means Kyuubi launches successfully with the official chart and the failure is covered by an appropriate test or deployment check.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- helm, kubernetes, scala
- Domain
- backend, infrastructure
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100