Re: [ANNOUNCE] FRocksDB 6.20.3-ververica-2.0 released
Thanks Yuanfei for driving the frocksdb release! Best Yun Tang From: Yuan Mei Sent: Tuesday, January 31, 2023 15:09 To: Jing Ge Cc: Yanfei Lei ; d...@flink.apache.org ; user ; user-zh@flink.apache.org Subject: Re: [ANNOUNCE] FRocksDB 6.20.3-ververica-2.0 released Thanks Yanfei for driving the release! Best Yuan On Mon, Jan 30, 2023 at 8:46 PM Jing Ge via user mailto:u...@flink.apache.org>> wrote: Hi Yanfei, Thanks for your effort. Looking forward to checking it. Best regards, Jing On Mon, Jan 30, 2023 at 1:42 PM Yanfei Lei mailto:fredia...@gmail.com>> wrote: It is very happy to announce the release of FRocksDB 6.20.3-ververica-2.0. Compiled files for Linux x86, Linux arm, Linux ppc64le, MacOS x86, MacOS arm, and Windows are included in FRocksDB 6.20.3-ververica-2.0 jar, and the FRocksDB in Flink 1.17 would be updated to 6.20.3-ververica-2.0. Release highlights: - [FLINK-30457] Add periodic_compaction_seconds option to RocksJava[1]. - [FLINK-30321] Upgrade ZLIB of FRocksDB to 1.2.13[2]. - Avoid expensive ToString() call when not in debug[3]. - [FLINK-24932] Support build FRocksDB Java on Apple silicon[4]. Maven artifacts for FRocksDB can be found at: https://mvnrepository.com/artifact/com.ververica/frocksdbjni We would like to thank all efforts from the Apache Flink community that made this release possible! [1] https://issues.apache.org/jira/browse/FLINK-30457 [2] https://issues.apache.org/jira/browse/FLINK-30321 [3] https://github.com/ververica/frocksdb/pull/55 [4] https://issues.apache.org/jira/browse/FLINK-24932 Best regards, Yanfei Ververica(Alibaba)
Flink SQL 如何优化以及处理反压
Flink版本:1.16.0 目前在使用Flink SQL进行多流关联,并写入Clickhouse中 具体代码如下: select \ header.id as id, \ LAST_VALUE(header.order_status), \ LAST_VALUE(header.customer_id), \ LAST_VALUE(header.shop_id), \ LAST_VALUE(header.parent_order_id), \ LAST_VALUE(header.order_at), \ LAST_VALUE(header.pay_at), \ LAST_VALUE(header.channel_id), \ LAST_VALUE(header.root_order_id), \ LAST_VALUE(header.last_updated_at), \ item.id as item_id, \ LAST_VALUE(item.order_id) as order_id, \ LAST_VALUE(item.row_num), \ LAST_VALUE(item.goods_id), \ LAST_VALUE(item.s_sku_code), \ LAST_VALUE(item.qty), \ LAST_VALUE(item.p_paid_sub_amt), \ LAST_VALUE(item.p_sp_sub_amt), \ LAST_VALUE(item.bom_type), \ LAST_VALUE(item.last_updated_at) as item_last_updated_at, \ LAST_VALUE(item.display_qty), \ LAST_VALUE(delivery.del_type), \ LAST_VALUE(delivery.time_slot_type), \ LAST_VALUE(delivery.time_slot_date), \ LAST_VALUE(delivery.time_slot_time_from), \ LAST_VALUE(delivery.time_slot_time_to), \ LAST_VALUE(delivery.sku_delivery_type), \ LAST_VALUE(delivery.last_updated_at) as del_last_updated_at, \ LAST_VALUE(promotion.id) as promo_id, \ LAST_VALUE(promotion.order_item_id), \ LAST_VALUE(promotion.p_promo_amt), \ LAST_VALUE(promotion.promotion_category), \ LAST_VALUE(promotion.promo_type), \ LAST_VALUE(promotion.promo_sub_type), \ LAST_VALUE(promotion.last_updated_at) as promo_last_updated_at, \ LAST_VALUE(promotion.promotion_cost) \ from \ item \ join \ header \ on item.order_id = header.id \ left join \ delivery \ on item.order_id = delivery.order_id \ left join \ promotion \ on item.id =promotion.order_item_id \ group by header.id,item.id 在Flink WEB UI 上发现程序反压很严重,而且时不时挂掉: https://pic.imgdb.cn/item/63d8bebbface21e9ef3c92fe.jpg 参考了京东的一篇文章https://flink-learning.org.cn/article/detail/1e86b8b38faaeefd5ed7f70858aa40bc ,对相关参数做了调整,但是发现有些功能在Flink 1.16中已经做了相关优化了,同时加了这些参数之后对程序没有起到任何优化的作用。 conf.setString("table.exec.mini-batch.enabled", "true"); conf.setString("table.exec.mini-batch.allow-latency", "15 s"); conf.setString("table.exec.mini-batch.size", "5000"); conf.setString("table.exec.state.ttl", "86400 s"); conf.setString("table.exec.disabled-operators", "NestedLoopJoin"); conf.setString("table.optimizer.join.broadcast-threshold", "-1"); conf.setString("table.optimizer.multiple-input-enabled", "true"); conf.setString("table.exec.shuffle-mode", "POINTWISE_EDGES_PIPELINED"); conf.setString("taskmanager.network.sort-shuffle.min-parallelism", "8"); 想请教下,针对Flink SQL如何处理反压,同时有什么其他的优化手段?
Re: [ANNOUNCE] FRocksDB 6.20.3-ververica-2.0 released
Thanks Yanfei for driving the release! Best Yuan On Mon, Jan 30, 2023 at 8:46 PM Jing Ge via user wrote: > Hi Yanfei, > > Thanks for your effort. Looking forward to checking it. > > Best regards, > Jing > > On Mon, Jan 30, 2023 at 1:42 PM Yanfei Lei wrote: > >> It is very happy to announce the release of FRocksDB 6.20.3-ververica-2.0. >> >> Compiled files for Linux x86, Linux arm, Linux ppc64le, MacOS x86, >> MacOS arm, and Windows are included in FRocksDB 6.20.3-ververica-2.0 >> jar, and the FRocksDB in Flink 1.17 would be updated to >> 6.20.3-ververica-2.0. >> >> Release highlights: >> - [FLINK-30457] Add periodic_compaction_seconds option to RocksJava[1]. >> - [FLINK-30321] Upgrade ZLIB of FRocksDB to 1.2.13[2]. >> - Avoid expensive ToString() call when not in debug[3]. >> - [FLINK-24932] Support build FRocksDB Java on Apple silicon[4]. >> >> Maven artifacts for FRocksDB can be found at: >> https://mvnrepository.com/artifact/com.ververica/frocksdbjni >> >> We would like to thank all efforts from the Apache Flink community >> that made this release possible! >> >> [1] https://issues.apache.org/jira/browse/FLINK-30457 >> [2] https://issues.apache.org/jira/browse/FLINK-30321 >> [3] https://github.com/ververica/frocksdb/pull/55 >> [4] https://issues.apache.org/jira/browse/FLINK-24932 >> >> Best regards, >> Yanfei >> Ververica(Alibaba) >> >
Re: 退订
Hello, 退订请发邮件到user-zh-unsubscr...@flink.apache.org Best regards, Weijie 唐凯 于2023年1月19日周四 15:54写道: > 退订 > > > > > 唐凯 > mrdon...@foxmail.com > > > >
Re: 任务本地运行正常,提交到集群报错 - 图片挂掉,文字贴一下报错信息,非常抱歉打扰
ping 127.0.0.1:33271 可以ping通吗 Best regards, Weijie yidan zhao 于2023年1月12日周四 17:48写道: > 看报错 Could not connect to BlobServer at address > localhost/127.0.0.1:33271,你本地的配置是不是不对。提交到什么模式部署的集群,配置是否配对了。 > > WD.Z 于2023年1月10日周二 10:56写道: > > > > > 任务在webui点击submit时报错,看起来是从JM提交到TM时报错,服务器防火墙已关闭,资源足够,还没有安装hadoop,但以standalone模式启动,看了下文档是不需要hadoop? > 报错中的Caused by列表如下: > > > > > > 2023-01-10 09:46:14,627 INFO > org.apache.flink.client.deployment.application.executors.EmbeddedExecutor > [] - Job e343bc906ea6889d34d9472d40d4f8ff is submitted. > > 2023-01-10 09:46:14,627 INFO > org.apache.flink.client.deployment.application.executors.EmbeddedExecutor > [] - Submitting Job with JobId=e343bc906ea6889d34d9472d40d4f8ff. > > 2023-01-10 09:46:14,629 WARN > org.apache.flink.client.deployment.application.DetachedApplicationRunner [] > - Could not execute application: > > org.apache.flink.client.program.ProgramInvocationException: The main > method caused an error: org.apache.flink.util.FlinkException: Failed to > execute job 'Flink Streaming Job'. > > > > > > Caused by: java.lang.RuntimeException: > org.apache.flink.util.FlinkException: Failed to execute job 'Flink > Streaming Job'. > > > > > > Caused by: org.apache.flink.util.FlinkException: Failed to execute job > 'Flink Streaming Job'. > > > > > > Caused by: org.apache.flink.util.FlinkException: Failed to execute job > 'Flink Streaming Job'. > > > > > > Caused by: org.apache.flink.util.FlinkException: Could not upload job > files. > > > > > > Caused by: java.io.IOException: Could not connect to BlobServer at > address localhost/127.0.0.1:33271 > > > > > > Caused by: java.net.ConnectException: 拒绝连接 (Connection refused) >
Re: [ANNOUNCE] FRocksDB 6.20.3-ververica-2.0 released
Hi Yanfei, Thanks for your effort. Looking forward to checking it. Best regards, Jing On Mon, Jan 30, 2023 at 1:42 PM Yanfei Lei wrote: > It is very happy to announce the release of FRocksDB 6.20.3-ververica-2.0. > > Compiled files for Linux x86, Linux arm, Linux ppc64le, MacOS x86, > MacOS arm, and Windows are included in FRocksDB 6.20.3-ververica-2.0 > jar, and the FRocksDB in Flink 1.17 would be updated to > 6.20.3-ververica-2.0. > > Release highlights: > - [FLINK-30457] Add periodic_compaction_seconds option to RocksJava[1]. > - [FLINK-30321] Upgrade ZLIB of FRocksDB to 1.2.13[2]. > - Avoid expensive ToString() call when not in debug[3]. > - [FLINK-24932] Support build FRocksDB Java on Apple silicon[4]. > > Maven artifacts for FRocksDB can be found at: > https://mvnrepository.com/artifact/com.ververica/frocksdbjni > > We would like to thank all efforts from the Apache Flink community > that made this release possible! > > [1] https://issues.apache.org/jira/browse/FLINK-30457 > [2] https://issues.apache.org/jira/browse/FLINK-30321 > [3] https://github.com/ververica/frocksdb/pull/55 > [4] https://issues.apache.org/jira/browse/FLINK-24932 > > Best regards, > Yanfei > Ververica(Alibaba) >
[ANNOUNCE] FRocksDB 6.20.3-ververica-2.0 released
It is very happy to announce the release of FRocksDB 6.20.3-ververica-2.0. Compiled files for Linux x86, Linux arm, Linux ppc64le, MacOS x86, MacOS arm, and Windows are included in FRocksDB 6.20.3-ververica-2.0 jar, and the FRocksDB in Flink 1.17 would be updated to 6.20.3-ververica-2.0. Release highlights: - [FLINK-30457] Add periodic_compaction_seconds option to RocksJava[1]. - [FLINK-30321] Upgrade ZLIB of FRocksDB to 1.2.13[2]. - Avoid expensive ToString() call when not in debug[3]. - [FLINK-24932] Support build FRocksDB Java on Apple silicon[4]. Maven artifacts for FRocksDB can be found at: https://mvnrepository.com/artifact/com.ververica/frocksdbjni We would like to thank all efforts from the Apache Flink community that made this release possible! [1] https://issues.apache.org/jira/browse/FLINK-30457 [2] https://issues.apache.org/jira/browse/FLINK-30321 [3] https://github.com/ververica/frocksdb/pull/55 [4] https://issues.apache.org/jira/browse/FLINK-24932 Best regards, Yanfei Ververica(Alibaba)