How to enable impersonation in HiveServer2

0 votes
Can someone tell me what properties/configuration to set to enable impersonation in HiveServer2?
Jun 3, 2019 in Big Data Hadoop by Namrith
1,949 views

1 answer to this question.

0 votes

You have to configure 2 files for this. 

hive-site.xml

<property>
  <name>hive.server2.enable.impersonation</name>
  <description>Enable user impersonation for HiveServer2</description>
  <value>true</value>
</property>

In hdfs configuration, core-site.xml 

<property>
  <name>hadoop.proxyuser.hive.hosts</name>
  <value>*</value>
</property>
<property>
  <name>hadoop.proxyuser.hive.groups</name>
  <value>*</value>
</property>

This should work. 

answered Jun 3, 2019 by Reshma

Related Questions In Big Data Hadoop

0 votes
1 answer

How to enable impersonation in Hue for Impala?

In the Hue configuration file, search for ...READ MORE

answered May 24, 2019 in Big Data Hadoop by Jimmy
1,295 views
0 votes
1 answer

How to turn on REST gateway impersonation in HBase?

Hey, To turn on REST gateway impersonation, we ...READ MORE

answered May 31, 2019 in Big Data Hadoop by Gitika
• 65,910 points
524 views
0 votes
1 answer

How to enable LDAP authenticaition in Hue?

You can enable LDAP authentication with HiveServer2 by ...READ MORE

answered Jun 3, 2019 in Big Data Hadoop by Bhavan
475 views
0 votes
1 answer

How to run Hadoop in Docker containers?

Hi, You can run Hadoop in Docker container. Follow ...READ MORE

answered Jan 24, 2020 in Big Data Hadoop by MD
• 95,440 points
1,812 views
+1 vote
1 answer

Hadoop Mapreduce word count Program

Firstly you need to understand the concept ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 11,380 points
10,600 views
0 votes
1 answer

hadoop.mapred vs hadoop.mapreduce?

org.apache.hadoop.mapred is the Old API  org.apache.hadoop.mapreduce is the ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 11,380 points
2,207 views
+2 votes
11 answers

hadoop fs -put command?

Hi, You can create one directory in HDFS ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by nitinrawat895
• 11,380 points
104,754 views
–1 vote
1 answer

Hadoop dfs -ls command?

In your case there is no difference ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by kurt_cobain
• 9,390 points
4,285 views
0 votes
1 answer

How to enable WebHDFS in the Datanodes?

In the datanodes, open the hdfs-site.xml file and add ...READ MORE

answered May 24, 2019 in Big Data Hadoop by Garima
4,060 views
0 votes
1 answer

How to connect to HiveServer2 in HTTPS mode?

The connection URL to connect to HiveServer2 ...READ MORE

answered Jun 4, 2019 in Big Data Hadoop by Rachit
1,025 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