Open GoldToothRichards opened 5 months ago
Unfortunately, my pipeline still failed even after getting the preview working from the UI.
Time: 2024-06-10T17:01:35.244357Z
Module: arroyo_server_common
Message: Panicked at crates/arroyo-connectors/src/kafka/sink/mod.rs:160:13
:
Not yet implemented: implement committing state
Location:
crates/arroyo-connectors/src/kafka/sink/mod.rs
Time: 2024-06-10T17:01:35.245233Z
Module: arroyo_controller::states::scheduling
Message: Failed to start execution on worker
Details:
job_X1CDLpovL8
Status { code: Cancelled, message: "h2 protocol error: http2 error: stream error received: stream no longer needed", source: Some(tonic::transport::Error(Transport, hyper::Error(Http2, Error { kind: Reset(StreamId(1), CANCEL, Remote) }))) }
Time: 2024-06-10T17:01:35.347260Z
Module: arroyo_server_common
Message: Panicked at crates/arroyo-worker/src/lib.rs:462:65
:
Called Option::unwrap()
on a None
value
Location:
crates/arroyo-worker/src/lib.rs
Time: 2024-06-10T17:01:35.347639Z
Module: arroyo_controller::states::scheduling
Message: Failed to start execution on worker
Details:
job_X1CDLpovL8
Status { code: Cancelled, message: "h2 protocol error: http2 error: stream error received: stream no longer needed", source: Some(tonic::transport::Error(Transport, hyper::Error(Http2, Error { kind: Reset(StreamId(3), CANCEL, Remote) }))) }
Time: 2024-06-10T17:01:35.449675Z
Module: arroyo_server_common
Message: Panicked at crates/arroyo-worker/src/lib.rs:462:49
:
Called Result::unwrap()
on an Err
value: PoisonError { .. }
Location:
crates/arroyo-worker/src/lib.rs
Time: 2024-06-10T17:01:35.450050Z
Module: arroyo_controller::states::scheduling
Message: Failed to start execution on worker
Details:
job_X1CDLpovL8
Status { code: Cancelled, message: "h2 protocol error: http2 error: stream error received: stream no longer needed", source: Some(tonic::transport::Error(Transport, hyper::Error(Http2, Error { kind: Reset(StreamId(5), CANCEL, Remote) }))) }
Time: 2024-06-10T17:01:35.550997Z
Module: arroyo_server_common
Message: Panicked at crates/arroyo-worker/src/lib.rs:462:49
:
Called Result::unwrap()
on an Err
value: PoisonError { .. }
Location:
crates/arroyo-worker/src/lib.rs
Time: 2024-06-10T17:01:35.551382Z
Module: arroyo_controller::states::scheduling
Message: Failed to start execution on worker
Details:
job_X1CDLpovL8
Status { code: Cancelled, message: "h2 protocol error: http2 error: stream error received: stream no longer needed", source: Some(tonic::transport::Error(Transport, hyper::Error(Http2, Error { kind: Reset(StreamId(7), CANCEL, Remote) }))) }
Time: 2024-06-10T17:01:35.653633Z
Module: arroyo_server_common
Message: Panicked at crates/arroyo-worker/src/lib.rs:462:49
:
Called Result::unwrap()
on an Err
value: PoisonError { .. }
Location:
crates/arroyo-worker/src/lib.rs
Time: 2024-06-10T17:01:35.653941Z
Module: arroyo_controller::states::scheduling
Message: Failed to start execution on worker
Details:
job_X1CDLpovL8
Status { code: Cancelled, message: "h2 protocol error: http2 error: stream error received: stream no longer needed", source: Some(tonic::transport::Error(Transport, hyper::Error(Http2, Error { kind: Reset(StreamId(9), CANCEL, Remote) }))) }
Time: 2024-06-10T17:01:35.755697Z
Module: arroyo_server_common
Message: Panicked at crates/arroyo-worker/src/lib.rs:462:49
:
Called Result::unwrap()
on an Err
value: PoisonError { .. }
Location:
crates/arroyo-worker/src/lib.rs
Time: 2024-06-10T17:01:35.756064Z
Module: arroyo_controller::states::scheduling
Message: Failed to start execution on worker
Details:
job_X1CDLpovL8
Status { code: Cancelled, message: "h2 protocol error: http2 error: stream error received: stream no longer needed", source: Some(tonic::transport::Error(Transport, hyper::Error(Http2, Error { kind: Reset(StreamId(11), CANCEL, Remote) }))) }
Time: 2024-06-10T17:01:35.857151Z
Module: arroyo_server_common
Message: Panicked at crates/arroyo-worker/src/lib.rs:462:49
:
Called Result::unwrap()
on an Err
value: PoisonError { .. }
Location:
crates/arroyo-worker/src/lib.rs
Time: 2024-06-10T17:01:35.857532Z
Module: arroyo_controller::states::scheduling
Message: Failed to start execution on worker
Details:
job_X1CDLpovL8
Status { code: Cancelled, message: "h2 protocol error: http2 error: stream error received: stream no longer needed", source: Some(tonic::transport::Error(Transport, hyper::Error(Http2, Error { kind: Reset(StreamId(13), CANCEL, Remote) }))) }
Time: 2024-06-10T17:01:35.959450Z
Module: arroyo_server_common
Message: Panicked at crates/arroyo-worker/src/lib.rs:462:49
:
Called Result::unwrap()
on an Err
value: PoisonError { .. }
Location:
crates/arroyo-worker/src/lib.rs
Time: 2024-06-10T17:01:35.959851Z
Module: arroyo_controller::states::scheduling
Message: Failed to start execution on worker
Details:
job_X1CDLpovL8
Status { code: Cancelled, message: "h2 protocol error: http2 error: stream error received: stream no longer needed", source: Some(tonic::transport::Error(Transport, hyper::Error(Http2, Error { kind: Reset(StreamId(15), CANCEL, Remote) }))) }
Time: 2024-06-10T17:01:36.061833Z
Module: arroyo_server_common
Message: Panicked at crates/arroyo-worker/src/lib.rs:462:49
:
Called Result::unwrap()
on an Err
value: PoisonError { .. }
Location:
crates/arroyo-worker/src/lib.rs
Time: 2024-06-10T17:01:36.062147Z
Module: arroyo_controller::states::scheduling
Message: Failed to start execution on worker
Details:
job_X1CDLpovL8
Status { code: Cancelled, message: "h2 protocol error: http2 error: stream error received: stream no longer needed", source: Some(tonic::transport::Error(Transport, hyper::Error(Http2, Error { kind: Reset(StreamId(17), CANCEL, Remote) }))) }
Time: 2024-06-10T17:01:36.163922Z
Module: arroyo_server_common
Message: Panicked at crates/arroyo-worker/src/lib.rs:462:49
:
Called Result::unwrap()
on an Err
value: PoisonError { .. }
Location:
crates/arroyo-worker/src/lib.rs
Time: 2024-06-10T17:01:36.164172Z
Module: arroyo_controller::states::scheduling
Message: Failed to start execution on worker
Details:
job_X1CDLpovL8
Status { code: Cancelled, message: "h2 protocol error: http2 error: stream error received: stream no longer needed", source: Some(tonic::transport::Error(Transport, hyper::Error(Http2, Error { kind: Reset(StreamId(19), CANCEL, Remote) }))) }
Time: 2024-06-10T17:01:36.265623Z
Module: arroyo_server_common
Message: Panicked at crates/arroyo-controller/src/states/scheduling.rs:495:21
:
Failed to start execution on workers WorkerId(114)
Location:
crates/arroyo-controller/src/states/scheduling.rs
Time: 2024-06-10T17:01:36.265787Z
Module: arroyo_controller::states
Message: Fatal state error
Details:
job_X1CDLpovL8
Scheduling
Failed to start cluster for pipeline
task 8722 panicked
Hey @mwylde. I tested this again from the master branch after the changes from 655. Everything is working as expected on my end now!
Bug
The following query runs from the Arroyo UI, and allows you to see a working preview:
However, if you un-comment the INSERT line, it will throw a validation error saying "This feature is not implemented".
Workaround
By using CREATE VIEW statements instead of WITH statements, you can get a working preview while including the INSERT statement: