Skip to content

Instantly share code, notes, and snippets.

@nabsul
Last active October 25, 2016 21:35
Show Gist options
  • Save nabsul/705f6aa57ffdc126d378fb8aa7245aec to your computer and use it in GitHub Desktop.
Save nabsul/705f6aa57ffdc126d378fb8aa7245aec to your computer and use it in GitHub Desktop.
ssh-keygen #just press enter when it asks you for a file path and password
cat ~/.ssh/id_rsa.pub > ~/.ssh/authorized_keys
chmod 600 ~/.ssh/authorized_keys
chmod 755 ~/hadoop_start.sh
hadoop namenode -format
~/hadoop_start.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment