mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-22 05:54:24 +02:00
rename Presto guide to Trino (Run-Trino-on-SeaweedFS)
1 parent
8bb90fe474
commit
9735bd4940
2 files changed
+7
-8
No files matched your search
@@ -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:
|
||||
+1
-1
@@ -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]]
|
||||
|
||||
|
||||
Reference in new issue
Block a user