Code Monkey home page Code Monkey logo

druid's Introduction

Druid Local Standalone Setup on Ubuntu

This README provides step-by-step instructions for setting up Druid in a local standalone mode on an Ubuntu machine. Please ensure you meet the prerequisites before starting.

Prerequisites

  • A machine with a minimum of 5 GB RAM. If using AWS, consider the t2.large instance type and allow incoming traffic on port 8888 in the security group.

  • Java is a prerequisite. Install it with the following command:

    sudo apt install default-jre
    

Setup Instructions

  1. Download and extract Druid:

    cd /home/ubuntu/downloads
    wget https://dlcdn.apache.org/druid/27.0.0/apache-druid-27.0.0-bin.tar.gz
    tar -xzf apache-druid-27.0.0-bin.tar.gz
    
  2. Create a systemd service (use ROOT user for this):

    • Create a service file:

      vi /etc/systemd/system/druid.service
      
    • Paste the text from the druid.service file available in this repository.

    • Reload the systemd manager configuration:

      systemctl daemon-reload
      
    • Enable the Druid service to start on boot:

      systemctl enable druid
      
    • Start the Druid service:

      systemctl start druid
      
  3. Check the service status:

    systemctl status druid
    

The service should be in the active state. Wait for 2-3 minutes.

  1. Access the Druid web console @{public-ip}:8888

    Webconsole

Troubleshooting

  • If you're getting a connection refused, check the status of the service. There might be some configuration or Druid start-up issues.
  • If you're getting a connection timed out, check the security group. You might have missed enabling the 8888 port in the security group.

druid's People

Contributors

pavan-y avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.