Revert "[hotfix][starrocks] Fix StarRocks FE startup failure due to insufficient disk space available "

This reverts commit 3315be3c8f.
pull/3516/head
gongzhongqiang 6 months ago committed by Leonard Xu
parent 7ca11359d7
commit 1778ef685a

@ -357,9 +357,6 @@ public class StarRocksMetadataApplierITCase extends StarRocksSinkTestBase {
.set(JDBC_URL, STARROCKS_CONTAINER.getJdbcUrl())
.set(USERNAME, StarRocksContainer.STARROCKS_USERNAME)
.set(PASSWORD, StarRocksContainer.STARROCKS_PASSWORD);
config.addAll(
Configuration.fromMap(
Collections.singletonMap("table.create.properties.replication_num", "1")));
DataSink starRocksSink = createStarRocksDataSink(config);

@ -43,7 +43,6 @@ import org.junit.BeforeClass;
import org.junit.Test;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import static org.apache.flink.cdc.connectors.starrocks.sink.StarRocksDataSinkOptions.JDBC_URL;
@ -164,10 +163,6 @@ public class StarRocksPipelineITCase extends StarRocksSinkTestBase {
.set(USERNAME, StarRocksContainer.STARROCKS_USERNAME)
.set(PASSWORD, StarRocksContainer.STARROCKS_PASSWORD);
config.addAll(
Configuration.fromMap(
Collections.singletonMap("table.create.properties.replication_num", "1")));
Sink<Event> starRocksSink =
((FlinkSinkProvider) createStarRocksDataSink(config).getEventSinkProvider())
.getSink();

@ -32,11 +32,7 @@ import java.util.List;
/** Docker container for StarRocks. */
public class StarRocksContainer extends JdbcDatabaseContainer<StarRocksContainer> {
// NOTE: StarRocks 3.x introduces free space check (> 5GB) during FE node startup
// (https://github.com/StarRocks/starrocks/pull/34813), which will fail on a typical GitHub
// runner environment. Downgraded to 2.x series for now to avoid blocking CI, and upgrade this
// after StarRocks provide a workaround for this.
private static final String DOCKER_IMAGE_NAME = "starrocks/allin1-ubuntu:2.5.21";
private static final String DOCKER_IMAGE_NAME = "starrocks/allin1-ubuntu:3.2.6";
// exposed ports
public static final int FE_HTTP_SERVICE_PORT = 8080;

Loading…
Cancel
Save