You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by GitBox <gi...@apache.org> on 2018/07/10 23:27:06 UTC

[GitHub] paul-rogers commented on issue #1348: DRILL-6346: Create an Official Drill Docker Container

paul-rogers commented on issue #1348: DRILL-6346: Create an Official Drill Docker Container
URL: https://github.com/apache/drill/pull/1348#issuecomment-403997092
 
 
   Another thought, FWIW. The container offered here is for the embedded Drillbit. A previous comment suggested it would be handy to run an actual Drill server (Drillbit). It would be further handy to run a Sqlline that connects to a remote Drillbit.
   
   These can be done by creating a `start.sh` or `entrypoint.sh` script in the container that parses arguments, then does what is requested. For example:
   
   ```
   start.sh [drillbit|embedded|sqlline] <arg> ...
   ```
   
   Then, have `start.sh` do a switch on the first arg (with a pattern that accepts d*, e* or s*) and passes the args to that process. (For Sqlline, we need the JDBC arguments.)
   
   Might be helpful to see the Kubernetes Dockerfile provided with the Spark 2.3/2.4 release since they had to wrestle with these same issues (launch Driver or Executor, later extended to History Server, etc.)

----------------------------------------------------------------
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