Giter Club home page Giter Club logo

cm-druid's Introduction

Druid for Cloudera CDH

  • Create CDH parcels from Druid distribution.
  • Create Druid services descriptor

Build

Run make at the top directory. The parcels and CSD will be created at dist/parcels and dist/csd.

make clean install

Parcels Installation

Copy dist/parcels/* to /opt/cloudera/parcel-repo

cp dist/parcels/DRUID-0.10.0-0.0.4-el6.parcel /opt/cloudera/parcel-repo
cp dist/parcels/DRUID-0.10.0-0.0.4-el6.parcel.sha /opt/cloudera/parcel-repo
cp dist/manifest.json /opt/cloudera/parcel-repo
chown cloudera-scm:cloudera-scm /opt/cloudera/parcel-repo/*

Refersh the CM's parcels screen, and make sure DRUID appears in the list. Then, click distribute, and activate.

If you are using one of extensions from "contributes", you'd have to manually run pull-deps command at /opt/cloudera/pracels/DRUID. This is a known limitation for now.

CSD Installation

Copy CSD jar file to /opt/cloudera/csd.

cp dist/csd/DRUID-5.8.0.jar /opt/cloudera/csd
chown cloudera-scm:cloudera-scm /opt/cloudera/csd/DRUID-5.8.0.jar
chmod 644 /opt/cloudera/csd/DRUID-5.8.0.jar

Install CSD

curl http://localhost:7180/cmf/csd/refresh
curl http://localhost:7180/cmf/csd/install?csdName=DRUID-5.8.0

Reinstall CSD

curl http://localhost:7180/cmf/csd/reinstall?csdName=DRUID-5.8.0

Upgrade Druid

The Druid 0.10, the latest release, requires Java1.8. Java version for Hadoop must be upgraded as well in order for the Druid batch job to run.

  • install oracle-java8

  • set Java Home in the CM "Hosts" -> "Configurations" -> "Advanced".

  • restart CDH services.

  • checkout this repo

  • rebuild the parcel

  • upload the parcel

  • distribute, activate it

  • restart the Druid

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.