How to enable impersonation in HiveServer2?

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

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
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 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 in Big Data Hadoop by Jimmy
14 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 in Big Data Hadoop by Gitika
• 14,110 points
15 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 in Big Data Hadoop by Bhavan
12 views
0 votes
0 answers

How to run Hadoop in Docker containers?

I want to incorporate Hadoop in Docker ...READ MORE

Mar 16, 2018 in Big Data Hadoop by nitinrawat895
• 9,390 points
54 views
0 votes
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
• 9,390 points
1,830 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
• 9,390 points
157 views
0 votes
10 answers

hadoop fs -put command?

copy command can be used to copy files ...READ MORE

answered Dec 7, 2018 in Big Data Hadoop by Sujay
9,058 views
0 votes
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,260 points
650 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 in Big Data Hadoop by Garima
10 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 in Big Data Hadoop by Rachit
8 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.