From 9735bd494072729f869267cedc410cd3f82fee58 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Wed, 8 Jul 2026 01:18:30 -0700 Subject: [PATCH] rename Presto guide to Trino (Run-Trino-on-SeaweedFS) --- ...sto-on-SeaweedFS.md => Run-Trino-on-SeaweedFS.md | 13 ++++++------- _Sidebar.md | 2 +- 2 files changed, 7 insertions(+), 8 deletions(-) rename Run-Presto-on-SeaweedFS.md => Run-Trino-on-SeaweedFS.md (91%) diff --git a/Run-Presto-on-SeaweedFS.md b/Run-Trino-on-SeaweedFS.md similarity index 91% rename from Run-Presto-on-SeaweedFS.md rename to Run-Trino-on-SeaweedFS.md index 2890afb..9087d3f 100644 --- a/Run-Presto-on-SeaweedFS.md +++ b/Run-Trino-on-SeaweedFS.md @@ -1,8 +1,7 @@ -# Run Trino (Presto) on SeaweedFS +# Run Trino on SeaweedFS -Trino (the maintained successor to PrestoDB / PrestoSQL) queries data stored on -SeaweedFS through its Hive connector. These steps replace the older PrestoDB 347 -instructions. The mechanism changed in current Trino: the `hive-hadoop2` +Trino (the maintained successor to Presto) queries data stored on +SeaweedFS through its Hive connector. The mechanism changed in current Trino: the `hive-hadoop2` connector was renamed to `hive`, and the Hadoop FileSystem path is now opt-in through `fs.hadoop.enabled`. @@ -87,7 +86,7 @@ cp seaweedfs-hadoop3-client-4.38.jar /opt/trino/plugin/hive/hdfs/ ``` connector.name=hive hive.metastore=file -hive.metastore.catalog.dir=seaweedfs://localhost:8888/presto/warehouse +hive.metastore.catalog.dir=seaweedfs://localhost:8888/trino/warehouse fs.hadoop.enabled=true hive.config.resources=/opt/trino/etc/catalog/core-site.xml ``` @@ -95,7 +94,7 @@ hive.config.resources=/opt/trino/etc/catalog/core-site.xml `fs.hadoop.enabled=true` is required: current Trino uses native object-storage filesystems by default and only loads a Hadoop FileSystem implementation (SeaweedFS's) when this is set. The file metastore creates -`seaweedfs://localhost:8888/presto/warehouse` on demand, so no directory needs +`seaweedfs://localhost:8888/trino/warehouse` on demand, so no directory needs to be precreated. ## B. S3 gateway with native S3 @@ -168,7 +167,7 @@ The table is stored as ORC under the metastore catalog directory. HCFS - list the table directory on the filer: ``` curl -H "Accept: application/json" \ - http://localhost:8888/presto/warehouse/demo/boshen/ + http://localhost:8888/trino/warehouse/demo/boshen/ ``` S3 - list the bucket: diff --git a/_Sidebar.md b/_Sidebar.md index 4d073b0..0395035 100644 --- a/_Sidebar.md +++ b/_Sidebar.md @@ -150,7 +150,7 @@ * [[Hadoop Compatible File System]] * [[run Spark on SeaweedFS]] * [[run HBase on SeaweedFS]] -* [[run Presto on SeaweedFS]] +* [[Run Trino on SeaweedFS]] * [[Hadoop Benchmark]] * [[HDFS via S3 connector]]