多个pig时,设立本用户的pig运行版本
多个pig时,设置本用户的pig运行版本
cat ~/.bash_profile
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=/usr/bin/pig-0.9.2/bin:$PATH:$HOME/bin
export PATH
把首先要用的写在前面