Rate This Document
Findability
Accuracy
Completeness
Readability

Setting HBase Environment Variables

  1. Edit the /etc/profile file.
    1
    vi /etc/profile
    
  2. Press i to enter the insert mode and add environment variables at the end of the file.
    1
    2
    export HBASE_HOME=/usr/local/hbase
    export PATH=$HBASE_HOME/bin:$HBASE_HOME/sbin:$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