himanshug commented on a change in pull request #8244: Update docker build
URL: https://github.com/apache/incubator-druid/pull/8244#discussion_r311182991
##########
File path: distribution/docker/druid.sh
##########
@@ -45,45 +45,56 @@ echo "$(date -Is) startup service $SERVICE"
# We put all the config in /tmp/conf to allow for a
# read-only root filesystem
-cp -r /opt/druid/conf /tmp/conf
+mkdir -p /tmp/conf/
+cp -r /opt/druid/conf/druid /tmp/conf/druid
+
+getConfPath() {
+ cluster_conf_base=/tmp/conf/druid/cluster
+ case "$1" in
+ _common) echo $cluster_conf_base/_common ;;
+ historical) echo $cluster_conf_base/data/historical ;;
+ middleManager) echo $cluster_conf_base/data/middleManager ;;
+ coordinator | overlord) echo
$cluster_conf_base/master/coordinator-overlord ;;
Review comment:
@ilhanadiyaman please confirm if you think above makes or does not make
sense.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]