- Setting up a new development VM should be as easy as 2 commands. And it is:
vagrant init; vagrant up
- In this example we are converting the HDP Sandbox to be used in this way. But the howto will work with any existing VM.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Ask Helpdesk (with an email or issue) for "Outlook for Mac 2015" | |
- They should give you a login for https://portal.office.com/ | |
- From the portal: | |
- Click the 'Gear/Cog' in top right | |
- 'Office 365 Settings' | |
- 'Software' | |
- Then under 'Get Outlook for Mac', click 'Install' | |
- While it's downloading, uninstall Outlook 2011: | |
- Quit Outlook | |
- If it's still in your dock, drag it to Trash |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Put expressions that hit more files first. | |
/home/chroot/.* | |
/home/[^/]+/Workspaces?/.*/target/.* | |
/home/[^/]+/Workspaces?/.*/\.pants\.d.* | |
/home/[^/]+/\.m2/repository/.* | |
/home/[^/]+/\.ivy2/(?:cache|local|limiter)/.* | |
/home/[^/]+/.*(?:~|\.(?:log|tmp|bak|lock)) | |
/home/[^/]+/S3/.* | |
/home/[^/]+/Virtualization/Machines/.* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh - | |
set -o errexit | |
set -o nounset | |
set -o pipefail | |
# This script provides an easy install of Ambari | |
# for RedHat Enterpise Linux 6 & CentOS 6 | |
# | |
# source at http://github.com/seanorama/ambari-bootstrap | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Setting a custom repo for Ambari Stacks via the API | |
cat > temp-update-repo.json <<-EOF | |
{ | |
"Repositories" : { | |
"base_url" : "http://public-repo-1.hortonworks.com/HDP/centos6/2.x/GA/2.2.0.0", | |
"default_base_url" : "http://public-repo-1.hortonworks.com/HDP/centos6/2.x/GA/2.2.0.0", | |
"verify_base_url" : true | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
checkusage() { | |
[[ $# -eq 0 ]] && err_exit 'Usage: diskcheck.sh DEVICE...' | |
} | |
checkperms() { | |
for disk in $@; do | |
local f="diskcheck.sh: ${disk}" | |
[[ -e ${disk} ]] || err_exit "${f}: No such file or directory" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
host_new=ip-10-0-0-162.ec2.internal | |
curl -u admin:admin -i -H X-Requested-By:API -X POST http://${ambari_server}:8080/api/v1/clusters/${cluster_name}/hosts/${host_new} | |
curl -u admin:admin -i -H X-Requested-By:API -X GET http://${ambari_server}:8080/api/v1/clusters/${cluster_name}/hosts/${host_new} | |
worker_services="NODEMANAGER JOURNALNODE HDFS_CLIENT DATANODE FLUME_HANDLER METRICS_MONITOR" | |
for service in ${worker_services}; do | |
curl -u admin:admin -i -H X-Requested-By:API -X POST http://${ambari_server}:8080/api/v1/clusters/${cluster_name}/hosts/${host_new}/host_components/${service} | |
done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"host_groups": [ | |
{ | |
"name": "host_group_1", | |
"configurations": [], | |
"components": [ | |
{ | |
"name": "METRICS_COLLECTOR" | |
}, | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"configurations": [ | |
{ | |
"oozie-env": { | |
"oozie_heapsize": "4096m" | |
} | |
} | |
], | |
"host_groups": [ | |
{ |