The sqlline utility takes a parameter for a zookeeper quorum to connect
to.

When you run sqlline -u jdbc:drill:zk=local sqlline starts up an internal
local drillbit, but if you specify a remote zk then it will connect to a
remote drillbit.

So, to answer your question, I believe you would install Drill on each of
those other 5 servers, but don't give them a configuration which allows
that installation to participate in the cluster.

Alternatively, if you are asking if you can default the sqlline on those
servers with -u jdbc:drill:zk=server1,server2,server3, it doesn't appear
that the script currently supports that, but could likely be very simply
achieved with a tiny wrapper script.


On Mon, Dec 1, 2014 at 1:49 PM, David Tucker <[email protected]> wrote:

>
> Is there a process for installing the sqlline tool independent of the
> complete drillbit ?   The scenario I’m considering is a cluster of 10 nodes
> where only 5 would have drill-bits installed but users will expect to
> connect to the drill cluster arbitrarily from any node out of the 10.
>
> — David
>
>


-- 
*Jim Scott*
Director, Enterprise Strategy & Architecture
+1 (347) 746-9281

 <http://www.mapr.com/>
[image: MapR Technologies] <http://www.mapr.com>

Reply via email to