How to install Druid on Windows 10
Druid is a distributed, real-time analytics data store that was developed at Metamarkets to allow users to break down data sets into smaller subsets for faster and more efficient analysis. In this tutorial, we will show you how to install Druid on your Windows 10 machine.
Prerequisites
Before we start, make sure that you have the following prerequisites installed on your machine:
- Java 8 or later
- Git
- Maven
Step 1: Download the Druid package
First, download the latest Druid release from the official website: https://druid.io/downloads.html
Unzip the package to a location of your choice.
Step 2: Configure Druid
Druid requires some initial configuration to run. Navigate to the Druid directory and open the following files:
conf/_common/common.runtime.properties
Edit the druid.host property and set it to localhost.
conf/druid/single-server/middleManager/runtime.properties
Edit the druid.host property and set it to localhost.
conf/druid/single-server/coordinator/runtime.properties
Edit the druid.host property and set it to localhost.
conf/druid/single-server/broker/runtime.properties
Edit the druid.server.maxSize property and set it to a value that works for your machine's resources. The default value is 1g.
Step 3: Build and start Druid
Open a command prompt and navigate to the Druid directory.
To build Druid, run:
mvn clean install -DskipTests
This may take some time to complete. Once it's done, start the Druid services by running:
bin/start-micro-quickstart
Druid will start running on port 8081.
Step 4: Verify the installation
Open a web browser and navigate to http://localhost:8081. You should see the Druid console.
Congratulations, you have successfully installed Druid on your Windows 10 machine!
Conclusion
In this tutorial, we showed you how to install Druid on your Windows 10 machine. Druid allows users to break down data sets into smaller subsets for faster and more efficient analysis. With this guide, you can now benefit from Druid's powerful analytics engine on your own machine.