i’m trying to run the presto coordinator for `pino...
# troubleshooting
x
i’m trying to run the presto coordinator for
pinot-quickstart
with extra configuration (https://docs.pinot.apache.org/integrations/presto#using-pinot-streaming-grpc-connector)
Copy code
docker run   \
--network pinot-demo   \
--name=presto-coordinator   \
-p 8080:8080   \
--mount type=bind,source=$SOURCE_DIR,target=/home/presto/data -d \
apachepinot/pinot-presto:latest
but it doesn’t seem like i’m allowed to do so? https://github.com/apache/pinot/blob/master/docker/images/pinot-presto/Dockerfile#L55 i’m not very proficient with docker, can someone suggest how i can override the volume?
k
@Xiang Fu ^^
x
you can put your configs into a directory then mount that directory to your docker container then presto can load the configs from that directory
The config volume is at
/home/presto/etc
here are all the files we copied to the docker image as default : https://github.com/apache/pinot/tree/master/docker/images/pinot-presto/etc
x
if i try mounting my host directory into the docker container, i get this:
Copy code
$ docker run   \
--network pinot-demo   \
--name=presto-coordinator   \
-p 8080:8080   \
--mount type=bind,source=$SOURCE_DIR,target=/home/presto/data -d \
apachepinot/pinot-presto:latest

$ docker logs -f presto-coordinator                                                
ERROR: Path exists and is not a symlink: /home/presto/data/etc
sorry, this was a typo on my part. thanks @Xiang Fu