Could someone help me in installing HIve and Pig?


1 Answer(s)


Hi Ishitaq,


You are getting 'invalid hduser' error as the user 'hduser' don't exists in your system.
You can get a list of all users of your system using command:
Command: cat /etc/passwd

Further, Step-5 is required when we are doing all hadoop related installation as a different user to ensure limited permissions to all users.
Are you also doing all hadoop related installation using a newly created user such as 'hadoop' or 'ishitaqHadoop'?
- If yes, then the step5 would be something like this:
sudo chown -R /usr/local/hive [where username is the user that you will use to run hive commands and exists in current system]
- if not, then omit the step and continue with the next step and you should be able to run hive commands.


Hope this helps.
Post, if need further help.


Happy Learning @ Dezyre !!