1 sudo addgroup hadoop

2 sudo adduser -ingroup hadoop hadoop

3 sudo gedit /etc/sudoers

   hadoop ALL = (ALL) ALL

4 sudo chown hadoop /usr/local/hadoop