Quantcast
Channel: Hortonworks » All Replies
Viewing all articles
Browse latest Browse all 3435

Hue impersonate admin (error 403)

$
0
0

Hi,

I have created 5 node HDP cluster in cloud and installed Hue.hive is working but pig is giving below error message
SecurityException: Failed to obtain user group information: org.apache.hadoop.security.authorize.AuthorizationException: User: hue is not allowed to impersonate admin (error 403)

I logged into Hue as Admin and running the jobs.

Can any one suggest me on this?

Hue.ini config file is:
[desktop]

kredentials_dir=”/tmp”

send_dbug_messages=1

# To show database transactions, set database_logging to 1
database_logging=0

# Set this to a random string, the longer the better.
# This is used for secure hashing in the session store.
secret_key=secretkeysecretkeysecretkeysecretkey

# Webserver listens on this address and port
http_host=0.0.0.0
http_port=8000

# Time zone name
time_zone=America/Los_Angeles

# Turn off debug
django_debug_mode=1

# Turn off backtrace for server error
http_500_debug_mode=1

# Server email for internal error messages
## django_server_email=’hue@localhost.localdomain’

# Email backend
## django_email_backend=django.core.mail.backends.smtp.EmailBackend

# Set to true to use CherryPy as the webserver, set to false
# to use Spawning as the webserver. Defaults to Spawning if
# key is not specified.
use_cherrypy_server=true

# Webserver runs as this user
server_user=hue
server_group=hadoop

# If set to false, runcpserver will not actually start the web server.
# Used if Apache is being used as a WSGI container.
##enable_server=no

# Number of threads used by the CherryPy web server
## cherrypy_server_threads=10

# Filename of SSL Certificate
## ssl_certificate=

# Filename of SSL RSA Private Key
## ssl_private_key=

# Default encoding for site data
## default_site_encoding=utf-8

# Options for X_FRAME_OPTIONS header. Default is SAMEORIGIN
x_frame_options=’ALLOWALL’

# Administrators
# —————-
[[django_admins]]
## [[[admin1]]]
## name=john
## email=john@doe.com

# UI customizations
# ——————-
[[custom]]

# Top banner HTML code
## banner_top_html=

# Top about page HTML code
## about_top_html=”'<div>Visit the Hue Configuration page</div>”’

# Configuration options for user authentication into the web application
# ————————————————————————
[[auth]]

# Authentication backend. Common settings are:
# – django.contrib.auth.backends.ModelBackend (entirely Django backend)
# – desktop.auth.backend.AllowAllBackend (allows everyone)
# – desktop.auth.backend.AllowFirstUserDjangoBackend
# (Default. Relies on Django and user manager, after the first login)
# – desktop.auth.backend.LdapBackend
# – desktop.auth.backend.PamBackend
# – desktop.auth.backend.SpnegoDjangoBackend
# – desktop.auth.backend.RemoteUserDjangoBackend
backend=desktop.auth.backend.AllowFirstUserDjangoBa


Viewing all articles
Browse latest Browse all 3435

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>