Under my profile and the .bashrc file. I have added several environment variables. Example:
export HADOOP_HOME=/app/hadoop-2.7.3
When I try to run any "hadoop" command I get command not found.
After executing this command "exec bash" I will be able then to run hadoop commands without issues.
The problem I am having that every time I log in to the server I will need to run the exec command to be able to use hadoop, plus there are other users on the server that need to use the application.
How can I update the PATH globally so everyone can use hadoop and any other installed application?
Thank you
PATHis wrong, notHADOOP_HOME.