Rate This Document
Findability
Accuracy
Completeness
Readability

Setting Hive Environment Variables

  1. Open the configuration file.
    1
    vi /etc/profile
    
  2. Press i to enter the insert mode and configure environment variables for Hive.
    1
    2
    export HIVE_HOME=/usr/local/hive
    export PATH=$HIVE_HOME/bin:$PATH
    
  3. Press Esc, type :wq!, and press Enter to save the file and exit.
  4. Make the environment variables take effect.
    1
    source /etc/profile