Skip to content

Commit

Permalink
Added rli issue fix guidance (#11716)
Browse files Browse the repository at this point in the history
  • Loading branch information
ad1happy2go authored Aug 1, 2024
1 parent 041a948 commit d56fbc5
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 0 deletions.
10 changes: 10 additions & 0 deletions website/releases/release-0.15.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,16 @@ Recent Athena version silently drops Hudi data when the partition location has a
partition `s3` scheme fixes the issue. We have added a fix to use `s3` scheme for the Hudi table partitions in AWS Glue
Catalog sync ([HUDI-7362](https://issues.apache.org/jira/browse/HUDI-7362)).

## Known Regressions
The Hudi 0.15.0 release introduces a regression related to Complex Key generation when the record key consists of a
single field. This issue was also present in version 0.14.1. When upgrading a table from previous versions,
it may silently ingest duplicate records.

:::tip
Avoid upgrading any existing table to 0.14.1 and 0.15.0 from any prior version if you are using ComplexKeyGenerator and
number of fields in record key is 1.
:::

## Raw Release Notes

The raw release notes are
Expand Down
6 changes: 6 additions & 0 deletions website/versioned_docs/version-0.14.0/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,12 @@ Caused by: [CIRCULAR REFERENCE: java.io.IOException: Write end dead]

We have an active patch([https://github.com/apache/hudi/pull/7245](https://github.com/apache/hudi/pull/7245)) on fixing the issue. Until we land this, you can use above config to bypass the issue.

#### Hudi upserts with RLI fails with ClassCastException

In certain environments, RLI Hudi upserts may fail with the error: `Caused by: java.lang.ClassCastException: class org.apache.avro.generic.GenericData$Record cannot be cast to class org.apache.hudi.avro.model.HoodieDeleteRecordList`.

To resolve this issue, we should add the hudi bundle JAR to both `spark.driver.extraClassPath` and `spark.executor.extraClassPath`.

### Hive Sync
#### SQLException: following columns have types incompatible

Expand Down
6 changes: 6 additions & 0 deletions website/versioned_docs/version-0.14.1/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,12 @@ Caused by: [CIRCULAR REFERENCE: java.io.IOException: Write end dead]

We have an active patch([https://github.com/apache/hudi/pull/7245](https://github.com/apache/hudi/pull/7245)) on fixing the issue. Until we land this, you can use above config to bypass the issue.

#### Hudi upserts with RLI fails with ClassCastException

In certain environments, RLI Hudi upserts may fail with the error: `Caused by: java.lang.ClassCastException: class org.apache.avro.generic.GenericData$Record cannot be cast to class org.apache.hudi.avro.model.HoodieDeleteRecordList`.

To resolve this issue, we should add the hudi bundle JAR to both `spark.driver.extraClassPath` and `spark.executor.extraClassPath`.

### Hive Sync
#### SQLException: following columns have types incompatible

Expand Down
6 changes: 6 additions & 0 deletions website/versioned_docs/version-0.15.0/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,12 @@ Caused by: [CIRCULAR REFERENCE: java.io.IOException: Write end dead]

We have an active patch([https://github.com/apache/hudi/pull/7245](https://github.com/apache/hudi/pull/7245)) on fixing the issue. Until we land this, you can use above config to bypass the issue.

#### Hudi upserts with RLI fails with ClassCastException

In certain environments, RLI Hudi upserts may fail with the error: `Caused by: java.lang.ClassCastException: class org.apache.avro.generic.GenericData$Record cannot be cast to class org.apache.hudi.avro.model.HoodieDeleteRecordList`.

To resolve this issue, we should add the hudi bundle JAR to both `spark.driver.extraClassPath` and `spark.executor.extraClassPath`.

### Hive Sync
#### SQLException: following columns have types incompatible

Expand Down

0 comments on commit d56fbc5

Please sign in to comment.