Skip to content

Instantly share code, notes, and snippets.

@ishansharma
Created February 16, 2019 21:02
Show Gist options
  • Select an option

  • Save ishansharma/dc65fb0acc2c51ea038ddfbdf3973ba3 to your computer and use it in GitHub Desktop.

Select an option

Save ishansharma/dc65fb0acc2c51ea038ddfbdf3973ba3 to your computer and use it in GitHub Desktop.
Adding Hadoop Exports to .bashrs
echo "export JAVA_HOME=/usr" >> /home/vagrant/.bashrc
echo "export HADOOP_LOG_DIR=/hadoop_logs" >> /home/vagrant/.bashrc
echo "export PATH=\$PATH:/usr/local/bin/hadoop/bin:/usr/local/bin/hadoop/sbin" >> /home/vagrant/.bashrc
source ~/.bashrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment