From d78c6ea92dab1c46a30f9bcd0737b6a80975be86 Mon Sep 17 00:00:00 2001 From: kev Date: Sun, 16 Jun 2019 18:45:52 +0800 Subject: [PATCH] fix presto config --- presto/README.md | 2 +- presto/conf/coordinator/config.properties | 1 + presto/conf/worker1/config.properties | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/presto/README.md b/presto/README.md index 162e289..7b3f79b 100644 --- a/presto/README.md +++ b/presto/README.md @@ -28,7 +28,7 @@ $ docker-compose exec presto presto --server localhost:8080 --catalog tpch >>> select * from tiny.customer limit 10; >>> quit -$ curl http://localhost:8080/ +$ curl http://localhost:8080/v1/service/presto/general ``` [1]: https://prestodb.io/ diff --git a/presto/conf/coordinator/config.properties b/presto/conf/coordinator/config.properties index 9eebdb0..d2a64f4 100644 --- a/presto/conf/coordinator/config.properties +++ b/presto/conf/coordinator/config.properties @@ -6,3 +6,4 @@ query.max-memory-per-node=1GB query.max-total-memory-per-node=2GB discovery-server.enabled=true discovery.uri=http://127.0.0.1:8080 +node.external-address=coordinator diff --git a/presto/conf/worker1/config.properties b/presto/conf/worker1/config.properties index a608438..67ac64f 100644 --- a/presto/conf/worker1/config.properties +++ b/presto/conf/worker1/config.properties @@ -4,3 +4,4 @@ query.max-memory=50GB query.max-memory-per-node=1GB query.max-total-memory-per-node=2GB discovery.uri=http://coordinator:8080 +node.external-address=worker1