Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Makefile presto command conflicts #30

Closed
zhenik opened this issue Jun 2, 2020 · 0 comments · Fixed by #31
Closed

Makefile presto command conflicts #30

zhenik opened this issue Jun 2, 2020 · 0 comments · Fixed by #31
Assignees
Labels
bug Something isn't working

Comments

@zhenik
Copy link
Collaborator

zhenik commented Jun 2, 2020

Makefile. Names collision and presto1 does not exist

https://github.com/fredrikhgrelland/data-mesh/blob/master/Makefile#L75-L83

presto: presto presto-service-update

presto:
	NOMAD_ADDR=http://${HOST_DOCKER}:4646 nomad stop -purge presto | true
	sleep 2
	NOMAD_ADDR=http://${HOST_DOCKER}:4646 nomad run nomad-jobs/presto-connect.hcl
	sleep 10
	curl -s -H X-Consul-Token:${CONSUL_MASTER_TOKEN} -X POST -d '{"SourceName": "presto", "DestinationName": "hive-metastore", "SourceType": "consul", "Action": "allow"}' http://127.0.0.1:8500/v1/connect/intentions
	curl -s -H X-Consul-Token:${CONSUL_MASTER_TOKEN} -X POST -d '{"SourceName": "presto", "DestinationName": "minio", "SourceType": "consul", "Action": "allow"}' http://127.0.0.1:8500/v1/connect/intentions

and here https://github.com/fredrikhgrelland/data-mesh/blob/master/Makefile#L203

up: minio hive presto1 example-csv
@zhenik zhenik added the bug Something isn't working label Jun 2, 2020
@zhenik zhenik linked a pull request Jun 2, 2020 that will close this issue
@zhenik zhenik self-assigned this Jun 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant