This file contains 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 | |
#centos6, centos7, suse11sp3, ubuntu12, ubuntu14, debian6, debian7 | |
OS=centos6 | |
# 2.3.0, 2.3.4 | |
RELEASE="2.3.4" | |
while [[ $# > 1 ]] | |
do | |
key="$1" |
This file contains 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 -euo pipefail | |
FDR_FILES=( | |
Tail_666_9.zip | |
Tail_667_1.zip | |
Tail_667_3.zip | |
Tail_667_5.zip | |
Tail_666_10.zip | |
Tail_666_11.zip |
This file contains 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": [ | |
{ | |
"ams-env": { | |
"properties": { | |
"ambari_metrics_user": "ams", | |
"content": "\n# Set environment variables here.\n\n# The java implementation to use. Java 1.6 required.\nexport JAVA_HOME={{java64_home}}\n\n# Collector Log directory for log4j\nexport AMS_COLLECTOR_LOG_DIR={{ams_collector_log_dir}}\n\n# Monitor Log directory for outfile\nexport AMS_MONITOR_LOG_DIR={{ams_monitor_log_dir}}\n\n# Collector pid directory\nexport AMS_COLLECTOR_PID_DIR={{ams_collector_pid_dir}}\n\n# Monitor pid directory\nexport AMS_MONITOR_PID_DIR={{ams_monitor_pid_dir}}\n\n# AMS HBase pid directory\nexport AMS_HBASE_PID_DIR={{hbase_pid_dir}}\n\n# AMS Collector heapsize\nexport AMS_COLLECTOR_HEAPSIZE={{metrics_collector_heapsize}}\n\n# AMS Collector options\nexport AMS_COLLECTOR_OPTS=\"-Djava.library.path=/usr/lib/ams-hbase/lib/hadoop-native -Xmx$AMS_COLLECTOR_HEAPSIZE \"\n{% if security_enabled %}\nexport AMS_COLLECTOR_OPTS=\"$AMS_COLLECTOR_OPTS -Djava.security.auth.login.con |
This file contains 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
# mergin keytabs | |
$ ktutil | |
ktutil: rkt /etc/security/keytabs/httpfs.service.keytab | |
ktutil: rkt /etc/security/keytabs/spnego.service.keytab | |
ktutil: wkt /etc/security/keytabs/httpfs-http.service.keytab | |
ktutil: quit | |
ktutil | |
addent -password -p username@MYDOMAIN.COM -k 1 -e RC4-HMAC |
This file contains 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
heat_template_version: 2013-05-23 | |
description: Launch groups of VMs with a specific HWX naming convention. | |
parameters: | |
key_name: | |
description: Name of an existing PublicKey to enable SSH access to the instances. | |
type: string | |
default: secloud | |
instance_flavor: |
This file contains 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
{ | |
"Blueprints" : | |
{ | |
"blueprint_name" : "vagrant-hdp22-n1", | |
"stack_name" : "HDP", | |
"stack_version" : "2.2" | |
}, | |
"configurations": [ | |
{ | |
"core-site": { |
This file contains 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
find ./ -name metainfo.xml | xargs awk '/<name>/,/<\/name>/' | cut -d : -f 2 | sed 's/<\/*name>//g' | sed 's/<component>//' | tr -s ' ' | grep [A-Z] | sort | uniq | sort |