apache / apache/gravitino

[EPIC] Refactor Doris IT container

Open
#6,900 0 comments 0 reactions 0 assignees View on GitHub
epic
Dominant language
Java
Stars
3.2k
Forks
935
Avg merge
1d 15h
Merged PRs (30d)
315

Description

### Describe the proposal

We use an all-in-one Docker image as the Doris IT container, which is convenient to use. However, I found some shortcomings.

- It has only one Backend (BE), so creating a table with default properties will result in an error. see #3173
- In Doris 2.1.x, the Doris community advises utilizing docker-compose for initiating a Doris cluster. To support new features in Doris 2.1.x, it is also necessary to use docker-compose.

### Task list

- [ ] introduce docker-compose in `org.apache.gravitino.integration.test`
- [ ] update DorisContainer to use docker-compose
- [ ] remove code about `replication_num` #4343

Contributor guide

Open the contributing guide

Research direction

Start by locating the org.apache.gravitino.integration.test module and the DorisContainer implementation. Review the existing all-in-one container setup and the task list, then determine how docker-compose should be introduced, how DorisContainer should use it, and where replication_num handling lives. Done means all three checklist items are completed and the Doris integration tests pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, docker-compose, java
Domain
infrastructure, testing-qa
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.