Skip to main content
raniaa
Silver ⭐️⭐️
Dec 27, 2021 4:45 PM UTC
Solved

User hbase is not allowed to impersonate hue

Hello,

When trying to access Hbase through Hue i have this error in the log 

WARN org.eclipse.jetty.server.HttpChannel: handleException / org.apache.hadoop.security.authorize.AuthorizationException: User: hbase is not allowed to impersonate hue

knowing that i had set a Thrift Server instance on Hbase and it is running okay.

 

GangWar
GangWarAnswer
Platinum ⭐️⭐️
Jan 3, 2022 10:48 AM UTC

@raniaa  You need to allow HBase impersonation in HDFS for HBase Browser to work. Here are the steps: https://docs.cloudera.com/documentation/enterprise/latest/topics/admin_hdfs_proxy_users.html

 

In summary you need to:

 

1. Enable hbase.thrift.support.proxyuser. CM > HBase > Configuration > Search: "hbase.thrift.support.proxyuser"
2. Allow all groups form all hosts in HDFS.
CM > HDFS > “Cluster-wide Advanced Configuration Snippet (Safety Valve) for core-site.xml”
hadoop.proxyuser.hbase.hosts
*
hadoop.proxyuser.hbase.groups
* 

Cheers! Was your question answered? Make sure to mark the answer as the accepted solution. If you find a reply useful, say thanks by clicking on the thumbs up button.

2 replies

GangWar
Platinum ⭐️⭐️
GangWarAnswer
Platinum ⭐️⭐️
Jan 3, 2022 10:48 AM UTC

@raniaa  You need to allow HBase impersonation in HDFS for HBase Browser to work. Here are the steps: https://docs.cloudera.com/documentation/enterprise/latest/topics/admin_hdfs_proxy_users.html

 

In summary you need to:

 

1. Enable hbase.thrift.support.proxyuser. CM > HBase > Configuration > Search: "hbase.thrift.support.proxyuser"
2. Allow all groups form all hosts in HDFS.
CM > HDFS > “Cluster-wide Advanced Configuration Snippet (Safety Valve) for core-site.xml”
hadoop.proxyuser.hbase.hosts
*
hadoop.proxyuser.hbase.groups
* 

Translate
Cheers! Was your question answered? Make sure to mark the answer as the accepted solution. If you find a reply useful, say thanks by clicking on the thumbs up button.
raniaa
raniaaAuthor
Silver ⭐️⭐️
Jan 14, 2022 2:14 PM UTC

Thank you @GangWar i tried these steps before and turns out that i had been modifying these parameters in the wrong core-site.xml file , it works just fine now 😉

Translate