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
624 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
556 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,870 points
192 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
125 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,180 points
603 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
7,240 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
1,176 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
53,156 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
2,744 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
816 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
160 views