Aug 04 2014 02:38 PM
If you have created a user called "hduser" them this user need to have a home directory "/home/hduser" . On some linux systems the system created users will had .bashrc, for the users which the user creates, this file might not be there. You can create a .bashrc file and put the required paths into this file.
once paths are added, execute "source .bashrc" on the shell to access the variables and use on the command line.