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

[Bug]: Can't load metadata from HMS with unmatched hive version #2348

Open
1 of 2 tasks
tcodehuber opened this issue Nov 22, 2023 · 4 comments
Open
1 of 2 tasks

[Bug]: Can't load metadata from HMS with unmatched hive version #2348

tcodehuber opened this issue Nov 22, 2023 · 4 comments
Labels
stale type:bug Something isn't working

Comments

@tcodehuber
Copy link
Contributor

What happened?

We can not get metadata from hive metastore when using unmatched hive version. In addition, there are no extra error/exception logs we can find.
screenshot-20231122-104403
screenshot-20231122-104428

Affects Versions

master

What engines are you seeing the problem on?

AMS

How to reproduce

a. build from source code: mvn clean package -DskipTests -pl core,hive,ams,dist -am -Dcheckstyle.skip=true
b. configure config.yaml, then bin/ams.sh start
c. login ams, click related pages

hadoop stack version as belows:
111

Relevant log output

No response

Anything else

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

  • I agree to follow this project's Code of Conduct
@tcodehuber tcodehuber added the type:bug Something isn't working label Nov 22, 2023
@palash-goel
Copy link

Facing the same issue.
HMS version: 2.3.6
https://github.com/apache/amoro/blob/master/amoro-core/src/main/java/org/apache/amoro/formats/iceberg/IcebergCatalog.java#L56

This functions is giving out empty namespaces. Thus, list_databases and list_tables is giving empty results.

The metastore does contain a lot of tables. However, I don't see any errors in the logs.

@tcodehuber
Copy link
Contributor Author

Facing the same issue. HMS version: 2.3.6 https://github.com/apache/amoro/blob/master/amoro-core/src/main/java/org/apache/amoro/formats/iceberg/IcebergCatalog.java#L56

This functions is giving out empty namespaces. Thus, list_databases and list_tables is giving empty results.

The metastore does contain a lot of tables. However, I don't see any errors in the logs.

@palash-goel Can you build the binary release using mvn clean package -DskipTests -Phadoop2 and try to deploy the AMS again?

@palash-goel
Copy link

This worked. Thank you so much!

Copy link

This issue has been automatically marked as stale because it has been open for 180 days with no activity. It will be closed in next 14 days if no further activity occurs. To permanently prevent this issue from being considered stale, add the label 'not-stale', but commenting on the issue is preferred when possible.

@github-actions github-actions bot added the stale label Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale type:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants