Closed majunting closed 1 year ago
Thanks for creating your first OpenLineage issue! Your feedback is valuable and improves the project. If you haven't already, please be sure to follow the issue template!
Hi @majunting, you're totally right!
Our integration tests verify if Openlineage events contain input / output dataset information, but we do not verify if they're valid OL events 🤦
And they're not as they're missing fields you got within an error:
{"errors":["job must not be null","eventTime must not be null","run must not be null"]}
Thanks for your debugging. I will fix this next days.
Hi @majunting , thanks for opening an issue! Please join us on Slack if you haven't already.
Hi, thank you for your efforts developing Flink integration with OpenLineage.
I'm currently attempting to use OpenLineage to collect Flink run info, and I referred to the examples provided to add jobListener and register with StreamExecutionEnvironment. However, when I run the Flink job, I received
failed to emit openlineage event
error. Marquez received the event message and returned error code 422. This error occured whenOpenLineageFlinkJobListener
executesonJobSubmitted
. The error stacktrace is attached:After running in debug mode, I found out that in class
FlinkExecutionContext
, functionbuildEventForEventType
is called for job start and checkpoint. However, the return statement for this function is:Since only
inputs
,outputs
andeventType
are provided, the other 3 parameters are null, and the above error occurred.It would be great if you could give me some advice on this issue. I look forward to hearing from you! Thank you