GithubHelp home page GithubHelp logo

druid-insallation's Introduction

druid insallation

Resources

To ensure sufficient resources for Druid, it is recommended to install it on an AWS EC2 instance of type t2.medium. This instance type, which runs Amazon Linux and offers 2 vCPUs and 4GB of memory, provides more resources compared to t2.micro, which is part of the AWS free tier.

for more details: https://druid.apache.org/docs/latest/operations/single-server.html

for more details on cluster tuning: https://druid.apache.org/docs/latest/operations/basic-cluster-tuning.html

security rule:

allow 8888 port for druid web ui image

The software requirements for the installation machine are:

  • Java 8u92+ or Java 11
sudo yum install java-11
  • Python 3 (preferred) or Python 2 : already installed
  • Perl 5 : already installed
sudo yum install perl

installations:

environments variables: export JAVA_HOME=

install Druid

wget https://dlcdn.apache.org/druid/26.0.0/apache-druid-26.0.0-bin.tar.gz
tar -xzf apache-druid-26.0.0-bin.tar.gz
cd apache-druid-26.0.0

# run druid only nano (because of the resources)
./bin/start-nano-quickstart &

problems:

problem 1: can't process parquet file format install extensions: druid-parquet-extensions Requires druid-avro-extensions to be loaded.

https://druid.apache.org/docs/latest/development/extensions.html https://druid.apache.org/docs/latest/development/extensions-core/parquet.html

vim apache-druid-26.0.0/conf/druid/single-server/nano-quickstart/_common/common.runtime.properties

add to the list of extensions

druid.extensions.loadList=["druid-avro-extensions", "druid-parquet-extensions"]

Work with Druid

load data from parquet file sources:

top-reviews.parquet

funniest_recommendation.parquet

step 1: load the data from the source image

image

data manuipulation, transform data, configure schema, partition data to segments and tune the data.

test the data with the example sql

monitor data, ingestions, tasks and logs:

For general logs and druid commponents: apache-druid-26.0.0/logs

For indexing tasks logs: var/druid/indexing-logs

examples for successful indexing logs in logs folder

druid-insallation's People

Contributors

ofirshmuel 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.