mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
Updated Run Presto on SeaweedFS (markdown)
parent
4b0a0375c2
commit
f5b004781b
|
@ -88,4 +88,47 @@ hive.allow-drop-table=true
|
|||
hive.max-partitions-per-scan=1000000
|
||||
hive.compression-codec=NONE
|
||||
hive.config.resources=/opt/presto-server-347/etc/catalog/core-site.xml
|
||||
```
|
||||
```
|
||||
|
||||
# Using Examples
|
||||
1. Connect to Presto and create a table boshen
|
||||
```
|
||||
[root@cluster9 ~]# ./presto --server 10.0.100.51:42174 --catalog hive --schema default
|
||||
presto:default> create table boshen(name varchar);
|
||||
CREATE TABLE
|
||||
presto:default>
|
||||
```
|
||||
2. Query whether the boshen directory has been generated in 10.0.10.51:30888/presto/warehouse
|
||||
```
|
||||
[root@cluster9 ~]# curl -H "Accept: application/json" http://10.0.100.51:30888/presto/warehouse/?pretty=y
|
||||
{
|
||||
"Path": "presto/warehouse",
|
||||
"Entries": [
|
||||
{
|
||||
"FullPath": "/presto/warehouse/boshen",
|
||||
"Mtime": "2020-12-02T20:29:08+08:00",
|
||||
"Crtime": "2020-12-02T20:29:08+08:00",
|
||||
"Mode": 2147484159,
|
||||
"Uid": 0,
|
||||
"Gid": 0,
|
||||
"Mime": "",
|
||||
"Replication": "",
|
||||
"Collection": "",
|
||||
"TtlSec": 0,
|
||||
"UserName": "root",
|
||||
"GroupNames": [
|
||||
"root"
|
||||
],
|
||||
"SymlinkTarget": "",
|
||||
"Md5": null,
|
||||
"FileSize": 0,
|
||||
"Extended": null,
|
||||
"HardLinkId": null,
|
||||
"HardLinkCounter": 0
|
||||
}
|
||||
],
|
||||
"Limit": 100,
|
||||
"LastFileName": "boshen",
|
||||
"ShouldDisplayLoadMore": false
|
||||
}
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue