KAFKA SINK ERROR IN Flink-(version 1.14.4)

2022-04-22 Thread harshit.varsh...@iktara.ai
Dear Team, I am new to pyflink and request for your support in issue I am facing with Pyflink. I am using Pyflink version 1.14.4 & using reference code from pyflink getting started pages. I am getting following error . py4j.protocol.Py4JJavaError: An error occurred while calling o10.exec

Re: Savepoint and cancel questions

2022-04-22 Thread Hangxiang Yu
Hi, Dan 1. Do you mean put the option into savepoint command? If so, I think it will not work well. This option describe that how checkpoints will be cleaned up in different job status. e.g. FAILED/CANCELED. It cannot be covered in savepoint command. 2. Which flink version you use? I work on 1.14 a

Savepoint and cancel questions

2022-04-22 Thread Dan Hill
Hi. 1. Why isn’t –externalizedCheckpointCleanup an option on savepoint (instead of being needed at the start of a job run)? 2. Can we get a confirmation dialog when someone clicks "cancel job" in the UI? Just in case people click on accident. 3. Can we get a way to have Flink clean up the previ

Re: RocksDB's state size discrepancy with what's seen with state processor API

2022-04-22 Thread Alexis Sarda-Espinosa
Hi David, I don't find it troublesome per se, I was rather trying to understand what should be expected (and documented) for my application. Before I restarted the job and changed some configurations, it ran for around 10 days and ended up with a state size of about 1.8GB, so I'm still not sure

How to use RichAsyncFunction with MiniClusterWithClientResource

2022-04-22 Thread Satish Saley
Hi, I am writing (functional) unit test for RichAsyncFunction; following thread - https://lists.apache.org/thread/12n9fcj9v50sdpnrqsmxgx2ktc44c32c I am getting following exception. How would I resolve this? Test - @ClassRule val miniCluster = MiniClusterWithClientResource( MiniClusterResour

RE: Restore Job from CheckPoint in IntelliJ IDE - MiniCluster

2022-04-22 Thread Schwalbe Matthias
Happy to hear that (back-posted to usr list) Thias -Original Message- From: Κωνσταντίνος Αγαπίδης Sent: Friday, April 22, 2022 3:50 PM To: Schwalbe Matthias Subject: Re: Restore Job from CheckPoint in IntelliJ IDE - MiniCluster *** EXTERNAL MESSAGE – CAUTION: Think Before You Click

Re: AvroRowDeserializationSchema

2022-04-22 Thread Dian Fu
Hi Quynh, I have added an example on how to use AvroRowDeserializationSchema in Python DataStream API in [1]. Please take a look at if that helps for you~ Regards, Dian [1] https://github.com/apache/flink/blob/release-1.15/flink-python/pyflink/examples/datastream/formats/avro_format.py On Fri,

test

2022-04-22 Thread Samir Vasani
Thanks & Regards, Samir Vasani

Re: AvroRowDeserializationSchema

2022-04-22 Thread Dian Fu
Hi Quynh, Could you show some sample code on how you use it? Regards, Dian On Fri, Apr 22, 2022 at 1:42 PM lan tran wrote: > Wonder if this is a bug or not but if I use > *AvroRowDeserializationSchema,* > > In PyFlink the error still occure ? > > py4j.protocol.Py4JError: An error occurred whil

Re: JobManager doesn't bring up new TaskManager during failure recovery

2022-04-22 Thread Zheng, Chenyu
I created a JIRA ticket https://issues.apache.org/jira/browse/FLINK-27350 to track this issue. BRs, Chenyu From: "Zheng, Chenyu" Date: Friday, April 22, 2022 at 6:26 PM To: Yang Wang Cc: "user@flink.apache.org" , "user...@flink.apache.org" Subject: Re: JobManager doesn't bring up new TaskMan

Re: JobManager doesn't bring up new TaskManager during failure recovery

2022-04-22 Thread Zheng, Chenyu
Thank you, Yang! In fact I have a fine-grained dashboard for Kubernetes cluster health (like apiserver qps/latency etc.), and I didn't find anything unusual… Also, the JobManager container cpu/memory usage is low. Besides, I have a deep dive in these logs and Flink resource manager code, and f

Re: Jobmanager trying to be registered for Zombie Job

2022-04-22 Thread Matthias Pohl
FYI: I created FLINK-27354 [1] to cover the issue of retrying to connect to the RM while shutting down the JobMaster. This doesn't explain your issue though, Peter. It's still unclear why the JobMaster is still around as stated in my previous email. Matthias [1] https://issues.apache.org/jira/br

Re: Jobmanager trying to be registered for Zombie Job

2022-04-22 Thread Matthias Pohl
Just by looking through the code, it appears that these logs could be produced while stopping the job. The ResourceManager sends a confirmation of the JobMaster being disconnected at the end back to the JobMaster. If the JobMaster is still around to process the request, it would try to reconnect (I

Re: Huge number of GAX-Threads in Flink

2022-04-22 Thread Martijn Visser
Hi Shreekant, Since you're mentioning Iceberg, I'm assuming this means you've added the Iceberg runtime to Flink. I'm therefore wondering if this is a Flink issue or an Iceberg issue. I would lean towards the latter. Have you asked them? Best regards, Martijn Visser https://twitter.com/MartijnVi

Re: JobManager doesn't bring up new TaskManager during failure recovery

2022-04-22 Thread Yang Wang
The root cause might be you APIServer is overloaded or not running normally. And then all the pods events of taskmanager-1-9 and taskmanager-1-10 are not delivered to the watch in FlinkResourceManager. So the two taskmanagers are not recognized by ResourceManager and then registration are rejected.

Re: Problems with PrometheusReporter

2022-04-22 Thread Peter Schrott
Hi Chesnay, I had a look in my logs, there are not WARNINGS regarding metrics and registering metrics when starting this job. I ran the example jobs - ./examples/table/ChangelogSocketExample.jar (table streaming) - ./examples/streaming/StateMachineExample.jar (streaming) When running those jobs

Re: Jobmanager trying to be registered for Zombie Job

2022-04-22 Thread Matthias Pohl
...if possible it would be good to get debug rather than only info logs. Did you encounter anything odd in the TaskManager logs as well. Sharing those might be of value as well. On Fri, Apr 22, 2022 at 8:57 AM Matthias Pohl wrote: > Hi Peter, > thanks for sharing. That doesn't sound right. May y

Re: [ANNOUNCE] Apache Kyuubi (Incubating) released 1.5.1-incubating

2022-04-22 Thread Fu Chen
Hi Paul, It's on purpose, we are building eco on Flink, it's good to share with Flink users and the community. Paul Lam 于2022年4月22日周五 14:57写道: > Hi Fu, > > I think the mail might have been sent to Flink user mail list by mistake? > > Best, > Paul Lam > > 2022年4月22日 11:00,Fu Chen 写道: > > Hi all

Re: RocksDB's state size discrepancy with what's seen with state processor API

2022-04-22 Thread David Anderson
Alexis, Compaction isn't an all-at-once procedure. RocksDB is organized as a series of levels, each 10x larger than the one below. There are a few different compaction algorithms available, and they are tunable, but what's typically happening during compaction is that one SST file at level n is be

Re: Flink batch mode does not sort by event timestamp

2022-04-22 Thread David Anderson
The DataStream API's BATCH execution mode first sorts by key, and within each key, it sorts by timestamp. By operating this way, it only needs to keep state for one key at a time, so this keeps the runtime simple and efficient. Regards, David P.S. I see you also asked this question on stack overf

Unsubscribe

2022-04-22 Thread Raghavendra Chary
Unsubscribe