You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "dom93dd (via GitHub)" <gi...@apache.org> on 2024/04/30 12:09:27 UTC
[I] Renaming of ConfVars Enums in Apache Hive breaks compatibility of HiveCatalog dependency in Apache Iceberg [iceberg]
dom93dd opened a new issue, #10254:
URL: https://github.com/apache/iceberg/issues/10254
### Feature Request / Improvement
With following PR https://github.com/apache/hive/pull/4919 all ConfVars Enums in Apache.Hive dependency were renamed for better readability. This is included from the 4.0.0 Beta version in Hive.
Unfortunately, this breaks the compatibility with with apache.iceberg.hive dependency. Especially for the HiveCatalog class.
My suggestion is to change all the Enums in apache.icerberg too.
### Query engine
Hive
--
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: issues-unsubscribe@iceberg.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [I] Renaming of ConfVars Enums in Apache Hive breaks compatibility of HiveCatalog dependency in Apache Iceberg [iceberg]
Posted by "dom93dd (via GitHub)" <gi...@apache.org>.
dom93dd closed issue #10254: Renaming of ConfVars Enums in Apache Hive breaks compatibility of HiveCatalog dependency in Apache Iceberg
URL: https://github.com/apache/iceberg/issues/10254
--
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: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [I] Renaming of ConfVars Enums in Apache Hive breaks compatibility of HiveCatalog dependency in Apache Iceberg [iceberg]
Posted by "dom93dd (via GitHub)" <gi...@apache.org>.
dom93dd commented on issue #10254:
URL: https://github.com/apache/iceberg/issues/10254#issuecomment-2086017720
@nastra Are you suggesting that we should build our own shaded jar with all dependencies or is there a shaded jar of iceberg available?
--
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: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [I] Renaming of ConfVars Enums in Apache Hive breaks compatibility of HiveCatalog dependency in Apache Iceberg [iceberg]
Posted by "nastra (via GitHub)" <gi...@apache.org>.
nastra commented on issue #10254:
URL: https://github.com/apache/iceberg/issues/10254#issuecomment-2085551431
Those seem to be patched versions for api/core. What you typically would use is a shaded version that bundles all dependencies together. In any case, I don't see anything that needs to be fixed in the Iceberg repo itself related to this, so I think this issue can be closed.
--
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: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [I] Renaming of ConfVars Enums in Apache Hive breaks compatibility of HiveCatalog dependency in Apache Iceberg [iceberg]
Posted by "dom93dd (via GitHub)" <gi...@apache.org>.
dom93dd commented on issue #10254:
URL: https://github.com/apache/iceberg/issues/10254#issuecomment-2085301268
@nastra I did see that and moved over to that dependency. The problem is, that apache.hive is using shading for fasterxml in the https://mvnrepository.com/artifact/org.apache.hive/hive-iceberg-catalog/4.0.0 dependency. That breaks the usage of the JsonUtil class from apache.iceberg which isn't using shading for fasterxml.
I added my own shading to resolve this issue, but in my case I need to build a thin jar where I can't include the fix.
--
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: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [I] Renaming of ConfVars Enums in Apache Hive breaks compatibility of HiveCatalog dependency in Apache Iceberg [iceberg]
Posted by "nastra (via GitHub)" <gi...@apache.org>.
nastra commented on issue #10254:
URL: https://github.com/apache/iceberg/issues/10254#issuecomment-2089980598
For Hive < 4 there is [iceberg-hive-runtime](https://mvnrepository.com/artifact/org.apache.iceberg/iceberg-hive-runtime) (which is maintained by the Iceberg community)
For Hive >= 4 there is [hive-iceberg-shading](https://mvnrepository.com/artifact/org.apache.hive/hive-iceberg-shading) (which is maintained by the Hive community)
--
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: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [I] Renaming of ConfVars Enums in Apache Hive breaks compatibility of HiveCatalog dependency in Apache Iceberg [iceberg]
Posted by "dom93dd (via GitHub)" <gi...@apache.org>.
dom93dd commented on issue #10254:
URL: https://github.com/apache/iceberg/issues/10254#issuecomment-2085402094
@nastra Do you mean those two deps?:
```
<dependency>
<groupId>org.apache.hive</groupId>
<artifactId>patched-iceberg-core</artifactId>
<version>patched-1.4.3-4.0.0</version>
</dependency>
<dependency>
<groupId>org.apache.hive</groupId>
<artifactId>patched-iceberg-api</artifactId>
<version>patched-1.4.3-4.0.0</version>
</dependency>
```
Even when using that, I get the error for the shading (missing function of fasterxml mapper).
I need to use this dependency to resolve the missing underscores in HiveCatalog:
```
<dependency>
<groupId>org.apache.hive</groupId>
<artifactId>hive-iceberg-catalog</artifactId>
<version>4.0.0</version>
</dependency>
```
--
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: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [I] Renaming of ConfVars Enums in Apache Hive breaks compatibility of HiveCatalog dependency in Apache Iceberg [iceberg]
Posted by "nastra (via GitHub)" <gi...@apache.org>.
nastra commented on issue #10254:
URL: https://github.com/apache/iceberg/issues/10254#issuecomment-2085337820
Shading in https://github.com/apache/hive/blob/master/iceberg/iceberg-shading/pom.xml#L97-L100 is correct IMO. Are you using the `iceberg-core` jar directly rather than through a shaded jar? If that's the case, then you'd need to switch to using a shaded jar
--
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: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [I] Renaming of ConfVars Enums in Apache Hive breaks compatibility of HiveCatalog dependency in Apache Iceberg [iceberg]
Posted by "nastra (via GitHub)" <gi...@apache.org>.
nastra commented on issue #10254:
URL: https://github.com/apache/iceberg/issues/10254#issuecomment-2085266118
The hive-related code in Iceberg is for Hive < 4, meaning that nothing needs to be done in the Iceberg repo. Everything that's relevenant has already been done in https://github.com/apache/hive/pull/4919. Also if you look at the content of the PR, the Iceberg-related changes have been taking care of. This is because Iceberg-related changed for Hive 4+ have been moved to the Hive repo.
--
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: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [I] Renaming of ConfVars Enums in Apache Hive breaks compatibility of HiveCatalog dependency in Apache Iceberg [iceberg]
Posted by "dom93dd (via GitHub)" <gi...@apache.org>.
dom93dd commented on issue #10254:
URL: https://github.com/apache/iceberg/issues/10254#issuecomment-2090551374
@nastra Danke Dir!
--
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: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org