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 13 in Big Data Hadoop by Mahboob
• 140 points
142 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 13 in Big Data Hadoop by Mahboob
• 140 points
134 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 in Big Data Hadoop by MD
• 22,060 points
54 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,050 points
149 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 3, 2018 in Big Data Hadoop by Vardhan
• 13,180 points
132 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,060 points
114 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 11, 2019 in Big Data Hadoop by Omkar
• 69,060 points
465 views
0 votes
1 answer

Getting error while loading data into hive table

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

answered Jan 30, 2019 in Big Data Hadoop by Omkar
• 69,060 points
566 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,060 points
121 views