Skip to main content
100%

Running Apcahe drill in Embedded mode on Win2012/2016

✓ Published0🌍 Public
HHugoberry
Last edited Jun 15, 2017
Created on Jun 15, 2017

This example shows a batch script that sets up and launches Apache Drill in embedded mode on Windows Server 2012 or 2016, creating the necessary directory structure and then starting the Drill shell. The script first creates user-profile subdirectories for Drill’s UDF registry, temporary files, and staging area, then takes ownership of the entire drill folder with `takeown`. It finally calls `sqlline.bat` with the JDBC URL `jdbc:drill:zk=local` to connect to the embedded ZooKeeper instance, launching an interactive SQL query interface. The visualization highlights the procedural steps of filesystem preparation and command invocation, relying on Windows command-line utilities (`mkdir`, `takeown`) and the Drill shell API.

AI-generated description

Similar vizzes