How do I run commands on Hive after installing as it shows that you are a read only user?


1 Answer(s)


Hi Ishitaq,

It is not mandate to login with a new user.
Only need is to allow current user to run hive queries.
Run following two commands from the terminal, where you are running hive:
1. whoami [this will give you the name of the current user]
2. sudo chown [command 1 output]:hadoop -R /usr/local/hive

Hope this helps.
Post, if need further help.


Happy Learning @ Dezyre !!