tree: 28c36ecafea467d6acaeca210a91f35013c72968 [path history] [tgz]
  1. hadoop/
  2. README.md
bigtop-packages/src/charm/README.md

Juju Charms for Deploying Bigtop

Overview

These are the charm layers used to build Juju charms for deploying Bigtop components. The charms are also published to the Juju charm store and can be deployed directly from there using bundles, or they can be built from these layers and deployed locally.

Charms allow you to deploy, configure, and connect a Apache Bigtop cluster on any supported cloud, which can be easily scaled to meet workload demands. You can also easily connect other, non-Bigtop components from the Juju charm store that support common interfaces.

Building the Bigtop Charms

To build these charms, you will need charm-tools. You should also read over the developer Getting Started page for an overview of charms and building them. Then, in any of the charm layer directories, use charm build. For example:

export JUJU_REPOSITORY=$HOME/charms
mkdir $HOME/charms

cd bigtop-packages/src/charms/hadoop/layer-hadoop-namenode
charm build

This will build the NameNode charm, pulling in the appropriate base and interface layers from interfaces.juju.solutions. You can get local copies of those layers as well using charm pull-source:

export LAYER_PATH=$HOME/layers
export INTERFACE_PATH=$HOME/interfaces
mkdir $HOME/{layers,interfaces}

charm pull-source layer:apache-bigtop-base
charm pull-source interface:dfs

You can then deploy the locally built charms individually:

juju deploy local:trusty/hadoop-namenode

You can also use the local version of a bundle:

juju deploy bigtop-deploy/juju/hadoop-processing/bundle-local.yaml

Note: With Juju versions < 2.0, you will need to use juju-deployer to deploy the local bundle.