2

I am very new to hive and the hadoop ecosystem.

I am trying to create a new table in hive but I am encountering this error:

enter image description here

According to some suggestions, I have to set the Ranger policies but upon checking, policies already had permissions to "All"

enter image description here

Same permissions were also given to other policies.

enter image description here

Did I miss something? Thank you.

m.alcala
  • 91
  • 1
  • 1
  • 8

2 Answers2

0

You might need HDFS user directory which can be created by the administrator using sudo -u hdfs hdfs dfs -mkdir /user/<user_id>

In case you want to check if there is one exists:

hdfs dfs -ls /user | grep <user_id>
B--rian
  • 5,578
  • 10
  • 38
  • 89
ambiga
  • 1
  • 1
0

I had a similar issue. You may want to check Ranger > Audit > Plugin Status to see if the policy is being applied. If it's not it may be that you have a jersey-client classpath conflict. More details here: https://jonmorisissqlblog.blogspot.com/2021/06/ranger-hive-policy-activation-time.html

Jon Morisi
  • 101
  • 1
  • 1