Kubernetes HA checkpoint not retained on termination

2024-07-11 Thread Clemens Valiente
hi, I have a problem that Flink deletes checkpoint information on kubernetes HA setup even if execution.checkpointing.externalized-checkpoint-retention=RETAIN_ON_CANCELLATION is set. config documentation: "RETAIN_ON_CANCELLATION": Checkpoint state is kept when the owning job is cancelled or fails.

How to Use AsyncLookupFunction

2024-06-09 Thread Clemens Valiente
hi, how do I implement AsyncLookupFunctions correctly? I implemented a AsyncLookupFunction, the eval function has the following signature: https://nightlies.apache.org/flink/flink-docs-release-1.17/api/java/org/apache/flink/table/functions/AsyncLookupFunction.html eval(CompletableFuture> future, Ob

ProtoBuf DataStream to Table conversion issues

2023-08-27 Thread Clemens Valiente
There's friction with using scala/java protobuf and trying to convert them into a Flink Table from a DataStream[ProtobufObject]. Scenario: Input is a DataStream[ProtobufObject] from a kafka topic that we read data from and deserialise into Protobuf objects (scala case classes or alternatively Java

Re: EOFException when deserializing from RocksDB

2023-02-07 Thread Clemens Valiente
pplication breaks even though I am only using what I think is quite innocent code? On Fri, Feb 3, 2023 at 4:52 PM Clemens Valiente wrote: > > Hi, I have been struggling with this particular Exception for days and > thought I'd ask for help here. > > I am using a KeyedProcessF

EOFException when deserializing from RocksDB

2023-02-03 Thread Clemens Valiente
Hi, I have been struggling with this particular Exception for days and thought I'd ask for help here. I am using a KeyedProcessFunction with a private lazy val state: ValueState[Feature] = { val stateDescriptor = new ValueStateDescriptor[Feature]("CollectFeatureProcessState", createTypeInfo

flink-table-api-scala-bridge sources

2022-10-25 Thread Clemens Valiente
Hi everyone I noticed when going through the scala datastream/table api bridge in my IDE I cannot see the source of the code. I believe it is because the Sources are missing on maven: https://repo1.maven.org/maven2/org/apache/flink/flink-table-api-scala-bridge_2.12/1.15.2/ If you have a look at t

Re: [External] metric collision using datadog and standalone Kubernetes HA mode

2021-10-19 Thread Clemens Valiente
on you see is not coming from Datadog. They occur because, > based on the configured scope formats, metrics from different jobs running > in the same JobManager resolve to the same name (the standby jobmanger is > irrelevant). Flink rejects these metrics, because if were to send these out

[External] metric collision using datadog and standalone Kubernetes HA mode

2021-10-12 Thread Clemens Valiente
Hi, we are using datadog as our metrics reporter as documented here: https://ci.apache.org/projects/flink/flink-docs-master/docs/deployment/metric_reporters/#datadog our jobmanager scope is metrics.scope.jm: flink.jobmanager metrics.scope.jm.job: flink.jobmanager since datadog doesn't all

[External] naming table stages

2021-07-27 Thread Clemens Valiente
Is it possible to rename execution stages from the Table API? Right now the entire select transformation appears in plaintext in the task name so the log entries from ExecutionGraph are over 10,000 characters long and the log files are incredibly difficult to read. for example a simple selected fie

Re: [External] NullPointerException on accumulator after Checkpointing

2021-07-27 Thread Clemens Valiente
s to be a bug. I will open an issue once I get you > feedback. We might simply throw an exception for top-level usage then. > > Regards, > Timo > > > > On 14.07.21 06:33, Clemens Valiente wrote: > > Hi, > > > > we created a new AggregateFunction with Accumula

[External] NullPointerException on accumulator after Checkpointing

2021-07-13 Thread Clemens Valiente
Hi, we created a new AggregateFunction with Accumulator as Mapview as follows class CountDistinctAggFunction[T] extends AggregateFunction[lang.Integer, MapView[T, lang.Integer]] { override def createAccumulator(): MapView[T, lang.Integer] = { new MapView[T, lang.Integer]() } ... We had