You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "voonhous (via GitHub)" <gi...@apache.org> on 2025/12/11 06:34:16 UTC

[PR] Fix failing CI caused by multiple definition of IncompatibleSchemaExc… [hudi]

voonhous opened a new pull request, #17561:
URL: https://github.com/apache/hudi/pull/17561

   …eption
   
   ### Describe the issue this Pull Request addresses
   
   <!-- Either describe the issue inline here with motivation behind the changes 
        (or) link to an issue by including `Closes #<issue-number>` for context. 
        If this PR includes changes to the storage format, public APIs,
        or has breaking changes, use `!` (e.g., feat!: ...) -->
   
   Spark CIs are failing due to the following error:
   
   ```log
   Error:  /home/runner/work/hudi/hudi/hudi-client/hudi-spark-client/src/main/scala/org/apache/spark/sql/avro/SchemaConverters.scala:245: error: IncompatibleSchemaException is already defined as class IncompatibleSchemaException
   Error:  private[avro] class IncompatibleSchemaException(msg: String, ex: Throwable = null) extends Exception(msg, ex)
   Error:                      ^
   Error: [ERROR] one error found
   ```
   
   `IncompatibleSchemaException` was defined in:
   1. `SchemaConverters`
   2. `HoodieSparkSchemaConverters` (introduced in #17475 
   
   This PR fixes the CI.
   
   ### Summary and Changelog
   
   <!-- Short, plain-English summary of what users gain or what changed in behavior.
        Followed by a detailed log of all the changes. Highlight if any code was copied. -->
   
   Remove `IncompatibleSchemaException` declaration in `HoodieSparkSchemaConverters`.
   
   ### Impact
   
   <!-- Describe any public API or user-facing feature change or any performance impact. -->
   
   None
   
   ### Risk Level
   
   <!-- Accepted values: none, low, medium or high. Other than `none`, explain the risk.
        If medium or high, explain what verification was done to mitigate the risks. -->
   
   None
   
   ### Documentation Update
   
   <!-- Describe any necessary documentation update if there is any new feature, config, or user-facing change. If not, put "none".
   
   - The config description must be updated if new configs are added or the default value of the configs are changed.
   - Any new feature or user-facing change requires updating the Hudi website. Please follow the 
     [instruction](https://hudi.apache.org/contribute/developer-setup#website) to make changes to the website. -->
   
   None
   
   ### Contributor's checklist
   
   - [x] Read through [contributor's guide](https://hudi.apache.org/contribute/how-to-contribute)
   - [ ] Enough context is provided in the sections above
   - [ ] Adequate tests were added if applicable
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] fix: Fix failing CI caused by multiple definition of IncompatibleSchemaExc… [hudi]

Posted by "voonhous (via GitHub)" <gi...@apache.org>.
voonhous commented on PR #17561:
URL: https://github.com/apache/hudi/pull/17561#issuecomment-3641138075

   <img width="753" height="807" alt="image" src="https://github.com/user-attachments/assets/1e3d73a4-6822-4cc5-b71d-3873361c3ac6" />
   
   Green for GitHub and Azure CIs, merging this fix in.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] fix: Fix failing CI caused by multiple definition of IncompatibleSchemaExc… [hudi]

Posted by "voonhous (via GitHub)" <gi...@apache.org>.
voonhous merged PR #17561:
URL: https://github.com/apache/hudi/pull/17561


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] fix: Fix failing CI caused by multiple definition of IncompatibleSchemaExc… [hudi]

Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #17561:
URL: https://github.com/apache/hudi/pull/17561#issuecomment-3640745894

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "29de6ed2daba5912295feef3db39439c63728a46",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=10123",
       "triggerID" : "29de6ed2daba5912295feef3db39439c63728a46",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 29de6ed2daba5912295feef3db39439c63728a46 Azure: [SUCCESS](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=10123) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] fix: Fix failing CI caused by multiple definition of IncompatibleSchemaExc… [hudi]

Posted by "yihua (via GitHub)" <gi...@apache.org>.
yihua commented on PR #17561:
URL: https://github.com/apache/hudi/pull/17561#issuecomment-3640500278

   Let's only land the fix if CI is green.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] fix: Fix failing CI caused by multiple definition of IncompatibleSchemaExc… [hudi]

Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #17561:
URL: https://github.com/apache/hudi/pull/17561#issuecomment-3640459354

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "29de6ed2daba5912295feef3db39439c63728a46",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=10123",
       "triggerID" : "29de6ed2daba5912295feef3db39439c63728a46",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 29de6ed2daba5912295feef3db39439c63728a46 Azure: [PENDING](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=10123) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] fix: Fix failing CI caused by multiple definition of IncompatibleSchemaExc… [hudi]

Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #17561:
URL: https://github.com/apache/hudi/pull/17561#issuecomment-3640455890

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "29de6ed2daba5912295feef3db39439c63728a46",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "29de6ed2daba5912295feef3db39439c63728a46",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 29de6ed2daba5912295feef3db39439c63728a46 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org