Hello everyone, I am trying to run a quickstart d...
# troubleshoot
m
Hello everyone, I am trying to run a quickstart deploy with a different port for DataHub Web Application (datahub-frontend) because 9002 is already used by another software. Based on the documentation, it seems easy to do for other containers (mysql, zookeeper, kafka broker, schema registry, elasticsearch) by passing flags to the command, and for the GMS service by using an environment variable (DATAHUB_MAPPED_GMS_PORT), but I can't find a way to modify the port for the front end container. I tried this (from a Windows command line) :
Copy code
set DATAHUB_MAPPED_FRONTEND_PORT=9003 && datahub docker quickstart
but i get the error : "error decoding 'Ports': Invalid hostPort". Is there any way to do it ? Thanks.
1
a
Hi, this may be a bug- you should try removing the && from your command though. Let me know how it goes! Also try pinning to
--version=v0.10.0
m
I tried executing the two commands one after the other (setting the environment variable first, and then executing the quickstart) and it worked ! 😄 I don't know why it didn't work with the '&&' though (that's how you are supposed to execute two commands sequentially in Windows command prompt). Anyway, thank you, and if anyone is in charge of the documentation, it would be nice to mention the DATAHUB_MAPPED_FRONTEND_PORT environment variable in the 'Port Conflicts' section of the quick start page.
a
That’s a good note! Thank you 🙂