While setting up Apache Hive, HiveServer2 and Beeline (using vanilla packages instead of some kind of prepackaged Hadoop distribution), I struggled with some permission/user related problems. The error message I got stuck with was something like this:
org.apache.hadoop.security.authorize.AuthorizationException
User: hive is not allowed to …