You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 11 Next »

(UNDER DEVELOPMENT)

This is the documentation on installing the Bigtop compile Toolchain on current git trunk, not the bigtop-1.0 version

 

Clone Bigtop repo

You can do it either from

  • official Apache Bigtop repo

    Clone the repo
    git clone https://git-wip-us.apache.org/repos/asf/bigtop.git
  • or from Github mirror (see https://github.com/apache/bigtop)

Setting up development environment from scratch:

first install a suitable puppet version (relative to bigtop root)

   # ./bigtop_toolchain/bin/puppetize.sh

next is installing the toolchain by a puppet call.

   # puppet apply --modulepath=`pwd`:/etc/puppet/modules -e "include bigtop_toolchain::installer"

Alternatively, if you already have sudo and a java runtime installed, you can bootstrap the environment using the provided Gradle wrapper script 

   % ./gradlew toolchain

Using pre-built Docker images (Bigtop-1.0)

Another way is to run inside of the pre-built Docker images that we are using for CI builds. The work isn't fully wrapped-up, but you can start using these containers immediately as explained in this BIGTOP-1323 comment

As per docker.com registry the name bigtop/slaves with following tags are available for the Bigtop-1.0 branch

  • centos-6.4
  • fedora-20
  • opensuse-12.3
  • ubuntu-10.04
  • ubuntu-12.04
  • ubuntu-14.04
  • debian-8

which you can run by (as an example)

$ docker run -v `pwd`:/ws bigtop/slaves:ubuntu-14.04 bash -c '. /etc/profile.d/bigtop.sh; cd /ws ; gradle bigtop-jsvc-rpm' 

which will download the image, create an instance of the container and run the build.

Using pre-built Docker images (Bigtop git trunk)

For current trunk (git master) the tags for bigtop/slaves are available: 

  • trunk-centos-6
  • trunk-centos-7
  • trunk-fedora-20 
  • trunk-opensuse-13.2
  • trunk-ubuntu-14.04 
  • trunk-debian-8

are available. The Dockerfiles to regenerate them are located in ./docker/bigtop-slaves.

$ docker run -v `pwd`:/ws bigtop/slaves:trunk-ubuntu-14.04 bash -c '. /etc/profile.d/bigtop.sh; cd /ws ; gradle bigtop-jsvc-rpm' 

 





  • No labels