Setting Flink Environment Variables
- Open the configuration file.
1vi /etc/profile - Press i to enter the insert mode and configure environment variables for Flink.
1 2
export FLINK_HOME=/usr/local/flink export PATH=$FLINK_HOME/bin:$PATH
- Press Esc, type :wq!, and press Enter to save the file and exit.
- Make the environment variables take effect.
1source /etc/profile
Parent topic: Deploying Flink (on YARN)