This is an automated email from the ASF dual-hosted git repository.

roryqi pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/gravitino-playground.git


The following commit(s) were added to refs/heads/main by this push:
     new 11b37bc  [MINOR] Update verstion to 1.2.0 (#153)
11b37bc is described below

commit 11b37bc618763c2f172f6ae997871a067666389f
Author: geyanggang <[email protected]>
AuthorDate: Mon Mar 16 17:35:04 2026 +0800

    [MINOR] Update verstion to 1.2.0 (#153)
    
    ### What changes were proposed in this pull request?
    
    Update verstion to 1.2.0
    
    ### Why are the changes needed?
    
    Update the version to 1.2.0
    
    ### Does this PR introduce _any_ user-facing change?
    
    No need.
    
    ### How was this patch tested?
    
    No.
---
 .env                                         | 8 ++++----
 README.md                                    | 9 ++++++---
 init/jupyter/gravitino-fileset-example.ipynb | 2 +-
 init/jupyter/gravitino_llamaIndex_demo.ipynb | 3 +--
 init/spark/init.sh                           | 2 +-
 5 files changed, 13 insertions(+), 11 deletions(-)

diff --git a/.env b/.env
index ad37e53..ab8d150 100644
--- a/.env
+++ b/.env
@@ -1,8 +1,8 @@
 # Image tags for the docker-compose file
 HIVE_IMAGE_TAG=hive-0.1.15
 RANGER_IMAGE_TAG=ranger-0.1.0
-GRAVITINO_IMAGE_TAG=1.1.0
-TRINO_IMAGE_TAG=trino-435-gravitino-1.1.0
+GRAVITINO_IMAGE_TAG=1.2.0
+TRINO_IMAGE_TAG=trino-478-gravitino-1.2.0
 POSTGRESQL_IMAGE_TAG=13
 MYSQL_IMAGE_TAG=8.0
 SPARK_IMAGE_TAG=3.4.1-scala2.12-java11-ubuntu
@@ -11,6 +11,6 @@ PROMETHEUS_IMAGE_TAG=v2.55.0
 GRAFANA_IMAGE_TAG=11.3.0-ubuntu
 
 # Gravitino jars for containers
-SPARK_CONNECTOR_JAR=gravitino-spark-connector-runtime-3.4_2.12-1.1.0.jar
+SPARK_CONNECTOR_JAR=gravitino-spark-connector-runtime-3.4_2.12-1.2.0.jar
 
-GRAVITINO_VERSION=1.1.0
+GRAVITINO_VERSION=1.2.0
diff --git a/README.md b/README.md
index 5627db0..3ab072a 100644
--- a/README.md
+++ b/README.md
@@ -374,8 +374,8 @@ curl -X POST -H "Accept: application/vnd.gravitino.v1+json" 
\
 # Set manager as owner of the metalake
 curl -X PUT -H "Accept: application/vnd.gravitino.v1+json" \
   -H "Content-Type: application/json" \
-  -d '{"name":"manager"}' \
-  http://localhost:8090/api/metalakes/metalake_demo/owners
+  -d '{"name":"manager","type":"USER"}' \
+  
http://localhost:8090/api/metalakes/metalake_demo/owners/metalake/metalake_demo
 ```
 
 **Step 3: Create Database and Table with Manager**
@@ -440,6 +440,7 @@ Exit spark-sql and create a role with the necessary 
privileges:
 # Create role with all required privileges
 curl -X POST -H "Accept: application/vnd.gravitino.v1+json" \
   -H "Content-Type: application/json" \
+  -u manager:123 \
   -d '{
     "name": "analyst_role",
     "securableObjects": [
@@ -470,7 +471,9 @@ curl -X POST -H "Accept: application/vnd.gravitino.v1+json" 
\
 
 # Assign role to user
 curl -X PUT -H "Accept: application/vnd.gravitino.v1+json" \
-  -H "Content-Type: application/json" -d '{
+  -H "Content-Type: application/json" \
+  -u manager:123 \
+  -d '{
     "roleNames": ["analyst_role"]
 }' 
http://localhost:8090/api/metalakes/metalake_demo/permissions/users/data_analyst/grant
 ```
diff --git a/init/jupyter/gravitino-fileset-example.ipynb 
b/init/jupyter/gravitino-fileset-example.ipynb
index 7c00543..55a8da1 100644
--- a/init/jupyter/gravitino-fileset-example.ipynb
+++ b/init/jupyter/gravitino-fileset-example.ipynb
@@ -35,7 +35,7 @@
    "id": "fcfb73be-e369-4543-b78d-fb1cd061c9e1",
    "metadata": {},
    "outputs": [],
-   "source": "pip install apache-gravitino==1.1.0"
+   "source": "pip install apache-gravitino==1.2.0"
   },
   {
    "cell_type": "code",
diff --git a/init/jupyter/gravitino_llamaIndex_demo.ipynb 
b/init/jupyter/gravitino_llamaIndex_demo.ipynb
index a50d261..6400641 100644
--- a/init/jupyter/gravitino_llamaIndex_demo.ipynb
+++ b/init/jupyter/gravitino_llamaIndex_demo.ipynb
@@ -54,8 +54,7 @@
     "%pip install llama-index-readers-wikipedia\n",
     "%pip install llama-index-llms-openai\n",
     "%pip install llama-index\n",
-    "%pip install \"setuptools<61.0\"\n",
-    "%pip install apache-gravitino==1.1.0\n",
+    "%pip install apache-gravitino==1.2.0\n",
     "%pip install sqlalchemy-trino"
    ]
   },
diff --git a/init/spark/init.sh b/init/spark/init.sh
index 3d62689..1a36307 100644
--- a/init/spark/init.sh
+++ b/init/spark/init.sh
@@ -20,7 +20,7 @@ mkdir -p /opt/spark/conf
 cp /tmp/spark/spark-defaults.conf /opt/spark/conf
 cp /tmp/spark/spark-env.sh /opt/spark/conf
 
-cp /tmp/spark/packages/iceberg-spark-runtime-3.4_2.12-1.5.2.jar 
/opt/spark/jars/iceberg-spark-runtime-3.4_2.12-1.5.2.jar
+cp /tmp/spark/packages/iceberg-spark-runtime-3.4_2.12-1.10.0.jar 
/opt/spark/jars/iceberg-spark-runtime-3.4_2.12-1.10.0.jar
 cp /tmp/spark/packages/${SPARK_CONNECTOR_JAR} 
/opt/spark/jars/${SPARK_CONNECTOR_JAR}
 cp /tmp/spark/packages/mysql-connector-java-8.0.27.jar 
/opt/spark/jars/mysql-connector-java-8.0.27.jar
 cp /tmp/spark/packages/kyuubi-spark-authz-shaded_2.12-1.9.2.jar 
/opt/spark/jars/kyuubi-spark-authz-shaded_2.12-1.9.2.jar

Reply via email to