RE: Flink operator task opens threads internally

2023-08-05 Thread Kamal Mittal via user
Thanks for info. Attached the POC code for reference. Class ServerCustomSocketStreamFunction.java is custom server socket source and class FlinkClientApp.java is main program. From: liu ron Sent: 05 August 2023 02:28 PM To: Kamal Mittal Cc: Paul Lam ; user@flink.apache.org Subject: Re: Flink

flink1.14.5 sql-client无法查询hbase1.4.3数据

2023-08-05 Thread 杨东树
各位好, 目前使用sql-client查询hbase数据时,无法查询成功,麻烦指导下,谢谢。 复现方法: 1、hbase操作: hbase(main):005:0> create 'flink_to_hbase','cf1' 0 row(s) in 2.2900 seconds hbase(main):006:0> put 'flink_to_hbase', 'rk0001', 'cf1:username', 'zhangsan' 0 row(s) in 0.0510 seconds 2、flink操作: ./start-cluster.sh

RE: Streaming join performance

2023-08-05 Thread shuai xu
Hi, we are also paying attention to this issue and have completed the validation of the minibatch join optimization including the intermediate message folding you mentioned. We plan to officially release it in Flink 1.19. This optimization could significantly improves the performance of join

Re: Will all records grouped using keyBy be allocated to a single subtask?

2023-08-05 Thread liu ron
Hi, David. Yes, all records with the same key will be shuffled to a single downstream subtask. Otherwise, the computed results will be wrong. Best, Ron xiangyu feng 于2023年8月4日周五 09:45写道: > Hi David, > > keyBy() is implemented with hash partitioning. If you use the keyBy > function, the

Re: Flink task manager failure scenario

2023-08-05 Thread liu ron
Hi, Kamal According to your description, I think this is related to Flink's fault tolerance mechanism, you can see [1] for more detail. [1] https://nightlies.apache.org/flink/flink-docs-master/docs/ops/state/task_failure_recovery/ Best, Ron Kamal Mittal via user 于2023年8月4日周五 15:06写道: >

Re: Flink restored from an initially-specified checkpoint

2023-08-05 Thread liu ron
Hi, Fil If we don't specify the ExternalizedCheckpointCleanup, the default checkpoint retention strategy is never retaining after the job terminates, which causes your issue. So I think your configure the ExternalizedCheckpointCleanup to `RETAIN_ON_CANCELLING`. Best, Ron Filip Karnicki

Re: Flink operator task opens threads internally

2023-08-05 Thread liu ron
Hi, Kamal Based on your context, it is okay, but the server socket function must be singleton. Otherwise, there will be port conflict problems. One more question, would you be so kind as to provide the PoC code? Maybe it helps to us share more views. Best, Ron Kamal Mittal via user