Hi Team, I'm not able to run controller and server...
# troubleshooting
m
Hi Team, I'm not able to run controller and server of pinot in docker with config file ,i have to read data from s3 for that i have to run server and controller with config file .i'm trying to run the server and controller by using this commands.sudo docker run --rm -ti \ --network=pinot-demo \ --name pinot-controller \ -p 9010:9010 \ -e JAVA_OPTS="-Dplugins.dir=/opt/pinot/plugins -Xms1G -Xmx4G -XX:+UseG1GC -XX:MaxGCPauseMillis=200 -Xloggc:gc-pinot-controller.log" \ -d apachepinot/pinot:latest StartController -configFileName "/home/mahesh/Documents/pinot/s3-pinot/controller.conf" \ -zkAddress pinot-zookeeper:2181
x
You need to mount your local disk t docker container
docker run --rm -ti \ --name pinot-controller \ --network=pinot-demo \ -p 9000:9000 \ --env AWS_ACCESS_KEY_ID=<aws-access-key-id> \ --env AWS_SECRET_ACCESS_KEY=<aws-secret-access-key> \ --mount type=bind,source=/tmp/pinot-s3-docker,target=/tmp \ apachepinot/pinot:0.6.0-SNAPSHOT-ca8545b29-20201105-jdk11 StartController \ -configFileName /tmp/controller.conf
See that -mount option on docker