Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Subtask] upgrade Iceberg version to 1.7 in Iceberg REST server version #6337

Open
Tracked by #6336
FANNG1 opened this issue Jan 20, 2025 · 5 comments
Open
Tracked by #6336
Labels
subtask Subtasks of umbrella issue

Comments

@FANNG1
Copy link
Contributor

FANNG1 commented Jan 20, 2025

Describe the subtask

upgrade Iceberg REST server version from 1.5 to 1.7 to support more endpoints

Parent issue

#6336

@FANNG1 FANNG1 added subtask Subtasks of umbrella issue help wanted Extra attention is needed labels Jan 20, 2025
@FANNG1
Copy link
Contributor Author

FANNG1 commented Jan 20, 2025

Normally we only need to change Iceberg version in gradle/libs.versions.toml from 1.5.2 to 1.7.1, but Iceberg drop java8 support in 1.7, I'm not sure whether the Iceberg jar could works on Gravitino in Java 1.8 enviroment.

@FANNG1 FANNG1 changed the title [Subtask] upgrade Iceberg REST server version to 1.7 [Subtask] upgrade Iceberg version to 1.7 in Iceberg REST server version Jan 21, 2025
@FANNG1
Copy link
Contributor Author

FANNG1 commented Jan 23, 2025

after updating the iceberg version to 1.7.1, there are some compile errors

      > No matching variant of org.apache.iceberg:iceberg-gcp:1.7.1 was found. The consumer was configured to find a library for use during compile-time, compatible with Java 8, preferably in the form of class files, preferably optimized for standard JVMs, and its dependencies declared externally but:
          - Variant 'apiElements' capability org.apache.iceberg:iceberg-gcp:1.7.1 declares a library for use during compile-time, packaged as a jar, and its dependencies declared externally:
              - Incompatible because this component declares a component, compatible with Java 11 and the consumer needed a component, compatible with Java 8
              - Other compatible attribute:
                  - Doesn't say anything about its target Java environment (preferred optimized for standard JVMs)
          - Variant 'runtimeElements' capability org.apache.iceberg:iceberg-gcp:1.7.1 declares a library for use during runtime, packaged as a jar, and its dependencies declared externally:
              - Incompatible because this component declares a component, compatible with Java 11 and the consumer needed a component, compatible with Java 8
              - Other compatible attribute:
                  - Doesn't say anything about its target Java environment (preferred optimized for standard JVMs)

@zzzk1
Copy link
Contributor

zzzk1 commented Jan 24, 2025

@FANNG1 Are you working on this? I would like to help. 😊

@FANNG1
Copy link
Contributor Author

FANNG1 commented Jan 25, 2025

@FANNG1 Are you working on this? I would like to help. 😊

thanks, but I'm not sure is there any way to make Iceberg 1.7 work on Java8, since Gravitino still supports Java8

@metalshanked
Copy link

Agree, since future updates to iceberg is important, no option but to drop Java 8 support i think

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
subtask Subtasks of umbrella issue
Projects
None yet
Development

No branches or pull requests

3 participants