Skip to content

Routine load problem #1257

@luoyafei

Description

@luoyafei

Q: create routine load, but table no data to load.

resource:

Only 1 FE, 1 BE, 1 KFK, 1 ZK
FE, BE, KFK, ZK all on the same machine

kafka version:

0.10.1.0

create topic:

bin/kafka-topics.sh --create --topic test --replication-factor 1 --partitions 1 --zookeeper 10.39.59.92:2181

create table:

CREATE TABLE IF NOT EXISTS test_table
(
`id` INT NOT NULL,
`name` VARCHAR(20) NOT NULL,
`timestamp` DATETIME NOT NULL,
`count` INT SUM DEFAULT "0"
)
ENGINE=olap
AGGREGATE KEY(`id`,`name`,`timestamp`)
PARTITION BY RANGE(`timestamp`)
(
PARTITION `p201906` VALUES LESS THAN ("2019-07-01 00:00:00"),
PARTITION `p201907` VALUES LESS THAN ("2019-08-01 00:00:00")
) DISTRIBUTED BY HASH(`id`) BUCKETS 8
PROPERTIES
(
"replication_num" = "1"
);

create routine:

CREATE ROUTINE LOAD feed.load_test ON test_table
COLUMNS(id, name, timestamp, count)
PROPERTIES
(
"desired_concurrent_number"="1"
)
FROM KAFKA
(
"kafka_broker_list" = "10.39.59.92:9092",
"kafka_topic" = "test"
);

There appears to be an import operation, but there is no data in the table test
image

Long agter then execution, I found these logs in FE
image

And BE also has a large number of such logs
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions