Git Product home page Git Product logo

accumulo-vagrant's Introduction

Accumulo (+ Ambari) on Vagrant

This project helps to set up a 1 node Accumulo cluster on Vagrant.

Requirements

You need VirtualBox and Vagrant

Once installed, you can pre-fetch the referenced Centos 6.5 image:

vagrant box add centos65-x86_64-20140116 https://github.com/2creatives/vagrant-centos/releases/download/v6.5.3/centos65-x86_64-20140116.box

Initialize the single node cluster

git clone [email protected]:MammothData/accumulo-vagrant.git
cd accumulo-vagrant
vagrant up

Kicking the tires

#Log into Ambari (username:password admin:admin) and start up the Hadoop cluster
192.168.64.101:8080

#Once its running, log in as root and start Accumulo
vagrant ssh
sudo su
start-all.sh #this accumulo start script is in your path

accumulo shell -u root

When things go wrong

Things you might see:

"message" : "Attempted to add unknown hosts to a cluster. These hosts have not been registered with the server: ambari"

AMBARI_URL=192.168.64.101:8080

#Check which hosts are registered:
curl -Hs "X-Requested-By: ambari" -u admin:admin -i http://$AMBARI_URL/api/v1/hosts

#Delete the blueprint config:
curl -H "X-Requested-By: ambari" -X DELETE -u admin:admin http://$AMBARI_URL/api/v1/blueprints/single-node-hdfs-yarn

#Delete the Ambari cluster:
curl -H "X-Requested-By: ambari" -X DELETE -u admin:admin http://$AMBARI_URL/api/v1/clusters/MySingleNodeCluster

References

This project was derived from the SequenceIQ ambari-vagrant project, which in-turn was derived from the Apache Ambari Quick Start Guide and modified.

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.