Skip to content

Commit f0f54c6

Browse files
authored
[#7305] improve: Change the version from 0.10.0 to 1.0.0 (#7326)
### What changes were proposed in this pull request? Change the version to 1.0.0 as the next major release. ### Why are the changes needed? Fix: #7305 ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Using existing tests to verify.
1 parent 74c63f8 commit f0f54c6

File tree

17 files changed

+96
-96
lines changed

17 files changed

+96
-96
lines changed

catalogs/catalog-lakehouse-hudi/src/main/java/org/apache/gravitino/catalog/lakehouse/hudi/backend/hms/kerberos/AuthenticationConfig.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,14 @@ public AuthenticationConfig(java.util.Map<String, String> properties) {
4747
new ConfigBuilder(AUTH_TYPE_KEY)
4848
.doc(
4949
"The type of authentication for Hudi catalog, currently we only support simple and Kerberos")
50-
.version(ConfigConstants.VERSION_0_10_0)
50+
.version(ConfigConstants.VERSION_1_0_0)
5151
.stringConf()
5252
.createWithDefault("simple");
5353

5454
public static final ConfigEntry<Boolean> ENABLE_IMPERSONATION_ENTRY =
5555
new ConfigBuilder(IMPERSONATION_ENABLE_KEY)
5656
.doc("Whether to enable impersonation for the Hudi catalog")
57-
.version(ConfigConstants.VERSION_0_10_0)
57+
.version(ConfigConstants.VERSION_1_0_0)
5858
.booleanConf()
5959
.createWithDefault(KERBEROS_DEFAULT_IMPERSONATION_ENABLE);
6060

catalogs/catalog-lakehouse-hudi/src/main/java/org/apache/gravitino/catalog/lakehouse/hudi/backend/hms/kerberos/KerberosConfig.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,31 +38,31 @@ public class KerberosConfig extends AuthenticationConfig {
3838
public static final ConfigEntry<String> PRINCIPAL_ENTRY =
3939
new ConfigBuilder(PRINCIPAL_KEY)
4040
.doc("The principal of the Kerberos connection")
41-
.version(ConfigConstants.VERSION_0_10_0)
41+
.version(ConfigConstants.VERSION_1_0_0)
4242
.stringConf()
4343
.checkValue(StringUtils::isNotBlank, ConfigConstants.NOT_BLANK_ERROR_MSG)
4444
.create();
4545

4646
public static final ConfigEntry<String> KEYTAB_ENTRY =
4747
new ConfigBuilder(KEY_TAB_URI_KEY)
4848
.doc("The keytab of the Kerberos connection")
49-
.version(ConfigConstants.VERSION_0_10_0)
49+
.version(ConfigConstants.VERSION_1_0_0)
5050
.stringConf()
5151
.checkValue(StringUtils::isNotBlank, ConfigConstants.NOT_BLANK_ERROR_MSG)
5252
.create();
5353

5454
public static final ConfigEntry<Integer> CHECK_INTERVAL_SEC_ENTRY =
5555
new ConfigBuilder(CHECK_INTERVAL_SEC_KEY)
5656
.doc("The check interval of the Kerberos connection for Hudi catalog")
57-
.version(ConfigConstants.VERSION_0_10_0)
57+
.version(ConfigConstants.VERSION_1_0_0)
5858
.intConf()
5959
.checkValue(value -> value > 0, ConfigConstants.POSITIVE_NUMBER_ERROR_MSG)
6060
.createWithDefault(60);
6161

6262
public static final ConfigEntry<Integer> FETCH_TIMEOUT_SEC_ENTRY =
6363
new ConfigBuilder(FETCH_TIMEOUT_SEC_KEY)
6464
.doc("The fetch timeout of the Kerberos connection")
65-
.version(ConfigConstants.VERSION_0_10_0)
65+
.version(ConfigConstants.VERSION_1_0_0)
6666
.intConf()
6767
.checkValue(value -> value > 0, ConfigConstants.POSITIVE_NUMBER_ERROR_MSG)
6868
.createWithDefault(60);

clients/client-python/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
setup(
2828
name="apache-gravitino",
2929
description="Python lib/client for Apache Gravitino",
30-
version="0.10.0.dev0",
30+
version="1.0.0.dev0",
3131
long_description=long_description,
3232
long_description_content_type="text/markdown",
3333
author="Apache Software Foundation",

clients/filesystem-fuse/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
[package]
1919
name = "filesystem-fuse"
20-
version = "0.10.0-SNAPSHOT"
20+
version = "1.0.0-SNAPSHOT"
2121
rust-version = "1.75"
2222
edition = "2021"
2323

core/src/main/java/org/apache/gravitino/Configs.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -348,15 +348,15 @@ private Configs() {}
348348
public static final ConfigEntry<Boolean> CACHE_ENABLED =
349349
new ConfigBuilder("gravitino.cache.enabled")
350350
.doc("Whether to enable cache store.")
351-
.version(ConfigConstants.VERSION_0_10_0)
351+
.version(ConfigConstants.VERSION_1_0_0)
352352
.booleanConf()
353353
.createWithDefault(true);
354354

355355
// Maximum number of entries in the cache
356356
public static final ConfigEntry<Integer> CACHE_MAX_ENTRIES =
357357
new ConfigBuilder("gravitino.cache.maxEntries")
358358
.doc("Maximum number of entries allowed in the cache.")
359-
.version(ConfigConstants.VERSION_0_10_0)
359+
.version(ConfigConstants.VERSION_1_0_0)
360360
.intConf()
361361
.checkValue(value -> value > 0, ConfigConstants.POSITIVE_NUMBER_ERROR_MSG)
362362
.createWithDefault(10_000);
@@ -366,7 +366,7 @@ private Configs() {}
366366
new ConfigBuilder("gravitino.cache.expireTimeInMs")
367367
.doc(
368368
"Time in milliseconds after which a cache entry expires. Default is 3,600,000 ms (1 hour).")
369-
.version(ConfigConstants.VERSION_0_10_0)
369+
.version(ConfigConstants.VERSION_1_0_0)
370370
.longConf()
371371
.checkValue(value -> value >= 0, ConfigConstants.POSITIVE_NUMBER_ERROR_MSG)
372372
.createWithDefault(3_600_000L);
@@ -376,7 +376,7 @@ private Configs() {}
376376
new ConfigBuilder("gravitino.cache.enableStats")
377377
.doc(
378378
"Whether to enable cache statistics logging such as hit/miss count, load failures, and size.")
379-
.version(ConfigConstants.VERSION_0_10_0)
379+
.version(ConfigConstants.VERSION_1_0_0)
380380
.booleanConf()
381381
.createWithDefault(false);
382382

@@ -386,7 +386,7 @@ private Configs() {}
386386
.doc(
387387
"Whether to enable weighted cache eviction. "
388388
+ "Entries are evicted based on weight instead of count.")
389-
.version(ConfigConstants.VERSION_0_10_0)
389+
.version(ConfigConstants.VERSION_1_0_0)
390390
.booleanConf()
391391
.createWithDefault(true);
392392
}

core/src/main/java/org/apache/gravitino/config/ConfigConstants.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ private ConfigConstants() {}
7474
/** The version number for the 0.9.0 release. */
7575
public static final String VERSION_0_9_0 = "0.9.0";
7676

77-
/** The version number for the 0.10.0 release. */
78-
public static final String VERSION_0_10_0 = "0.10.0";
77+
/** The version number for the 1.0.0 release. */
78+
public static final String VERSION_1_0_0 = "1.0.0";
7979

8080
/** The current version of backend storage initialization script. */
8181
public static final String CURRENT_SCRIPT_VERSION = VERSION_0_9_0;

dev/charts/gravitino-iceberg-rest-server/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,5 @@ sources:
4141
- https://github.com/apache/gravitino
4242
- https://github.com/apache/gravitino/tree/main/dev/charts/gravitino-iceberg-rest-server
4343

44-
appVersion: 0.10.0-SNAPSHOT
45-
version: 0.10.1
44+
appVersion: 1.0.0-SNAPSHOT
45+
version: 1.0.0

dev/charts/gravitino-iceberg-rest-server/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ replicas: 1
2121

2222
image:
2323
repository: apache/gravitino-iceberg-rest
24-
tag: latest
24+
tag: 1.0.0-SNAPSHOT
2525
pullPolicy: IfNotPresent
2626
## Optionally specify an array of pullSecrets (secrets must be manually created in the namespace)
2727
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/

dev/charts/gravitino/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# under the License.
1818
#
1919
apiVersion: v2
20-
appVersion: 0.10.0-SNAPSHOT
20+
appVersion: 1.0.0-SNAPSHOT
2121
description: Apache Gravitino is a high-performance, geo-distributed, and federated metadata lake. It manages the metadata directly in different sources, types, and regions. It also provides users with unified metadata access for data and AI assets.
2222
home: https://gravitino.apache.org
2323
annotations:
@@ -35,4 +35,4 @@ maintainers:
3535
name: gravitino
3636
sources:
3737
- https://github.com/apache/gravitino
38-
version: 0.10.2
38+
version: 1.0.0

dev/charts/gravitino/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
image:
2121
repository: apache/gravitino
22-
tag: 0.10.0-SNAPSHOT
22+
tag: 1.0.0-SNAPSHOT
2323
pullPolicy: IfNotPresent
2424
## Optionally specify an array of pullSecrets (secrets must be manually created in the namespace)
2525
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/

docs/gravitino-server-config.md

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -271,36 +271,36 @@ This is done using a startup script that parses environment variables prefixed w
271271

272272
These variables override the corresponding entries in `gravitino.conf` at startup.
273273

274-
| Environment Variable | Configuration Key | Default Value | Since Version |
275-
|---------------------------------------------------------------|----------------------------------------------------------|------------------------------------------------------------|------------------------|
276-
| `GRAVITINO_SERVER_SHUTDOWN_TIMEOUT` | `gravitino.server.shutdown.timeout` | `3000` | 0.10.0-incubating |
277-
| `GRAVITINO_SERVER_WEBSERVER_HOST` | `gravitino.server.webserver.host` | `0.0.0.0` | 0.10.0-incubating |
278-
| `GRAVITINO_SERVER_WEBSERVER_HTTP_PORT` | `gravitino.server.webserver.httpPort` | `8090` | 0.10.0-incubating |
279-
| `GRAVITINO_SERVER_WEBSERVER_MIN_THREADS` | `gravitino.server.webserver.minThreads` | `24` | 0.10.0-incubating |
280-
| `GRAVITINO_SERVER_WEBSERVER_MAX_THREADS` | `gravitino.server.webserver.maxThreads` | `200` | 0.10.0-incubating |
281-
| `GRAVITINO_SERVER_WEBSERVER_STOP_TIMEOUT` | `gravitino.server.webserver.stopTimeout` | `30000` | 0.10.0-incubating |
282-
| `GRAVITINO_SERVER_WEBSERVER_IDLE_TIMEOUT` | `gravitino.server.webserver.idleTimeout` | `30000` | 0.10.0-incubating |
283-
| `GRAVITINO_SERVER_WEBSERVER_THREAD_POOL_WORK_QUEUE_SIZE` | `gravitino.server.webserver.threadPoolWorkQueueSize` | `100` | 0.10.0-incubating |
284-
| `GRAVITINO_SERVER_WEBSERVER_REQUEST_HEADER_SIZE` | `gravitino.server.webserver.requestHeaderSize` | `131072` | 0.10.0-incubating |
285-
| `GRAVITINO_SERVER_WEBSERVER_RESPONSE_HEADER_SIZE` | `gravitino.server.webserver.responseHeaderSize` | `131072` | 0.10.0-incubating |
286-
| `GRAVITINO_ENTITY_STORE` | `gravitino.entity.store` | `relational` | 0.10.0-incubating |
287-
| `GRAVITINO_ENTITY_STORE_RELATIONAL` | `gravitino.entity.store.relational` | `JDBCBackend` | 0.10.0-incubating |
288-
| `GRAVITINO_ENTITY_STORE_RELATIONAL_JDBC_URL` | `gravitino.entity.store.relational.jdbcUrl` | `jdbc:h2` | 0.10.0-incubating |
289-
| `GRAVITINO_ENTITY_STORE_RELATIONAL_JDBC_DRIVER` | `gravitino.entity.store.relational.jdbcDriver` | `org.h2.Driver` | 0.10.0-incubating |
290-
| `GRAVITINO_ENTITY_STORE_RELATIONAL_JDBC_USER` | `gravitino.entity.store.relational.jdbcUser` | `gravitino` | 0.10.0-incubating |
291-
| `GRAVITINO_ENTITY_STORE_RELATIONAL_JDBC_PASSWORD` | `gravitino.entity.store.relational.jdbcPassword` | `gravitino` | 0.10.0-incubating |
292-
| `GRAVITINO_CATALOG_CACHE_EVICTION_INTERVAL_MS` | `gravitino.catalog.cache.evictionIntervalMs` | `3600000` | 0.10.0-incubating |
293-
| `GRAVITINO_AUTHORIZATION_ENABLE` | `gravitino.authorization.enable` | `false` | 0.10.0-incubating |
294-
| `GRAVITINO_AUTHORIZATION_SERVICE_ADMINS` | `gravitino.authorization.serviceAdmins` | `anonymous` | 0.10.0-incubating |
295-
| `GRAVITINO_AUX_SERVICE_NAMES` | `gravitino.auxService.names` | `iceberg-rest` | 0.10.0-incubating |
296-
| `GRAVITINO_ICEBERG_REST_CLASSPATH` | `gravitino.iceberg-rest.classpath` | `iceberg-rest-server/libs, iceberg-rest-server/conf` | 0.10.0-incubating |
297-
| `GRAVITINO_ICEBERG_REST_HOST` | `gravitino.iceberg-rest.host` | `0.0.0.0` | 0.10.0-incubating |
298-
| `GRAVITINO_ICEBERG_REST_HTTP_PORT` | `gravitino.iceberg-rest.httpPort` | `9001` | 0.10.0-incubating |
299-
| `GRAVITINO_ICEBERG_REST_CATALOG_BACKEND` | `gravitino.iceberg-rest.catalog-backend` | `memory` | 0.10.0-incubating |
300-
| `GRAVITINO_ICEBERG_REST_WAREHOUSE` | `gravitino.iceberg-rest.warehouse` | `/tmp/` | 0.10.0-incubating |
274+
| Environment Variable | Configuration Key | Default Value | Since Version |
275+
|---------------------------------------------------------------|----------------------------------------------------------|----------------------------------------------------------|---------------|
276+
| `GRAVITINO_SERVER_SHUTDOWN_TIMEOUT` | `gravitino.server.shutdown.timeout` | `3000` | 1.0.0 |
277+
| `GRAVITINO_SERVER_WEBSERVER_HOST` | `gravitino.server.webserver.host` | `0.0.0.0` | 1.0.0 |
278+
| `GRAVITINO_SERVER_WEBSERVER_HTTP_PORT` | `gravitino.server.webserver.httpPort` | `8090` | 1.0.0 |
279+
| `GRAVITINO_SERVER_WEBSERVER_MIN_THREADS` | `gravitino.server.webserver.minThreads` | `24` | 1.0.0 |
280+
| `GRAVITINO_SERVER_WEBSERVER_MAX_THREADS` | `gravitino.server.webserver.maxThreads` | `200` | 1.0.0 |
281+
| `GRAVITINO_SERVER_WEBSERVER_STOP_TIMEOUT` | `gravitino.server.webserver.stopTimeout` | `30000` | 1.0.0 |
282+
| `GRAVITINO_SERVER_WEBSERVER_IDLE_TIMEOUT` | `gravitino.server.webserver.idleTimeout` | `30000` | 1.0.0 |
283+
| `GRAVITINO_SERVER_WEBSERVER_THREAD_POOL_WORK_QUEUE_SIZE` | `gravitino.server.webserver.threadPoolWorkQueueSize` | `100` | 1.0.0 |
284+
| `GRAVITINO_SERVER_WEBSERVER_REQUEST_HEADER_SIZE` | `gravitino.server.webserver.requestHeaderSize` | `131072` | 1.0.0 |
285+
| `GRAVITINO_SERVER_WEBSERVER_RESPONSE_HEADER_SIZE` | `gravitino.server.webserver.responseHeaderSize` | `131072` | 1.0.0 |
286+
| `GRAVITINO_ENTITY_STORE` | `gravitino.entity.store` | `relational` | 1.0.0 |
287+
| `GRAVITINO_ENTITY_STORE_RELATIONAL` | `gravitino.entity.store.relational` | `JDBCBackend` | 1.0.0 |
288+
| `GRAVITINO_ENTITY_STORE_RELATIONAL_JDBC_URL` | `gravitino.entity.store.relational.jdbcUrl` | `jdbc:h2` | 1.0.0 |
289+
| `GRAVITINO_ENTITY_STORE_RELATIONAL_JDBC_DRIVER` | `gravitino.entity.store.relational.jdbcDriver` | `org.h2.Driver` | 1.0.0 |
290+
| `GRAVITINO_ENTITY_STORE_RELATIONAL_JDBC_USER` | `gravitino.entity.store.relational.jdbcUser` | `gravitino` | 1.0.0 |
291+
| `GRAVITINO_ENTITY_STORE_RELATIONAL_JDBC_PASSWORD` | `gravitino.entity.store.relational.jdbcPassword` | `gravitino` | 1.0.0 |
292+
| `GRAVITINO_CATALOG_CACHE_EVICTION_INTERVAL_MS` | `gravitino.catalog.cache.evictionIntervalMs` | `3600000` | 1.0.0 |
293+
| `GRAVITINO_AUTHORIZATION_ENABLE` | `gravitino.authorization.enable` | `false` | 1.0.0 |
294+
| `GRAVITINO_AUTHORIZATION_SERVICE_ADMINS` | `gravitino.authorization.serviceAdmins` | `anonymous` | 1.0.0 |
295+
| `GRAVITINO_AUX_SERVICE_NAMES` | `gravitino.auxService.names` | `iceberg-rest` | 1.0.0 |
296+
| `GRAVITINO_ICEBERG_REST_CLASSPATH` | `gravitino.iceberg-rest.classpath` | `iceberg-rest-server/libs, iceberg-rest-server/conf` | 1.0.0 |
297+
| `GRAVITINO_ICEBERG_REST_HOST` | `gravitino.iceberg-rest.host` | `0.0.0.0` | 1.0.0 |
298+
| `GRAVITINO_ICEBERG_REST_HTTP_PORT` | `gravitino.iceberg-rest.httpPort` | `9001` | 1.0.0 |
299+
| `GRAVITINO_ICEBERG_REST_CATALOG_BACKEND` | `gravitino.iceberg-rest.catalog-backend` | `memory` | 1.0.0 |
300+
| `GRAVITINO_ICEBERG_REST_WAREHOUSE` | `gravitino.iceberg-rest.warehouse` | `/tmp/` | 1.0.0 |
301301

302302
:::note
303-
This feature is supported in the Gravitino Docker image starting from version `0.10.0-incubating`.
303+
This feature is supported in the Gravitino Docker image starting from version `1.0.0`.
304304
:::
305305

306306
Usage Example:
@@ -340,7 +340,7 @@ If both `gravitino.conf` and environment variable exist, the container’s start
340340
The Gravitino server supports configuring runtime environment variables in two ways:
341341

342342
1. **Local deployment:** Modify `gravitino-env.sh` located in the `conf` directory.
343-
2. **Docker container deployment:** Use environment variable injection during container startup. *(Since 0.10.0-incubating)*
343+
2. **Docker container deployment:** Use environment variable injection during container startup. *(Since 1.0.0)*
344344

345345
### How to access Apache Hadoop
346346

0 commit comments

Comments
 (0)