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

[#445] feat(lakehouse-iceberg): support load HDFS config files for Iceberg REST server #468

Merged
merged 2 commits into from
Oct 13, 2023

Conversation

FANNG1
Copy link
Contributor

@FANNG1 FANNG1 commented Oct 7, 2023

What changes were proposed in this pull request?

support load HDFS config files for Iceberg REST server, support multiple classpath for graviton.auxService.iceberg-rest.classpath, such as catalogs/lakehouse-iceberg/libs, catalogs/lakehouse-iceberg/conf

Why are the changes needed?

HDFS configs are complicated, we should put core-site.xml and hdfs-site.xml to the classpath

Fix: #445

Does this PR introduce any user-facing change?

no

How was this patch tested?

  1. setup local HDFS cluster.
  2. start the graviton server with HDFS config files.

@FANNG1 FANNG1 marked this pull request as draft October 7, 2023 07:39
@github-actions
Copy link

github-actions bot commented Oct 7, 2023

Code Coverage Report

Overall Project 62.28% 🟢
Files changed 100% 🟢

Module Coverage
catalog-lakehouse-iceberg 80.57% 🟢
core 74.58% 🟢
Files
Module File Coverage
catalog-lakehouse-iceberg IcebergCatalogUtil.java 97.25% 🟢
core AuxiliaryServiceManager.java 59.76% 🟢

@FANNG1 FANNG1 marked this pull request as ready for review October 8, 2023 08:57
@yuqi1129
Copy link
Contributor

yuqi1129 commented Oct 9, 2023

By the way, we should consider adding some UTs to verify its effectiveness, such as we can read configuration contents.

@FANNG1
Copy link
Contributor Author

FANNG1 commented Oct 12, 2023

@jerryshao @yunqing-wei , please help to review this pr

@jerryshao
Copy link
Contributor

jerryshao commented Oct 12, 2023

Why do we remove ".template" suffix for hdfs and hive conf file?

@FANNG1
Copy link
Contributor Author

FANNG1 commented Oct 13, 2023

Why do we remove ".template" suffix for hdfs and hive conf file?

fixed

Copy link
Contributor

@yuqi1129 yuqi1129 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jerryshao jerryshao merged commit 314e587 into apache:main Oct 13, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Subtask] support load HDFS config files for graviton server
3 participants