Flink, Spark, Kafka, Hive, Airflow and dbt errors explained
Common Flink, Spark, Kafka, Hive, Airflow and dbt errors explained: the exact message, where it is thrown in the source code, likely causes, how to confirm them and how to fix them.
48 errors; every message is checked against the source code, and 24 are Reproduced in Docker with the SQL shown on the page.
Apache Flink
- Flink: IllegalStateException: Buffer pool is destroyed
- Flink SQL: Cannot generate a valid execution plan for the given query
- Flink: Checkpoint expired before completing
- Flink: NoResourceAvailableException: Could not acquire the minimum required resources
- Flink SQL: Could not find any factory for identifier 'kafka' Reproduced
- Flink: ExceptionInChainedOperatorException: Could not forward element to next operator
- Flink: Exceeded checkpoint tolerable failure threshold
- Flink: The heartbeat of TaskManager with id ... timed out
- Flink: IOException: Insufficient number of network buffers
- Flink SQL: Currently the join key in Temporal Table Join can not be empty Reproduced
- Flink: JobException: Recovery is suppressed by NoRestartBackoffTimeStrategy Reproduced
- Flink SQL: Sort on a non-time-attribute field is not supported Reproduced
- Flink SQL: Temporal table join requires an equality condition on fields of table
Apache Spark
- Spark: [CAST_INVALID_INPUT] The value cannot be cast because it is malformed Reproduced
- Spark: Container killed by YARN for exceeding physical memory limits
- Spark: Could not execute broadcast in 300 secs Reproduced
- Spark: [DIVIDE_BY_ZERO] Division by zero. Use try_divide to tolerate divisor being 0 Reproduced
- Spark: MetadataFetchFailedException: Missing an output location for shuffle
- Spark: [PATH_NOT_FOUND] Path does not exist Reproduced
- Spark: org.apache.spark.SparkException: Task not serializable Reproduced
- Spark: Total size of serialized results is bigger than spark.driver.maxResultSize Reproduced
- Spark: [UNABLE_TO_INFER_SCHEMA] Unable to infer schema for Parquet. It must be specified manually Reproduced
- Spark: [UNRESOLVED_COLUMN] A column, variable, or function parameter cannot be resolved Reproduced
Apache Kafka
- Kafka consumer: CommitFailedException: Commit cannot be completed since the group has already rebalanced
- Kafka: CoordinatorNotAvailableException: The coordinator is not available
- Kafka consumer: RecordDeserializationException: Error deserializing VALUE for partition
- Kafka producer: TimeoutException: Expiring N record(s) for topic-partition
- Kafka: NotLeaderOrFollowerException: the broker is not the current leader
- Kafka producer: RecordTooLargeException: The message is N bytes when serialized which is larger than max.request.size
- Kafka producer: TimeoutException: Topic not present in metadata after 60000 ms
- Kafka: UnknownTopicOrPartitionException: This server does not host this topic-partition
Apache Hive
- Hive: SemanticException [Error 10044]: Cannot insert into target table because column number/types are different Reproduced
- Hive: ParseException: cannot recognize input near Reproduced
- Hive: FAILED: Execution Error, return code 2 from TezTask or MapRedTask Reproduced
- Hive: SemanticException [Error 10025]: Expression not in GROUP BY key Reproduced
- Hive: MetaException: Hive Schema version does not match metastore's schema version
- Hive: SemanticException [Error 10004]: Invalid table alias or column reference Reproduced
- Hive: Number of dynamic partitions created is N, which is more than 1000 Reproduced
- Hive: SemanticException [Error 10001]: Table not found Reproduced
- Hive: Unable to instantiate org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient
- Hive: SemanticException [Error 10014]: Wrong arguments Reproduced
Apache Airflow
- Airflow: AirflowTaskTimeout: DagBag import timeout for dag file
- Airflow: Dependencies not met for <TaskInstance>, dependency '...' FAILED
- Airflow: Failing N TIs without heartbeat (zombie tasks in Airflow 3)