Skip to content
This repository has been archived by the owner on Feb 2, 2019. It is now read-only.
/ hdp-vagrant-base Public archive

Base Vagrant file for Hortonworks Data Platform (HDP) instances

Notifications You must be signed in to change notification settings

timveil/hdp-vagrant-base

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Most of my focus is now on building Hadoop clusters in Docker. See https://github.com/timveil/docker-hadoop. This repository is no longer maintained.

HDP Vagrant Base

Overview

This is a Vagrant box that can serve as a sensible base to install the Hortonworks Data Platform (HDP). This box is based on Centos 7 (https://atlas.hashicorp.com/centos/boxes/7) and includes the below modifications, consistent with Hortonworks documentation (http://docs.hortonworks.com/)

Modifications

  • installation of the following packages
    • scp
    • curl
    • unzip
    • tar
    • wget
    • ntp
    • openssl-devel
    • gcc (required for VirtualBox Guest Additions)
    • kernel-devel (required for VirtualBox Guest Additions)
    • java-1.8.0-openjdk-devel.x86_64 (Java to be used by HDP, etc.)
  • set JAVA_HOME
  • enabling yum fastcache
  • update all yum packages and clean yum history
  • enabling and starting ntp
  • disabling firewalld
  • disabling transparent huge pages
  • disabling selinux
  • updating timezone to New York
  • increasing ulimit
  • updating umask

Usage

To run, execute the following

vagrant up --provider virtualbox

Release Notes

The latest release is v1.0.15. For detailed release information see https://app.vagrantup.com/timveil/boxes/centos7-hdp-base

Development Notes

Before packaging box, make sure to change both vagrant and root password to vagrant

sudo su -

# change root password
passwd 

# change vagrant password
passwd vagrant

To package and deploy see https://scotch.io/tutorials/how-to-create-a-vagrant-base-box-from-an-existing-one

vagrant package --output centos7-hdp-base.box
vagrant box add centos7-hdp-base centos7-hdp-base.box --force

About

Base Vagrant file for Hortonworks Data Platform (HDP) instances

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages