wget https://gist.github.com/seanorama/99d13ca1898b33d6ebd1322193062b5d/raw/f5f43b6bac31e1f44f2320d72fb2d1ead651272c/hdp30_alert_hive_interactive_thrift_port.py.patch
sudo patch -b -d/ -p0 < hdp30_alert_hive_interactive_thrift_port.py.patch
wget https://gist.github.com/seanorama/99d13ca1898b33d6ebd1322193062b5d/raw/f5f43b6bac31e1f44f2320d72fb2d1ead651272c/hdp30_alert_spark2_thrift_port.patch
sudo patch -b -d/ -p0 < hdp30_alert_spark2_thrift_port.patch
What I use for Hortonworks HDP (Hadoop) systems, but should work for anyone.
Some configurations are tuned for Active Directory without relying on 'sssd-ad' such that the hosts don't need to join the domain.
sudo yum install sssd sssd-ldap sssd-krb5 sssd-tools authconfig \
oddjob oddjob-mkhomedir openldap-clients cyrus-sasl-gssapi \
The Oozie Web UI requires ExtJS which is not provided by default as of HDP (Hortonworks Data Platform) 2.6.5.
## Enable HDP-UTILS-GPL
## Note: This will break with HDP upgrades!
cd /etc/yum.repos.d/
sudo wget https://public-repo-1.hortonworks.com/HDP-UTILS-GPL-1.1.0.22/repos/centos7/hdp-utils-gpl.repo
## Install ExtJS for Oozie
## Note: This must be updated manually and presents a security hole if not updated.
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
## No longer using this but keeping for posterity | |
## Functions so we don't repeat ourselves (DRY) | |
function lv_name(){ | |
[[ "$1" ]] || { echo "Error: Missing query" >&2; return 1; } | |
export lv_name="lv_$(echo ${path} | sed -r -e 's,^/,,' -e 's,/$,,' -e 's,/,_,g')" | |
} | |
function my_mount_lvm(){ | |
[[ "$1" ]] || { echo "Error: Missing path" >&2; return 1; } |
- Create PAM Cloudera file:
sudo tee /etc/pam.d/cloudera> /dev/null <<-'EOF'
#%PAM-1.0
auth sufficient pam_unix.so
auth sufficient pam_sss.so
account sufficient pam_unix.so
account sufficient pam_sss.so
Including copying the backup to HDFS. Uses Kerberos by default, but you can strip that out.
- If your environment is not using kerberos, remove the kinit/destroy commands.
- Works with any holland module but this shows mysqldump.
- Assumes credentials are in /root/.my.cnf.
Kinit to Smokeuser or whichever user you want the backup to run as in HDFS