Skip to content

[Bug]: FirestoreIO writes fail: timer is set to max time (294247-01-09T04:00:54.775Z) #27138

@rulle-io

Description

@rulle-io

Apache Beam SDK for Java 2.46.0

What happened?

Caused by: java.lang.IllegalArgumentException: Cannot output with timestamp 2023-06-15T07:19:21.297Z. 
Output timestamps must be no earlier than the timestamp of the current input 
or timer (294247-01-09T04:00:54.775Z) minus the allowed skew (0 milliseconds) 
and no later than 294247-01-10T04:00:54.775Z. 
See the DoFn#getAllowedTimestampSkew() Javadoc for details on changing the allowed skew.
	org.apache.beam.runners.dataflow.worker.repackaged.org.apache.beam.runners.core.SimpleDoFnRunner.checkTimestamp(SimpleDoFnRunner.java:259)
	org.apache.beam.runners.dataflow.worker.repackaged.org.apache.beam.runners.core.SimpleDoFnRunner.access$1300(SimpleDoFnRunner.java:85)
	org.apache.beam.runners.dataflow.worker.repackaged.org.apache.beam.runners.core.SimpleDoFnRunner$DoFnProcessContext.outputWithTimestamp(SimpleDoFnRunner.java:416)
	org.apache.beam.sdk.io.gcp.firestore.FirestoreV1WriteFn$BaseBatchWriteFn$ProcessContextAdapter.output(FirestoreV1WriteFn.java:557)
	org.apache.beam.sdk.io.gcp.firestore.FirestoreV1WriteFn$BatchWriteFnWithSummary.handleWriteSummary(FirestoreV1WriteFn.java:96)
	org.apache.beam.sdk.io.gcp.firestore.FirestoreV1WriteFn$BaseBatchWriteFn.doFlush(FirestoreV1WriteFn.java:432)
	org.apache.beam.sdk.io.gcp.firestore.FirestoreV1WriteFn$BaseBatchWriteFn.flushBatch(FirestoreV1WriteFn.java:304)
	org.apache.beam.sdk.io.gcp.firestore.FirestoreV1WriteFn$BaseBatchWriteFn.processElement(FirestoreV1WriteFn.java:256)

Issue Priority

Priority: 2 (default / most bugs should be filed as P2)

Issue Components

  • Component: Python SDK
  • Component: Java SDK
  • Component: Go SDK
  • Component: Typescript SDK
  • Component: IO connector
  • Component: Beam examples
  • Component: Beam playground
  • Component: Beam katas
  • Component: Website
  • Component: Spark Runner
  • Component: Flink Runner
  • Component: Samza Runner
  • Component: Twister2 Runner
  • Component: Hazelcast Jet Runner
  • Component: Google Cloud Dataflow Runner

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions