-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbashrc_mac
executable file
·50 lines (38 loc) · 2.04 KB
/
bashrc_mac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# mac/hive specific stuff
# stop errors like "readlink: illegal option -- f"
# export SPARK_HOME=foo
export HIVE_SKIP_SPARK_ASSEMBLY=true
export PATH="/usr/local/opt/[email protected]/bin:$PATH"
export PATH="~/Library/Python/3.7/bin:$PATH"
export PATH="/opt/homebrew/bin:$PATH"
export AAHADOOP_VERSION=2.8.0
alias hstart="/usr/local/Cellar/hadoop/${AAHADOOP_VERSION}/sbin/start-dfs.sh;/usr/local/Cellar/hadoop/${AAHADOOP_VERSION}/sbin/start-yarn.sh"
alias hstop="/usr/local/Cellar/hadoop/${AAHADOOP_VERSION}/sbin/stop-yarn.sh;/usr/local/Cellar/hadoop/${AAHADOOP_VERSION}/sbin/stop-dfs.sh"
# after brew install findutils
alias find=gfind
alias bl='./beeline -u jdbc:hive2://localhost:10000/default -n asherman -p hive'
alias subl='/Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl'
export SUBL='/Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl'
alias gvim='/usr/local/Cellar/macvim/8.1-155/bin/gvim'
# setup to run yetus
# https://cwiki.apache.org/confluence/display/Hive/Running+Yetus
export FINDBUGS_HOME=~/bin/findbugs-3.0.1/
# curl http://github.mtv.cloudera.com/raw/CDH/cdh/cdh6.x/gbn-m2-settings.xml > gbn-m2-settings.xml
#
# To build your CDH component against a specific
# Global Build Number (GBN), use this Maven
# settings file with "mvn -s gbn-m2-settings.xml" and
# the environment variable CDH_GBN=... set.
#
# For example, to build against the latest build,
#
# $ export CDH_GBN=$(curl 'http://builddb.infra.cloudera.com:8080/query?product=cdh&user=jenkins&version=6.x&tag=official')
# $ mvn -s gbn-m2-settings.xml install -DskipTests
# export CDH_GBN=$(curl 'http://builddb.infra.cloudera.com:8080/query?product=cdh&user=jenkins&version=6.x&tag=official')
# use python
export PATH="/usr/local/opt/python/libexec/bin:$PATH"
# not setting this here because paranoia
# export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home
# shut up about zsh
# https://apple.stackexchange.com/questions/371997/suppressing-the-default-interactive-shell-is-now-zsh-message-in-macos-catalina
export BASH_SILENCE_DEPRECATION_WARNING=1