Home  >  Article  >  php教程  >  Add HIVE environment variables in linux

Add HIVE environment variables in linux

高洛峰
高洛峰Original
2016-12-02 16:05:501537browse

1. Add HIVE_HOME

export HIVE_HOME=/home/zhongml/apache-hive-2.1.0-bin

2. Add $HIVE_HOME/bin to the original PATH

export PATH=$PATH:$HIVE_HOME/ bin

3. Add $HIVE_HOME/lib

export CLASSPATH=$CLASSPATH:$HIVE_HOME/lib


on the basis of the original CLASSPATH
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn