Comments (6)
@claesgill - I'm unable to reproduce this error (from VDI) after:
- Giving my user appropriate rights to Docker
- Not using sudo (by starting from scratch and removing old boxes). (Thank you @zhenik )
From what I can gather, this issue can be closed.
from terraform-nomad-trino.
Hey @eivindberg-skd,
I tried recreating this issue, and in my end this works fine. I've used the following commands:
make presto-cli
presto:default> show tables;
presto:default> show catalogs;
Result:
09:29 $ make presto-cli
CID=$(docker run --rm -d --network host consul:1.8 connect proxy -token master -service presto-local -upstream presto:8080)
docker run --rm -it --network host prestosql/presto:341 presto --server localhost:8080 --http-proxy localhost:8080 --catalog hive --schema default --user presto --debug
docker rm -f $CID
Unable to find image 'prestosql/presto:341' locally
341: Pulling from prestosql/presto
75f829a71a1c: Pull complete
826423656c28: Pull complete
adc59b45210d: Pull complete
a1112891496a: Pull complete
Digest: sha256:f89b36ab70e3ca8e19661657759357565e8f98b710bd8d6b9a7e96f03c148d80
Status: Downloaded newer image for prestosql/presto:341
presto:default> show tables;
Table
---------------
flattenedjson
iris
somejson
tweets
(4 rows)
Query 20201105_083041_00010_dvt5u, FINISHED, 2 nodes
http://localhost:8080/ui/query.html?20201105_083041_00010_dvt5u
Splits: 19 total, 19 done (100.00%)
CPU Time: 0.0s total, 129 rows/s, 3.12KB/s, 3% active
Per Node: 0.0 parallelism, 0 rows/s, 24B/s
Parallelism: 0.0
Peak Memory: 0B
2.08 [4 rows, 99B] [1 rows/s, 48B/s]
presto:default> SHOW CATALOGS;
Catalog
---------
hive
jmx
memory
system
tpcds
tpch
(6 rows)
Query 20201105_083215_00011_dvt5u, FINISHED, 1 node
http://localhost:8080/ui/query.html?20201105_083215_00011_dvt5u
Splits: 19 total, 19 done (100.00%)
CPU Time: 0.0s total, 0 rows/s, 0B/s, 5% active
Per Node: 0.0 parallelism, 0 rows/s, 0B/s
Parallelism: 0.0
Peak Memory: 86.4KB
2.40 [0 rows, 0B] [0 rows/s, 0B/s]
presto:default>
Is this still an issue for you, or can we close this issue?
from terraform-nomad-trino.
Docker works differently on mac. Docker runs on mac inside a virtual machine. It brings troubles especially when you want to use --network=host
flag.
We had a discussion about it, but we had not updated Makefiles on all modules.
Discussion Skatteetaten/vagrant-hashistack-template#34 (comment)
PS. Try to avoid using sudo
from terraform-nomad-trino.
Ok, should we update the README with information with a link to how to install the presto cli? Alternatively, I can create an install-presto-cli
method in the Makefile
.
What do you think, @zhenik @eivindberg-skd ?
from terraform-nomad-trino.
Ok, should we update the README with information with a link to how to install the presto cli? Alternatively, I can create an
install-presto-cli
method in theMakefile
.What do you think, @zhenik @eivindberg-skd ?
Previously we had two commands.
- For setup proxy via consul cli
- Run presto cli from localmachine
from terraform-nomad-trino.
@claesgill - I'm unable to reproduce this error (from VDI) after:
- Giving my user appropriate rights to Docker
- Not using sudo (by starting from scratch and removing old boxes). (Thank you @zhenik )
From what I can gather, this issue can be closed.
Closing this issue based of the above comment.
from terraform-nomad-trino.
Related Issues (20)
- Refactor variables and strings containing Presto to Trino
- Connect to other sources HOT 3
- Include updated Consul Connect plugin which enables service-mesh authentication between coordinator and workers
- Release 0.4.0
- Example trino_cluster failes [branch presto-to-trino-include-plugin]
- Bump versions
- Optional use of connector sources
- Migrate to trino HOT 2
- Fix trino_cluster example HOT 1
- Tests should also run when consul_acl & nomad_acl is true
- Add configuration parameters for jvm.config and config.properties
- Add possibility to use a memory connector with trino
- `Plugin exited`/`context canceled` error in pipeline HOT 5
- Toggle use of custom policy for vault provider HOT 1
- Unstable deletion of table in Trino, with underlyting structures in S3/MinIO HOT 4
- Typo i `conf/nomad/trino_standalone.hcl`
- Release 0.4.1
- Move secrets in nomad task to secrets folder
- Could this possibly be split out into a separate file? Will Nomad collate files?
- [Security] Workflow on_pr_push_master.yml is using vulnerable action actions/checkout
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terraform-nomad-trino.