Flink 流式写入 Hive 报错:without providing a commit policy. Make sure to set a proper value for sink.partition-commit.policy.kind

2024-12-04 Thread LakeShen
用的版本为 Flink 1.17,当前先在 Hive 中创建了 partition_test 这张表。 在代码中也指定了:sink.partition-commit.policy.kind,但是实际执行还是报上面的错,但是如果不在 Hive 中创建这张表,使用 Flink 来创建这张表就能够执行。 这是不是 Flink 1.17 的 BUG? CREATE CATALOG my_hive_catalog WITH ( 'type' = 'hive', -- 指定默认的 hive 数据库 'default-database' = 'zhoujielun' ); use catalog m

What is the RocksDB local directory in flink checkpointing?

2020-05-05 Thread LakeShen
quot;. But I go into the /tmp dir ,I couldn't find the flink checkpoint state local directory. What is the RocksDB local directory in flink checkpointing? I am looking forward to your reply. Best, LakeShen

Re: join state TTL

2020-04-28 Thread LakeShen
gt; Jark > > On Wed, 29 Apr 2020 at 10:19, LakeShen wrote: > >> Hi Jark, >> >> I am a little confused about how double stream joining state cleared(not >> window join). >> >> For example, there are two stream , A , B . The sql like this : >> >&

Flink On Yarn , ResourceManager is HA , if active ResourceManager changed,what is flink task status ?

2020-04-15 Thread LakeShen
Hi community, I have a question about flink on yarn ha , if active resourcemanager changed, what is the flink task staus. Is flink task running normally? Should I must restart my flink task to run? Thanks to your reply. Best, LakeShen

Question about the flink 1.6 memory config

2020-03-31 Thread LakeShen
g the containerized.heap-cutoff-ratio be 0.15. Is there any problem for this config? I am looking forward to your reply. Best wishes, LakeShen

The question about the FLIP-45

2020-03-19 Thread LakeShen
e. Thanks to your reply. Best regards, LakeShen

Re: Cancel the flink task and restore from checkpoint ,can I change the flink operator's parallelism

2020-03-17 Thread LakeShen
Thank you, I will do that. jinhai wang 于2020年3月17日周二 下午5:58写道: > Hi LakeShen > > You also must assign IDs to all operators of an application. Otherwise, > you may not be able to recover from checkpoint > > Doc: > https://ci.apache.org/projects/flink/flink-docs-stable/ops/up

Question about RocksDBStateBackend Compaction Filter state cleanup

2020-03-17 Thread LakeShen
ent > timestamp each time 1000 entries have been processed. What's the meaning of 1000 entries? 1000 different key ? Thanks to your reply. Best regards, LakeShen

Re: How to change the flink web-ui jobServer?

2020-03-14 Thread LakeShen
Ok, thanks! Arvid Arvid Heise 于2020年3月10日周二 下午4:14写道: > Hi LakeShen, > > you can change the port with > > conf.setInteger(RestOptions.PORT, 8082); > > or if want to be on the safe side specify a range > > conf.setString(RestOptions.BIND_PORT, "8081-8099");

Re: Flink 1.10 StopWithSavepoint only suit for the sources that implement the StoppableFunction interface?

2020-03-12 Thread LakeShen
Thanks a lot!, tison tison 于2020年3月12日周四 下午5:56写道: > The StoppableFunction is gone. > > See also https://issues.apache.org/jira/browse/FLINK-11889 > > Best, > tison. > > > LakeShen 于2020年3月12日周四 下午5:44写道: > >> Hi community, >> now I am seei

Cancel the flink task and restore from checkpoint ,can I change the flink operator's parallelism

2020-03-12 Thread LakeShen
Thanks to your reply. Best wishes, LakeShen

Flink 1.10 StopWithSavepoint only suit for the sources that implement the StoppableFunction interface?

2020-03-12 Thread LakeShen
is command only suit for the sources that implement the StoppableFunction interface, is it correct? Thanks to your reply. Best wishes, LakeShen

How to change the flink web-ui jobServer?

2020-03-09 Thread LakeShen
to do that? Thanks to your reply. Best wishes, LakeShen

Re: Flink Web UI display nothing in k8s when use ingress

2020-03-03 Thread LakeShen
In my thought , I think I should config the correct flink jobserver for flink task LakeShen 于2020年3月4日周三 下午2:07写道: > Hi community, > now we plan to move all flink tasks to k8s cluster. For one flink > task , we want to see this flink task web ui . First , we create the k8s >

Flink Web UI display nothing in k8s when use ingress

2020-03-03 Thread LakeShen
Hi community, now we plan to move all flink tasks to k8s cluster. For one flink task , we want to see this flink task web ui . First , we create the k8s Service to expose 8081 port of jobmanager, then we use ingress controller so that we can see it outside.But the flink web like this : [im

Re: Flink 1.10 exception : Unable to instantiate java compiler

2020-02-28 Thread LakeShen
I have solved this problem. I set the flink-table-planner-blink maven scope to provided . kant kodali 于2020年2月28日周五 下午3:32写道: > Same problem! > > On Thu, Feb 27, 2020 at 11:10 PM LakeShen > wrote: > >> Hi community, >> now I am using the flink

Flink 1.10 exception : Unable to instantiate java compiler

2020-02-27 Thread LakeShen
Hi community, now I am using the flink 1.10 to run the flink task ,cluster type is yarn . I use commandline to submit my flink job , the commandline just like this : flink run -m yarn-cluster --allowNonRestoredState -c xxx.xxx.xx flink-stream-xxx.jar Bug there is a exception to

Flink 1.6, increment Checkpoint, the shared dir stored the last year checkpoint state

2020-01-19 Thread LakeShen
Hi community, now I have a flink sql job, and I set the flink sql sate retention time, there are three dir in flink checkpoint dir : 1. chk -xx dir 2. shared dir 3. taskowned dir I find the shared dir store the last year checkpoint state,the only reason I thought is that the latest checkpo

Frequently checkpoint failure, could make the flink sql state not clear?

2020-01-16 Thread LakeShen
Hi community, now I am using Flink sql , and I set the retention time, As I all know is that Flink will set the timer for per key to clear their state, if Flink task always checkpoint failure, are the key state cleared by timer? Thanks to your replay.

Flink Sql Join, how to clear the sql join state?

2020-01-15 Thread LakeShen
Hi community,now I am use flink sql inner join in my code,I saw the flink document, the flink sql inner join will keep both sides of the join input in Flink’s state forever. As result , the hdfs files size are so big , is there any way to clear the sql join state? Thanks to your reply.

Re: How long Flink state default TTL,if I don't config the state ttl config?

2020-01-05 Thread LakeShen
Ok, got it ,thank you Zhu Zhu 于2020年1月6日周一 上午10:30写道: > Yes. State TTL is by default disabled. > > Thanks, > Zhu Zhu > > LakeShen 于2020年1月6日周一 上午10:09写道: > >> I saw the flink source code, I find the flink state ttl default is >> never expire,is it right? >

Re: How long Flink state default TTL,if I don't config the state ttl config?

2020-01-05 Thread LakeShen
I saw the flink source code, I find the flink state ttl default is never expire,is it right? LakeShen 于2020年1月6日周一 上午9:58写道: > Hi community,I have a question about flink state ttl.If I don't config the > flink state ttl config, > How long the flink state retain?Is it forever

How long Flink state default TTL,if I don't config the state ttl config?

2020-01-05 Thread LakeShen
Hi community,I have a question about flink state ttl.If I don't config the flink state ttl config, How long the flink state retain?Is it forever retain in hdfs? Thanks your replay.

Flink 1.9 SQL Kafka Connector,Json format,how to deal with not json message?

2019-12-25 Thread LakeShen
Hi community,when I write the flink ddl sql like this: CREATE TABLE kafka_src ( id varchar, a varchar, b TIMESTAMP, c TIMESTAMP ) with ( ... 'format.type' = 'json', 'format.property-version' = '1', 'format.derive-schema' = 'true', 'update-mode' = 'append' ); If the me

Flink On K8s, build docker image very slowly, is there some way to make it faster?

2019-12-22 Thread LakeShen
Hi community , when I run the flink task on k8s , the first thing is that to build the flink task jar to Docker Image . I find that It would spend much time to build docker image. Is there some way to makr it faster. Thank your replay.

Flink SQL Kafka topic DDL ,the kafka' json field conflict with flink SQL Keywords

2019-12-09 Thread LakeShen
Hi community, when I use Flink SQL DDL ,the kafka' json field conflict with flink SQL Keywords,my thought is that using the UDTF to solve it . Is there graceful way to solve this problem?

How long is the flink sql task state default ttl?

2019-11-06 Thread LakeShen
Hi community, as I know I can use idle state retention time to clear the flink sql task state,I have a question is that how long the flink sql task state default ttl is . Thanks