commit | 397cd4d912e8260062910624eabd9db3ab40eb8b | [log] [tgz] |
---|---|---|
author | keepConcentration <phm543@gmail.com> | Thu Oct 09 12:15:58 2025 +0900 |
committer | GitHub <noreply@github.com> | Thu Oct 09 11:15:58 2025 +0800 |
tree | af9ce2c17affc2610ac59b1ffd7cd4099a6c19ea | |
parent | 1ba263389168ba623d5b16b4644a176f0b55e8d3 [diff] |
[#8668] improvement(core): prevent handing out new clients after pool closure (#8682) ### What changes were proposed in this pull request? - Fixed an issue in `ClientPoolImpl#get` where a new client could still be returned after the pool was closed. - Modified the loop to re-check the `closed` flag to ensure no new clients are created or returned after pool closure. ### Why are the changes needed? Improved so that when the pool is closed, `get()` calls fail and throw an exception. Fix: #8668 ### Does this PR introduce _any_ user-facing change? No user-facing changes. ### How was this patch tested? Executed existing unit tests --------- Co-authored-by: Mini Yu <yuqi@datastrato.com>
Apache Gravitino is a high-performance, geo-distributed, and federated metadata lake. It manages metadata directly in different sources, types, and regions, providing users with unified metadata access for data and AI assets.
The latest Gravitino documentation is available at gravitino.apache.org/docs/latest.
This README provides a basic overview; visit the site for full installation, configuration, and development documentation.
Gravitino provides a Docker Compose–based playground for a full-stack experience.
Clone or download the Gravitino Playground repository and follow its README.
conf/gravitino.conf
to configure settings../bin/gravitino.sh start
./bin/gravitino.sh stop
Press CTRL+C
to stop.
Gravitino provides a native Iceberg REST catalog service.
See: Iceberg REST catalog service
Gravitino includes a Trino connector for federated metadata access.
See: Using Trino with Gravitino
Gravitino uses Gradle. Windows is not currently supported.
Clean build without tests:
./gradlew clean build -x test
Build a distribution:
./gradlew compileDistribution -x test
Or compressed package:
./gradlew assembleDistribution -x test
Artifacts are output to the distribution/
directory.
More build options: How to build Gravitino
We welcome all kinds of contributions—code, documentation, testing, connectors, and more!
To get started, please read our CONTRIBUTING.md guide.
Apache Gravitino is licensed under the Apache License, Version 2.0.
See the LICENSE file for details.
Apache®, Apache Gravitino™, Apache Hadoop®, Apache Hive™, Apache Iceberg™, Apache Kafka®, Apache Spark™, Apache Submarine™, Apache Thrift™, and Apache Zeppelin™ are trademarks of the Apache Software Foundation in the United States and/or other countries.