Re:flink sink web ui显示为Sink: Unnamed

2023-04-14 Thread hjw
可以在算子后面调用.name()方法指定名称,方法参数就是算子名称。 比如需sink的流为stream stream.sinkTo(Sink算子).name("sink-name") -- Best, Hjw 在 2023-04-14 16:26:35,"小昌同学" 写道: >我将流式数据输出到mysql,查看flink 自带的web ui界面,有一个sink节点显示为Sink: Unnamed ,这个针对sink节点可以命名嘛 > > >| | >小昌同学 >| >| >ccc0606fight...@163.com >|

Re:Re: How to set reblance in Flink Sql like Streaming api?

2023-04-04 Thread hjw
FROM product -- Best, Hjw At 2023-04-04 12:23:26, "Shammon FY" wrote: Hi hjw To rescale data for dim join, I think you can use `partition by` in sql before `dim join` which will redistribute data by specific column. In addition, you can add cache for `dim table`

How to set reblance in Flink Sql like Streaming api?

2023-04-03 Thread hjw
, so only one subtask in the Lookup join operator can receive data.I want to set the relationship between the kafka Source and the Lookup join operator is reblance so that all subtask in Lookup join operator can recevie data. Env: Flink version:1.15.1 -- Best, Hjw

Re:Re: Application upgrade rollbacks failed in Flink Kubernetes Operator

2023-02-19 Thread hjw
: - name: TZ value: Asia/Shanghai jobManager: resource: memory: "2048m" cpu: 1 taskManager: resource: memory: "2048m" cpu: 1 job: jarURI: local:///opt/flink/examples/streaming/StateMachineExample.jar parallelis

Application upgrade rollbacks failed in Flink Kubernetes Operator

2023-02-19 Thread hjw
- name: TZ value: Asia/Shanghai jobManager: resource: memory: "2048m" cpu: 1 taskManager: resource: memory: "2048m" cpu: 1 job: jarURI: local:///opt/flink/examples/streaming/StateMachineExample.jar parallelism: 2 upgradeMode: stateless -- Best, Hjw

Re:Re:如何查看Flink on Native K8s模式下失败作业的日志

2022-12-26 Thread hjw
Hi, 不好意思,忘记补充背景了。我目前使用的都是Application模式部署。 的确如你说的Flink session模式下作业失败JM和TM是不会消失的。 -- Best, Hjw 在 2022-12-26 11:25:50,"RS" 写道: >Hi, > > >我的也是on K8S,是session模式的,得看你的模式是什么 >我的流作业失败了,配置了checkpoint,会自动重试,jm和tm都还在,可以直接看到作业异常信息。 > > >Thanks > > >

How to get failed streaming Flink job log in Flink Native K8s mode?

2022-12-22 Thread hjw
Mode: Flink kubernetes Operator 1.2.0(Application Mode) -- Best, Hjw

如何查看Flink on Native K8s模式下失败作业的日志

2022-12-22 Thread hjw
Flink On Native K8s 模式下,如果流作业因异常失败了,作业的JobManager和TaskManager所在Pod都会消失,就无法查看作业日志。 请问在K8s模式下,在查看日志方面有没有相关解决方案。 目前我只想到将作业Jm和Tm打印的日志通过pv-pvc方式挂载NFS做持久化。这样做日志就可以保存下来方便查看。 -- Best, Hjw

How to set disableChaining like streaming multiple INSERT statements in a StatementSet ?

2022-12-07 Thread hjw
: Flink version:1.14.4 -- Best, Hjw

How to use the local repositories Jar instead of pulling remote snapshots when building modules?

2022-12-01 Thread hjw
http://maven.aliyun.com/nexus/content/groups/public/ false false never -- Best, Hjw

Flink Kubernetes Operator何时会保留JobManager

2022-11-28 Thread hjw
pod。 2、直接执行kubectl delete flinkdeployment my-deployment。作业的所有关联资源全被删除,包括HA资源,状态存储信息,Deployment等。 -- Best, Hjw

Flink Kubernetes Operator何时会保留JobManager Pod

2022-11-28 Thread hjw
在pod。 2、直接执行kubectl delete flinkdeployment my-deployment。作业的所有关联资源全被删除,包括HA资源,状态存储信息,Deployment等。 -- Best, Hjw

Re:Re: Flink Kubernetes Operator何时会保留JobManager Pod

2022-11-28 Thread hjw
hi.如果是流作业呢?其实我是想在作业失败的时候能保留日志方便查看排查。 -- Best, Hjw 在 2022-11-28 15:33:37,"Biao Geng" 写道: >hi,主要就是针对作业FINISHED或者FAILED时也能保留作业。你可以跑一个批作业试试。 >Best, >Biao Geng > >获取 Outlook for iOS<https://aka.ms/o0ukef> >____ >发件人: hjw

Flink Kubernetes Operator何时会保留JobManager Pod

2022-11-27 Thread hjw
在pod。 2、直接执行kubectl delete flinkdeployment my-deployment。作业的所有关联资源全被删除,包括HA资源,状态存储信息,Deployment等。 -- Best, Hjw

来自hjw的邮件

2022-11-27 Thread hjw
-- Best, Hjw

来自hjw的邮件

2022-11-27 Thread hjw
-- Best, Hjw

What is the recommended cpu.memory configuration of the Flink kubernetes operator in the production environment ?

2022-11-27 Thread hjw
in the production environment ? -- Best, Hjw

Re: A classloading question about submitting Flink jobs on Yarn-Perjob Mode

2022-09-12 Thread hjw
Hi, The yarn.classpath.include-user-jar parameter is shown as yarn.per-job-cluster.include-user-jarparameter in Flink 1.14. I have triedDISABLED??FIRST??LAST??ORDER .But the error still happened. Best, Hjw --Original-- From

A classloading question about submitting Flink jobs on Yarn-Perjob Mode

2022-09-12 Thread hjw
version: flink 1.14.0 Best, Hjw

?????? Where will the state be stored in the taskmanager when using rocksdbstatebend??

2022-09-12 Thread hjw
thanks for everyone. I will increase the parallelism to solve the problem.Besides,I am looking forward to support remote state. Best, Hjw

?????? Where will the state be stored in the taskmanager when using rocksdbstatebend??

2022-09-06 Thread hjw
Hi,Alexander When Flink job deployed on Native k8s, taskmanager is a Pod.The data directory size of a single container is limited in our company.Are there any idea to deal with this ? Best, Hjw

Where will the state be stored in the taskmanager when using rocksdbstatebend??

2022-09-05 Thread hjw
should take some measures to deal with it.(mount a volume for local data directories store RocksDB database etc...) thx. Best, Hjw

?????? flink ci build run longer than the maximum time of 310 minutes.

2022-09-05 Thread hjw
Hi,Matthias I have solved this problem as you say.The link to the PR [1] .thank you. [1]https://github.com/apache/flink/pull/20671 Best, Hjw

?????? flink ci build run longer than the maximum time of 310 minutes.

2022-09-03 Thread hjw
is4 commits ahead,11 commits behindapache:release-1.15. When I rebase the branch from upstream and push to my fork repo, the11 commitsbehindapache:release-1.15 also appear in my pr change files. How can I handle this situation? thx. Best, Hjw

flink ci build run longer than the maximum time of 310 minutes.

2022-09-02 Thread hjw
I commit a pr to Flink Github . A error happened in building ci. [error]The job running on agent Azure Pipelines 6 ran longer than the maximum time of 310 minutes. For more information, see https://go.microsoft.com/fwlink/?linkid=2077134 How to solve this problem? How to triigle the ci

??????k8s??????application????flink????HA??????????????

2022-08-28 Thread hjw
/flink-docs-release-1.15/docs/deployment/ha/kubernetes_ha/#high-availability-data-clean-up Best, Hjw ---- ??: "user-zh"

?????? Re: flink1.15.1 stop ????????

2022-08-23 Thread hjw
Kafka Connector??Api??IDEAJira https://issues.apache.org/jira/browse/FLINK-28758 ---- ??:

Error when run test case in Windows

2022-08-21 Thread hjw
When I run mvn clean install ,It will run Flink test case . However , I get Error?? [ERROR] Failures: [ERROR] KubernetesClusterDescriptorTest.testDeployApplicationClusterWithNonLocalSchema:155 Previous method call should have failed but it returned:

Failing to maven compile install Flink 1.15

2022-08-18 Thread hjw
I try to maven clean install Flink 1.15 parent,but fail. A Error happened in compiling flink-clients. Error Log: Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.4:single (create-test-dependency) on project flink-clients: Error reading assemblies: Error locating assembly

Flink ????????????????Tag??????

2022-08-15 Thread hjw
Flink docker ??Tag?? ??1.15.1??Tag??scala_2.12-java8??scala_2.12-java11??java8?? scala??JavaFlink??java?? ??jdk11FlinkTag??java8?? thx

Flink ????????????????Tag??????

2022-08-15 Thread hjw
Flink docker ??Tag?? ??1.15.1??Tag??scala_2.12-java8??scala_2.12-java11??java8?? scala??JavaFlink??java?? ??jdk11FlinkTag??java8?? thx

Failed to stop with savepoint

2022-08-02 Thread hjw
will enter restarting . It is successful to use savepoint command alone. Error log: 13:33:42.857 [Kafka Fetcher for Source: nlp-kafka-source - nlp-clean (1/1)#0] DEBUG org.apache.kafka.clients.consumer.KafkaConsumer - [Consumer clientId=consumer-hjw-3, groupId=hjw] Kafka consumer has been closed 13:33

Does Flink 1.14 support comsume Kafka 0.9?

2022-07-01 Thread hjw
Flink 1.14 Document display Flink 1.14 kafka connector only backwards compatible with broker versions 0.10.0 or later. Unfortunately, I have to use Flink 1.14 comsume Kafka 0.9 version?How can I do it ??thx.

Flink k8s ????????????

2022-06-27 Thread hjw
Flink version:1.15.0 ??1.15.0Flink??native k8s?Flink on Native k8s ??:)

?????? Flink????????????

2022-03-08 Thread hjw
er-zh" https://nightlies.apache.org/flink/flink-docs-master/docs/dev/datastream/fault-tolerance/state/ hjw <1010445...@qq.com.invalid ??2022??3??9?? 01:32?? sql??SELECT color, sum(id)

Flink????????????

2022-03-08 Thread hjw
sql??SELECT color, sum(id) FROM T GROUP BY colorFlinkTgroup by key??color)??Flink???

Flink On K8s ???????? SSL????????

2022-03-02 Thread hjw
K8sk8s~/.kube/config.SSL??kubectl??k8s (kubectl get pod -n namespace ??)?? Flink: 1.13.6 ~/.kube/config apiVersion:v1 kind:config cluster: -name: "yf-dev-cluster1" cluster: server:

Flink on Native K8s ??????????Tm??Jm????????Hosts????

2021-12-23 Thread hjw
Flink:1.13FlinkNative K8s jobmanager??taskmanager??hostspod-Template??jm??tm??K8spod-Template??