You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2018/10/20 21:16:50 UTC

[GitHub] gianm commented on a change in pull request #6497: include mysql-metadata-storage extension in distribution, but without…

gianm commented on a change in pull request #6497: include mysql-metadata-storage extension in distribution, but without…
URL: https://github.com/apache/incubator-druid/pull/6497#discussion_r226840567
 
 

 ##########
 File path: integration-tests/docker/Dockerfile
 ##########
 @@ -25,6 +25,11 @@ RUN find /var/lib/mysql -type f -exec touch {} \; && /etc/init.d/mysql start \
 # Add Druid jars
 ADD lib/* /usr/local/druid/lib/
 
+# Download the MySQL Java connector
+ENV DEBIAN_FRONTEND=noninteractive
+RUN apt-get update && apt-get install -y --no-install-recommends apt-utils libmysql-java
+RUN ln -sf /usr/share/java/mysql-connector-java.jar /usr/local/druid/lib/mysql-connector-java.jar
 
 Review comment:
   I'm not sure if this is cool or not, but it seems maybe cool, on the grounds that we are not distributing the integration test docker image containing the mysql jar (it is a transient artifact generated during the running of the integration tests). I say we go with it for now at least, and focus on trying to make sure the release artifacts are done properly. In the long run we might want to switch the ITs to use derby or postgresql to avoid any whiff of complication.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org