[ 
https://issues.apache.org/jira/browse/DRILL-6346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16448703#comment-16448703
 ] 

Abhishek Girish commented on DRILL-6346:
----------------------------------------

I have a working copy of this ready.

*Embedded mode:*
 (1) Clone repository
{code:java}
git clone [email protected]:Agirish/drill-docker.git
{code}
(2) Launch Drill container
{code:java}
cd drill-docker/scripts
./launchDockerContainer.sh drill centos 1.13.0
{code}
(3) Launch Sqlline
{code:java}
/opt/drill/bin/drill-embedded
{code}
 

*Distributed mode:*
 (1) Clone repository
{code:java}
git clone [email protected]:Agirish/drill-docker.git
{code}
(2) Launch Zookeeper container
{code:java}
cd drill-docker/scripts
./launchDockerContainer.sh zookeeper centos 3.4.10
{code}
    Make a note of the ZK container IP address
 (3) Launch Drill container
{code:java}
cd drill-docker/scripts
./launchDockerContainer.sh drill centos 1.13.0
{code}
(4) Configure Drillbits
     Edit /opt/drill/conf/drill-override.conf. Update the zk.connect string 
with the ZK container IP address
 (5) Start Drillbits
{code:java}
/opt/drill/bin/drillbit.sh start
{code}
(6) Launch Sqlline
{code:java}
/opt/drill/bin/sqlline -u jdbc:drill:zk=ZK_IP_ADDR:2181
{code}
Repeat steps (3)-(5) to add more Drillbits. I've tested with 2 drillbits and 
they successfully join to form a cluster.

> Create an Official Drill Docker Container
> -----------------------------------------
>
>                 Key: DRILL-6346
>                 URL: https://issues.apache.org/jira/browse/DRILL-6346
>             Project: Apache Drill
>          Issue Type: Improvement
>            Reporter: Timothy Farkas
>            Assignee: Abhishek Girish
>            Priority: Major
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to