You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@doris.apache.org by GitBox <gi...@apache.org> on 2019/06/05 12:59:50 UTC
[GitHub] [incubator-doris] luoyafei opened a new issue #1257: Routine load
problem
luoyafei opened a new issue #1257: Routine load problem
URL: https://github.com/apache/incubator-doris/issues/1257
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:
```shell
bin/kafka-topics.sh --create --topic test --replication-factor 1 --partitions 1 --zookeeper 10.39.59.92:2181
```
create table:
```sql
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:
```sql
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`

Long agter then execution, I found these logs in FE

And BE also has a large number of such logs

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@doris.apache.org
For additional commands, e-mail: dev-help@doris.apache.org