Trying to grant access to HIVE table. But getting privileges error as below. How to overcome this error?
Switch to user "hdfs" or "hive" before starting hive shell and then try again. Root user is not special for Hadoop (It's just another user and not super user).
@mqureshi, Noted. Using which code i can change to "hdfs" or "hive? Thank You.
@Sasitharan Ravindar :
use below to swtich users to hdfs or hive
sudo -u hdfs OR sudo -u hive
PS: BTW Have you Configured Kerberos?