Re: Single (embedded) drillbit as a service

2018-03-14 Thread Jiang Wu
We use an upstart (http://upstart.ubuntu.com/getting-started.html) script to launch drill-embedded as a service. It works fine on local Ubuntu machines and AWS ec2 instances. The command used inside the upstart script is similar to what you have: exec /bin/sh "a script that eventually calls d

Re: Single (embedded) drillbit as a service

2018-03-13 Thread Kunal Khatua
The trouble with your approach is that making it a background process pauses the process in an interactive mode, until you bring it to the foreground. You cannot use an Embedded Drillbit with Zookeeper. You should start it off as a regular drillbit instance. Zookeeper only serves the purpose of c

Single (embedded) drillbit as a service

2018-03-13 Thread Krzysztof Kowalczyk
Hi, I would like to have and ad-hoc deployment of Drill on a linux box working with relatively small dataset, thus I don't want to use Zookeeper, but I find drill shell scripts actively restricting such usage. The `drillbit.sh start` will not work without zookeeper (or would it?) and is explicitl