Sentry Grant role is getting error while executing

0 votes
Hi,

Sentry:
I am trying to grant a role to a AD group. But getting the below error. Is this because of AD group or what? please explain.

 grant role eim_dl_prdsup to group 'admin-gpo-user' ;

Error: Error while compiling statement: FAILED: ParseException line 1:34 cannot recognize input near ''admin-gpo-user'' '<EOF>' '<EOF>' in identifier for principal spec (state=42000,code=40000)
Feb 14, 2020 in Big Data Hadoop by Mahboob
• 140 points
739 views

Hi Mahboob,

You can try this and see if it works:

 grant role eim_dl_prdsup to group admin_gpo_user ;

Sometimes the query which contains an underscore is also acceptable. If you get any other queries regarding this then do comment on the community forum.

thanks for you reply, but its nit working. I think brackets should be there. However below is the output:

grant role eim_dl_prdsup to group admin-gpo-user ;
Error: Error while compiling statement: FAILED: ParseException line 1:39 missing EOF at '-' near 'admin' (state=42000,code=40000)
Hey @Mahboob,

Did you try with the brackets? Is it helping?

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In Big Data Hadoop

0 votes
0 answers

Grant role is getting error, while executing

Hi, I am trying to grant a role ...READ MORE

Feb 14, 2020 in Big Data Hadoop by Mahboob
• 140 points
595 views
+1 vote
1 answer
0 votes
1 answer

while executing this iam getting this error can anyone please help me with the solution please

Hi@srija, It seems you have not provided complete ...READ MORE

answered Apr 6, 2020 in Big Data Hadoop by MD
• 95,440 points
426 views
0 votes
1 answer
0 votes
1 answer

Getting error while building Hadoop core jar using ant.

I think you are missing libtool library. ...READ MORE

answered Apr 18, 2018 in Big Data Hadoop by coldcode
• 2,080 points
765 views
+3 votes
1 answer

Getting Connection Error while loading data into table using cloudera hive

Hey Nafeesa, Itseems that Hive is not able ...READ MORE

answered Oct 4, 2018 in Big Data Hadoop by Vardhan
• 13,190 points
701 views
0 votes
1 answer

Getting some warning/error while loading java file using Hbase commands

In your code, you have set some ...READ MORE

answered Dec 14, 2018 in Big Data Hadoop by Omkar
• 69,210 points
571 views
–1 vote
1 answer

Getting error while starting hdfs namenode -format

Check your /etc/hosts file, the format should be like ...READ MORE

answered Jan 12, 2019 in Big Data Hadoop by Omkar
• 69,210 points
1,843 views
0 votes
1 answer

Getting error while loading data into hive table

In the command you have used, the ...READ MORE

answered Jan 31, 2019 in Big Data Hadoop by Omkar
• 69,210 points
2,829 views
0 votes
1 answer

Sqoop getting error while connecting to MySQL

Have you set a password for MySQL? ...READ MORE

answered Feb 7, 2019 in Big Data Hadoop by Omkar
• 69,210 points
1,111 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP