AnsweredAssumed Answered

Install & Integrate Sentry in MapR Sandbox

Question asked by sourav_das on Nov 7, 2016
Latest reply on Nov 28, 2016 by maprcommunity
I am trying to install Sentry in my MapR Sandbox before implementing in my Cluster .. This is to ensure that I didn't mess with user priviledges in development instance ... 
I was able to Install Sentry and Configure to use Database storage in my Sandbox.. I have MySQL in my MapR Sandbox..
Then I tried Integrating Sentry with Hive to start with .. Followed the below link 
I completed all the steps but there is an option to Restart Sentry Services , but I am unable to see any sentry services in my Sandbox node... Any idea why is this so ?
Then I tried to Integrate Sentry with Hue so that I could do the user managent activities .. Here also , I was able to complete all the steps following the below link 
Now , when I login to Hue and click on Security -> Sentry Tables , I am getting the below error .... 
Need a help on debugging this issue ...
 
AttributeError at /security/hive
'NoneType' object has no attribute 'get'
Request Method:GET
Request URL:http://192.168.153.132:8888/security/hive
Django Version:1.6.10
Exception Type:AttributeError
Exception Value:
'NoneType' object has no attribute 'get'
Exception Location:/opt/mapr/hue/hue-3.9.0/desktop/libs/libsentry/src/libsentry/sentry_site.py in get_sentry_server_admin_groups, line 74
Python Executable:/opt/mapr/hue/hue-3.9.0/build/env/bin/python2.6
Python Version:2.6.6
Python Path:
['/opt/mapr/hue/hue-3.9.0/build/env/bin',  '/opt/mapr/hue/hue-3.9.0/build/env/lib/python2.6/site-packages/Babel-0.9.6-py2.6.egg',  '/opt/mapr/hue/hue-3.9.0/build/env/lib/python2.6/site-packages/BabelDjango-0.2.2-py2.6.egg',  '/opt/mapr/hue/hue-3.9.0/build/env/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg',  '/opt/mapr/hue/hue-3.9.0/build/env/lib/python2.6/site-packages/Mako-0.8.1-py2.6.egg',  '/opt/mapr/hue/hue-3.9.0/build/env/lib/python2.6/site-packages/Markdown-2.0.3-py2.6.egg',  '/opt/mapr/hue/hue-3.9.0/build/env/lib/python2.6/site-packages/MarkupSafe-0.9.3-py2.6-linux-x86_64.egg',  '/opt/mapr/hue/hue-3.9.0/build/env/lib/python2.6/site-packages/MySQL_python-1.2.5-py2.6-linux-x86_64.egg',  '/opt/mapr/hue/hue-3.9.0/build/env/lib/python2.6/site-packages/Paste-2.0.1-py2.6.egg',  '/opt/mapr/hue/hue-3.9.0/build/env/lib/python2.6/site-packages/PyYAML-3.9-py2.6-linux-x86_64.egg',  '/opt/mapr/hue/hue-3.9.0/build/env/lib/python2.6/site-packages/Pygments-1.3.1-py2.6.egg',  '/opt/mapr/hue/hue-3.9.0/build/env/lib/python2.6/site-packages/South-1.0.2-py2.6.egg',  '/opt/mapr/hue/hue-3.9.0/build/env/lib/python2.6/site-packages/avro-1.7.6-py2.6.egg',  '/opt/mapr/hue/hue-3.9.0/build/env/lib/python2.6/site-packages/configobj-4.6.0-py2.6.egg',  '/opt/mapr/hue/hue-3.9.0/build/env/lib/python2.6/site-packages/django_auth_ldap-1.2.0-py2.6.egg',  '/opt/mapr/hue/hue-3.9.0/build/env/lib/python2.6/site-packages/django_extensions-1.5.0-py2.6.egg',  '/opt/mapr/hue/hue-3.9.0/build/env/lib/python2.6/site-packages/django_nose-1.3-py2.6.egg',  '/opt/mapr/hue/hue-3.9.0/build/env/lib/python2.6/site-packages/django_openid_auth-0.5-py2.6.egg',  '/opt/mapr/hue/hue-3.9.0/build/env/lib/python2.6/site-packages/djangosaml2-0.13.0-py2.6.egg',  '/opt/mapr/hue/hue-3.9.0/build/env/lib/python2.6/site-packages/elementtree-1.2.6.post20050316-py2.6.egg',  '/opt/mapr/hue/hue-3.9.0/build/env/lib/python2.6/site-packages/enum-0.4.4-py2.6.egg',  '/opt/mapr/hue/hue-3.9.0/build/env/lib/python2.6/site-packages/guppy-0.1.10-py2.6-linux-x86_64.egg',  '/opt/mapr/hue/hue-3.9.0/build/env/lib/python2.6/site-packages/httplib2-0.8-py2.6.egg',  '/opt/mapr/hue/hue-3.9.0/build/env/lib/python2.6/site-packages/kazoo-2.0-py2.6.egg',  '/opt/mapr/hue/hue-3.9.0/build/env/lib/python2.6/site-packages/kerberos-1.1.1-py2.6-linux-x86_64.egg',  '/opt/mapr/hue/hue-3.9.0/build/env/lib/python2.6/site-packages/lockfile-0.8-py2.6.egg',  '/opt/mapr/hue/hue-3.9.0/build/env/lib/python2.6/site-packages/lxml-2.2.2-py2.6-linux-x86_64.egg',  '/opt/mapr/hue/hue-3.9.0/build/env/lib/python2.6/site-packages/oauth2-1.5.211-py2.6.egg',  '/opt/mapr/hue/hue-3.9.0/build/env/lib/python2.6/site-packages/pam-0.1.3-py2.6.egg',  '/opt/mapr/hue/hue-3.9.0/build/env/lib/python2.6/site-packages/parquet-1.0-py2.6.egg',  '/opt/mapr/hue/hue-3.9.0/build/env/lib/python2.6/site-packages/protobuf-2.5.0-py2.6.egg',  '/opt/mapr/hue/hue-3.9.0/build/env/lib/python2.6/site-packages/pyOpenSSL-0.13-py2.6-linux-x86_64.egg',  '/opt/mapr/hue/hue-3.9.0/build/env/lib/python2.6/site-packages/pycrypto-2.6.1-py2.6-linux-x86_64.egg',  '/opt/mapr/hue/hue-3.9.0/build/env/lib/python2.6/site-packages/pyformance-0.3.2-py2.6.egg',  '/opt/mapr/hue/hue-3.9.0/build/env/lib/python2.6/site-packages/pysaml2-2.4.0-py2.6.egg',  '/opt/mapr/hue/hue-3.9.0/build/env/lib/python2.6/site-packages/pysqlite-2.5.5-py2.6-linux-x86_64.egg',  '/opt/mapr/hue/hue-3.9.0/build/env/lib/python2.6/site-packages/python_daemon-1.5.1-py2.6.egg',  '/opt/mapr/hue/hue-3.9.0/build/env/lib/python2.6/site-packages/python_dateutil-2.4.2-py2.6.egg',  '/opt/mapr/hue/hue-3.9.0/build/env/lib/python2.6/site-packages/python_ldap-2.3.13-py2.6-linux-x86_64.egg',  '/opt/mapr/hue/hue-3.9.0/build/env/lib/python2.6/site-packages/python_openid-2.2.5-py2.6.egg',  '/opt/mapr/hue/hue-3.9.0/build/env/lib/python2.6/site-packages/pytidylib-0.2.1-py2.6.egg',  '/opt/mapr/hue/hue-3.9.0/build/env/lib/python2.6/site-packages/pytz-2015.2-py2.6.egg',  '/opt/mapr/hue/hue-3.9.0/build/env/lib/python2.6/site-packages/requests-2.6.0-py2.6.egg',  '/opt/mapr/hue/hue-3.9.0/build/env/lib/python2.6/site-packages/requests_kerberos-0.6.1-py2.6.egg',  '/opt/mapr/hue/hue-3.9.0/build/env/lib/python2.6/site-packages/sasl-0.1.1-py2.6-linux-x86_64.egg',  '/opt/mapr/hue/hue-3.9.0/build/env/lib/python2.6/site-packages/simplejson-2.0.9-py2.6-linux-x86_64.egg',  '/opt/mapr/hue/hue-3.9.0/build/env/lib/python2.6/site-packages/six-1.9.0-py2.6.egg',  '/opt/mapr/hue/hue-3.9.0/build/env/lib/python2.6/site-packages/tablib-0.10.0-py2.6.egg',  '/opt/mapr/hue/hue-3.9.0/build/env/lib/python2.6/site-packages/thrift-0.9.1-py2.6-linux-x86_64.egg',  '/opt/mapr/hue/hue-3.9.0/build/env/lib/python2.6/site-packages/urllib2_kerberos-0.1.6-py2.6.egg',  '/opt/mapr/hue/hue-3.9.0/desktop/core/src',  '/opt/mapr/hue/hue-3.9.0/desktop/libs/hadoop/src',  '/opt/mapr/hue/hue-3.9.0/desktop/libs/indexer/src',  '/opt/mapr/hue/hue-3.9.0/desktop/libs/liboauth/src',  '/opt/mapr/hue/hue-3.9.0/desktop/libs/liboozie/src',  '/opt/mapr/hue/hue-3.9.0/desktop/libs/libopenid/src',  '/opt/mapr/hue/hue-3.9.0/desktop/libs/librdbms/src',  '/opt/mapr/hue/hue-3.9.0/desktop/libs/libsaml/src',  '/opt/mapr/hue/hue-3.9.0/desktop/libs/libsentry/src',  '/opt/mapr/hue/hue-3.9.0/desktop/libs/libsolr/src',  '/opt/mapr/hue/hue-3.9.0/desktop/libs/libzookeeper/src',  '/opt/mapr/hue/hue-3.9.0/build/env/lib/python26.zip',  '/opt/mapr/hue/hue-3.9.0/build/env/lib/python2.6',  '/opt/mapr/hue/hue-3.9.0/build/env/lib/python2.6/plat-linux2',  '/opt/mapr/hue/hue-3.9.0/build/env/lib/python2.6/lib-tk',  '/opt/mapr/hue/hue-3.9.0/build/env/lib/python2.6/lib-old',  '/opt/mapr/hue/hue-3.9.0/build/env/lib/python2.6/lib-dynload',  '/opt/mapr/hue/hue-3.9.0/build/env/lib/python2.6/site-packages',  '/opt/mapr/hue/hue-3.9.0/apps/about/src',  '/opt/mapr/hue/hue-3.9.0/apps/beeswax/src',  '/opt/mapr/hue/hue-3.9.0/apps/filebrowser/src',  '/opt/mapr/hue/hue-3.9.0/apps/hbase/src',  '/opt/mapr/hue/hue-3.9.0/apps/help/src',  '/opt/mapr/hue/hue-3.9.0/apps/impala/src',  '/opt/mapr/hue/hue-3.9.0/apps/jobbrowser/src',  '/opt/mapr/hue/hue-3.9.0/apps/jobsub/src',  '/opt/mapr/hue/hue-3.9.0/apps/metastore/src',  '/opt/mapr/hue/hue-3.9.0/apps/oozie/src',  '/opt/mapr/hue/hue-3.9.0/apps/pig/src',  '/opt/mapr/hue/hue-3.9.0/apps/proxy/src',  '/opt/mapr/hue/hue-3.9.0/apps/rdbms/src',  '/opt/mapr/hue/hue-3.9.0/apps/search/src',  '/opt/mapr/hue/hue-3.9.0/apps/security/src',  '/opt/mapr/hue/hue-3.9.0/apps/spark/src',  '/opt/mapr/hue/hue-3.9.0/apps/sqoop/src',  '/opt/mapr/hue/hue-3.9.0/apps/useradmin/src',  '/opt/mapr/hue/hue-3.9.0/apps/zookeeper/src',  '/opt/mapr/hue/hue-3.9.0/desktop/libs/libsentry/src/libsentry/../../gen-py',  '/opt/mapr/hue/hue-3.9.0/apps/beeswax/src/beeswax/../../gen-py',  '/opt/mapr/hue/hue-3.9.0/apps/hbase/src/hbase/../../gen-py',  '/opt/mapr/hue/hue-3.9.0/apps/jobbrowser/src/jobbrowser/../../gen-py',  '/opt/mapr/hue/hue-3.9.0/apps/proxy/src/proxy/../../gen-py',  '/opt/mapr/hue/hue-3.9.0/build/env/build/protobuf',  '/opt/mapr/hue/hue-3.9.0/build/env/lib']
Server time:Mon, 7 Nov 2016 09:59:11 -0800
  • /opt/mapr/hue/hue-3.9.0/build/env/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/core/handlers/base.py in get_response
    1.                     response = wrapped_callback(request, *callback_args, **callback_kwargs)...
  • /opt/mapr/hue/hue-3.9.0/build/env/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/db/transaction.py in inner
    1.                 return func(*args, **kwargs)...
  • /opt/mapr/hue/hue-3.9.0/apps/security/src/security/views.py in hive
    1.           'is_sentry_admin': request.user.groups.filter(name__in=get_sentry_server_admin_groups()).exists()...
  • /opt/mapr/hue/hue-3.9.0/desktop/libs/libsentry/src/libsentry/sentry_site.py in get_sentry_server_admin_groups
    1.   return get_conf().get(_CONF_SENTRY_SERVER_ADMIN_GROUP, 'mapr').split(',')...
Request information
GET
No GET data
POST
No POST data
FILES
No FILES data
COOKIES
VariableValue
__utmz
'86896216.1478517602.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)'
_dvp
'0:itya2v37:zhhR1YMhP5qiwemfwXGzSgOLQD0nrHv9'
_ga
'GA1.4.1092645031.1475754421'
__utmt
'1'
JSESSIONID
'c2ofyors43i61rkgygqpx5tfa'
sessionid
'rehwrj2ol7p8av6cz7nvfnws8y6zb09f'
loggedIn
'1'
MapRAuth
'qeheijifyftptasyjguqzdzpkqqchqunnghwaiwybpemttqakmpiubpstfrndiorwixpapeyhdjewkrjqapxhpvlqlreuyflznsjhvswsfoxnweeaicqsgihsqhtvmlr'
csrftoken
'EoiKVCoN8XITRbLURPVXK6SGwQZmINRD'
__utma
'86896216.1092645031.1475754421.1478517602.1478517602.1'
__utmb
'86896216.31.10.1478517602'
__utmc
'86896216'
META
VariableValue
HTTP_REFERER
'http://192.168.153.132:8888/beeswax/'
SERVER_SOFTWARE
'CherryPy/3.1.2 WSGI Server'
SCRIPT_NAME
u''
ACTUAL_SERVER_PROTOCOL
'HTTP/1.1'
REQUEST_METHOD
'GET'
PATH_INFO
u'/security/hive'
SERVER_PROTOCOL
'HTTP/1.1'
QUERY_STRING
''
REMOTE_ADDR
'192.168.153.1'
HTTP_USER_AGENT
'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.81 Safari/537.36'
HTTP_CONNECTION
'keep-alive'
HTTP_COOKIE
'_dvp=0:itya2v37:zhhR1YMhP5qiwemfwXGzSgOLQD0nrHv9; JSESSIONID=c2ofyors43i61rkgygqpx5tfa; MapRAuth=qeheijifyftptasyjguqzdzpkqqchqunnghwaiwybpemttqakmpiubpstfrndiorwixpapeyhdjewkrjqapxhpvlqlreuyflznsjhvswsfoxnweeaicqsgihsqhtvmlr; loggedIn=1; _ga=GA1.4.1092645031.1475754421; __utmt=1; sessionid=rehwrj2ol7p8av6cz7nvfnws8y6zb09f; csrftoken=EoiKVCoN8XITRbLURPVXK6SGwQZmINRD; __utma=86896216.1092645031.1475754421.1478517602.1478517602.1; __utmb=86896216.31.10.1478517602; __utmc=86896216; __utmz=86896216.1478517602.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)'
SERVER_NAME
'localhost'
REMOTE_PORT
'49431'
wsgi.url_scheme
'http'
SERVER_PORT
'8888'
wsgi.input
<desktop.lib.wsgiserver.SizeCheckWrapper object at 0x7f6e1d581d50>
HTTP_HOST
'192.168.153.132:8888'
wsgi.multithread
True
HTTP_ACCEPT
'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
wsgi.version
(1, 0)
wsgi.run_once
False
wsgi.errors
<open file '<stderr>', mode 'w' at 0x7f6e3b3a81e0>
wsgi.multiprocess
False
HTTP_ACCEPT_LANGUAGE
'en-US,en;q=0.8'
CSRF_COOKIE
u'EoiKVCoN8XITRbLURPVXK6SGwQZmINRD'
HTTP_ACCEPT_ENCODING
'gzip, deflate, sdch'
Settings
Using settings module desktop.settings
SettingValue
USE_L10N
True
USE_THOUSAND_SEPARATOR
False
CSRF_COOKIE_SECURE
False
LANGUAGE_CODE
'en-us'
ROOT_URLCONF
'desktop.urls'
MANAGERS
()
BASE_DIR
'/opt/mapr/hue/hue-3.9.0'
DEFAULT_CHARSET
'utf-8'
SESSION_SERIALIZER
'django.contrib.sessions.serializers.JSONSerializer'
STATIC_ROOT
'/opt/mapr/hue/hue-3.9.0/build/static'
ENV_DESKTOP_DEBUG
'DESKTOP_DEBUG'
ALLOWED_HOSTS
['*']
MESSAGE_STORAGE
'django.contrib.messages.storage.fallback.FallbackStorage'
EMAIL_SUBJECT_PREFIX
'[Django] '
SEND_BROKEN_LINK_EMAILS
False
STATICFILES_FINDERS
('django.contrib.staticfiles.finders.FileSystemFinder',  'django.contrib.staticfiles.finders.AppDirectoriesFinder')
SESSION_CACHE_ALIAS
'default'
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_NAME
'sessionid'
ADMIN_FOR
()
TIME_INPUT_FORMATS
('%H:%M:%S', '%H:%M:%S.%f', '%H:%M')
DATABASES
{'default': {'ATOMIC_REQUESTS': True,              'AUTOCOMMIT': True,              'CONN_MAX_AGE': 0,              'ENGINE': 'django.db.backends.sqlite3',              'HOST': '',              'NAME': '/opt/mapr/hue/hue-3.9.0/desktop/desktop.db',              'OPTIONS': {'timeout': 30},              'PASSWORD': u'********************',              'PORT': '',              'TEST_CHARSET': None,              'TEST_COLLATION': None,              'TEST_MIRROR': None,              'TEST_NAME': '/opt/mapr/hue/hue-3.9.0/desktop/desktop-test.db',              'TIME_ZONE': 'America/Los_Angeles',              'USER': ''}}
TEMPLATE_DEBUG
True
FILE_UPLOAD_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
('hadoop.fs.upload.HDFSfileUploadHandler',  'django.core.files.uploadhandler.MemoryFileUploadHandler',  'django.core.files.uploadhandler.TemporaryFileUploadHandler')
DEFAULT_CONTENT_TYPE
'text/html'
APPEND_SLASH
True
FIRST_DAY_OF_WEEK
0
OAUTH_AUTHENTICATION
False
YEAR_MONTH_FORMAT
'F Y'
STATICFILES_STORAGE
'django.contrib.staticfiles.storage.CachedStaticFilesStorage'
CACHES
{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',              'LOCATION': 'unique-hue'}}
SERVER_EMAIL
'hue@localhost.localdomain'
SESSION_COOKIE_PATH
'/'
MIDDLEWARE_CLASSES
['desktop.middleware.MetricsMiddleware',  'desktop.middleware.EnsureSafeMethodMiddleware',  'desktop.middleware.AuditLoggingMiddleware',  'django.middleware.common.CommonMiddleware',  'django.contrib.sessions.middleware.SessionMiddleware',  'django.contrib.auth.middleware.AuthenticationMiddleware',  'desktop.middleware.SpnegoMiddleware',  'desktop.middleware.HueRemoteUserMiddleware',  'django.middleware.locale.LocaleMiddleware',  'babeldjango.middleware.LocaleMiddleware',  'desktop.middleware.AjaxMiddleware',  'django.middleware.clickjacking.XFrameOptionsMiddleware',  'desktop.middleware.LoginAndPermissionMiddleware',  'django.contrib.messages.middleware.MessageMiddleware',  'desktop.middleware.NotificationMiddleware',  'desktop.middleware.ExceptionMiddleware',  'desktop.middleware.ClusterMiddleware',  'django.middleware.csrf.CsrfViewMiddleware',  'django.middleware.http.ConditionalGetMiddleware',  'desktop.middleware.EnsureSafeRedirectURLMiddleware']
USE_I18N
True
THOUSAND_SEPARATOR
','
SECRET_KEY
u'********************'
LANGUAGE_COOKIE_NAME
'django_language'
DEFAULT_INDEX_TABLESPACE
''
TRANSACTIONS_MANAGED
False
LOGGING_CONFIG
'django.utils.log.dictConfig'
TEMPLATE_LOADERS
('django.template.loaders.filesystem.Loader',  'django.template.loaders.app_directories.Loader')
WSGI_APPLICATION
None
DATABASE_ROUTERS
[]
X_FRAME_OPTIONS
'SAMEORIGIN'
CSRF_COOKIE_NAME
'csrftoken'
ENV_HUE_PROCESS_NAME
'HUE_PROCESS_NAME'
FORCE_SCRIPT_NAME
None
USE_X_FORWARDED_HOST
False
SIGNING_BACKEND
'django.core.signing.TimestampSigner'
SESSION_COOKIE_SECURE
False
OPENID_AUTHENTICATION
False
CSRF_COOKIE_DOMAIN
None
FILE_CHARSET
'utf-8'
DEBUG
True
SESSION_FILE_PATH
None
DEFAULT_FILE_STORAGE
'django.core.files.storage.FileSystemStorage'
INSTALLED_APPS
['django.contrib.auth',  'django_openid_auth',  'django.contrib.contenttypes',  'django.contrib.sessions',  'django.contrib.sites',  'django.contrib.staticfiles',  'django.contrib.admin',  'django_extensions',  'south',  'babeldjango',  'desktop',  'indexer',  'about',  'beeswax',  'filebrowser',  'hbase',  'help',  'jobbrowser',  'jobsub',  'metastore',  'oozie',  'proxy',  'rdbms',  'security',  'useradmin']
LANGUAGES
(('af', 'Afrikaans'),  ('ar', 'Arabic'),  ('az', 'Azerbaijani'),  ('bg', 'Bulgarian'),  ('be', 'Belarusian'),  ('bn', 'Bengali'),  ('br', 'Breton'),  ('bs', 'Bosnian'),  ('ca', 'Catalan'),  ('cs', 'Czech'),  ('cy', 'Welsh'),  ('da', 'Danish'),  ('de', 'German'),  ('el', 'Greek'),  ('en', 'English'),  ('en-gb', 'British English'),  ('eo', 'Esperanto'),  ('es', 'Spanish'),  ('es-ar', 'Argentinian Spanish'),  ('es-mx', 'Mexican Spanish'),  ('es-ni', 'Nicaraguan Spanish'),  ('es-ve', 'Venezuelan Spanish'),  ('et', 'Estonian'),  ('eu', 'Basque'),  ('fa', 'Persian'),  ('fi', 'Finnish'),  ('fr', 'French'),  ('fy-nl', 'Frisian'),  ('ga', 'Irish'),  ('gl', 'Galician'),  ('he', 'Hebrew'),  ('hi', 'Hindi'),  ('hr', 'Croatian'),  ('hu', 'Hungarian'),  ('ia', 'Interlingua'),  ('id', 'Indonesian'),  ('is', 'Icelandic'),  ('it', 'Italian'),  ('ja', 'Japanese'),  ('ka', 'Georgian'),  ('kk', 'Kazakh'),  ('km', 'Khmer'),  ('kn', 'Kannada'),  ('ko', 'Korean'),  ('lb', 'Luxembourgish'),  ('lt', 'Lithuanian'),  ('lv', 'Latvian'),  ('mk', 'Macedonian'),  ('ml', 'Malayalam'),  ('mn', 'Mongolian'),  ('my', 'Burmese'),  ('nb', 'Norwegian Bokmal'),  ('ne', 'Nepali'),  ('nl', 'Dutch'),  ('nn', 'Norwegian Nynorsk'),  ('os', 'Ossetic'),  ('pa', 'Punjabi'),  ('pl', 'Polish'),  ('pt', 'Portuguese'),  ('pt-br', 'Brazilian Portuguese'),  ('ro', 'Romanian'),  ('ru', 'Russian'),  ('sk', 'Slovak'),  ('sl', 'Slovenian'),  ('sq', 'Albanian'),  ('sr', 'Serbian'),  ('sr-latn', 'Serbian Latin'),  ('sv', 'Swedish'),  ('sw', 'Swahili'),  ('ta', 'Tamil'),  ('te', 'Telugu'),  ('th', 'Thai'),  ('tr', 'Turkish'),  ('tt', 'Tatar'),  ('udm', 'Udmurt'),  ('uk', 'Ukrainian'),  ('ur', 'Urdu'),  ('vi', 'Vietnamese'),  ('zh-cn', 'Simplified Chinese'),  ('zh-tw', 'Traditional Chinese'))
COMMENTS_ALLOW_PROFANITIES
False
STATICFILES_DIRS
('/opt/mapr/hue/hue-3.9.0/desktop/libs/indexer/src/indexer/static',  '/opt/mapr/hue/hue-3.9.0/desktop/libs/liboauth/src/liboauth/static')
PREPEND_WWW
False
SECURE_PROXY_SSL_HEADER
None
PASSWORD_RESET_TIMEOUT_DAYS
u'********************'
NICE_NAME
'Hue'
SESSION_COOKIE_HTTPONLY
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DEFAULT_USER
'mapr'
MONTH_DAY_FORMAT
'F j'
LOGIN_URL
'/accounts/login/'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
TIME_FORMAT
'P'
SKIP_SOUTH_TESTS
True
AUTH_USER_MODEL
'auth.User'
DATE_INPUT_FORMATS
('%Y-%m-%d',  '%m/%d/%Y',  '%m/%d/%y',  '%b %d %Y',  '%b %d, %Y',  '%d %b %Y',  '%d %b, %Y',  '%B %d %Y',  '%B %d, %Y',  '%d %B %Y',  '%d %B, %Y')
AUTHENTICATION_BACKENDS
('desktop.auth.backend.AllowFirstUserDjangoBackend',)
EMAIL_HOST_PASSWORD
u'********************'
AUTH_PROFILE_MODULE
None
CACHE_MIDDLEWARE_ALIAS
'default'
SESSION_SAVE_EVERY_REQUEST
False
NUMBER_GROUPING
0
SESSION_ENGINE
'django.contrib.sessions.backends.db'
CSRF_FAILURE_VIEW
'desktop.views.csrf_failure'
CSRF_COOKIE_PATH
'/'
LOGIN_REDIRECT_URL
'/'
DECIMAL_SEPARATOR
'.'
IGNORABLE_404_URLS
()
NOSE_ARGS
['--cover-package=indexer,about,beeswax,filebrowser,hbase,help,jobbrowser,jobsub,metastore,oozie,proxy,rdbms,security,useradmin,hadoop,liboauth,liboozie,libopenid,librdbms,libsaml,libsentry,libsolr,libzookeeper',  '--no-path-adjustment',  '--traverse-namespace']
LOCALE_PATHS
['/opt/mapr/hue/hue-3.9.0/desktop/core/src/desktop/locale',  '/opt/mapr/hue/hue-3.9.0/desktop/libs/hadoop/src/hadoop/locale',  '/opt/mapr/hue/hue-3.9.0/desktop/libs/liboauth/src/liboauth/locale',  '/opt/mapr/hue/hue-3.9.0/desktop/libs/liboozie/src/liboozie/locale',  '/opt/mapr/hue/hue-3.9.0/desktop/libs/libopenid/src/libopenid/locale',  '/opt/mapr/hue/hue-3.9.0/desktop/libs/librdbms/src/librdbms/locale',  '/opt/mapr/hue/hue-3.9.0/desktop/libs/libsaml/src/libsaml/locale',  '/opt/mapr/hue/hue-3.9.0/desktop/libs/libsentry/src/libsentry/locale',  '/opt/mapr/hue/hue-3.9.0/desktop/libs/libsolr/src/libsolr/locale',  '/opt/mapr/hue/hue-3.9.0/desktop/libs/libzookeeper/src/libzookeeper/locale',  '/opt/mapr/hue/hue-3.9.0/desktop/libs/indexer/src/indexer/locale',  '/opt/mapr/hue/hue-3.9.0/apps/about/src/about/locale',  '/opt/mapr/hue/hue-3.9.0/apps/beeswax/src/beeswax/locale',  '/opt/mapr/hue/hue-3.9.0/apps/filebrowser/src/filebrowser/locale',  '/opt/mapr/hue/hue-3.9.0/apps/hbase/src/hbase/locale',  '/opt/mapr/hue/hue-3.9.0/apps/help/src/help/locale',  '/opt/mapr/hue/hue-3.9.0/apps/jobbrowser/src/jobbrowser/locale',  '/opt/mapr/hue/hue-3.9.0/apps/jobsub/src/jobsub/locale',  '/opt/mapr/hue/hue-3.9.0/apps/metastore/src/metastore/locale',  '/opt/mapr/hue/hue-3.9.0/apps/oozie/src/oozie/locale',  '/opt/mapr/hue/hue-3.9.0/apps/proxy/src/proxy/locale',  '/opt/mapr/hue/hue-3.9.0/apps/rdbms/src/rdbms/locale',  '/opt/mapr/hue/hue-3.9.0/apps/security/src/security/locale',  '/opt/mapr/hue/hue-3.9.0/apps/useradmin/src/useradmin/locale']
TEMPLATE_STRING_IF_INVALID
''
LOGOUT_URL
'/accounts/logout/'
EMAIL_USE_TLS
False
HUE_DESKTOP_VERSION
'3.9.0'
FIXTURE_DIRS
()
EMAIL_HOST
'localhost'
DATE_FORMAT
'N j, Y'
MEDIA_ROOT
''
DEFAULT_EXCEPTION_REPORTER_FILTER
'django.views.debug.SafeExceptionReporterFilter'
ADMINS
()
FORMAT_MODULE_PATH
None
DEFAULT_FROM_EMAIL
'hue@maprdemo'
MEDIA_URL
''
DATETIME_FORMAT
'N j, Y, P'
TEMPLATE_DIRS
('/opt/mapr/hue/hue-3.9.0/desktop/core/templates',)
SITE_ID
1
DISALLOWED_USER_AGENTS
()
ALLOWED_INCLUDE_ROOTS
()
LOGGING
{}
PYLINTRC
'/opt/mapr/hue/hue-3.9.0/desktop/.pylintrc'
SHORT_DATE_FORMAT
'm/d/Y'
LOGOUT_REDIRECT_URL
'/'
TEST_RUNNER
'desktop.lib.test_runners.HueTestRunner'
CACHE_MIDDLEWARE_KEY_PREFIX
u'********************'
TIME_ZONE
'America/Los_Angeles'
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
EMAIL_BACKEND
'django.core.mail.backends.smtp.EmailBackend'
DEFAULT_TABLESPACE
''
TEMPLATE_CONTEXT_PROCESSORS
('django.contrib.auth.context_processors.auth',  'django.core.context_processors.debug',  'django.core.context_processors.i18n',  'django.core.context_processors.media',  'django.core.context_processors.request',  'django.contrib.messages.context_processors.messages',  'desktop.context_processors.app_name')
DEFAULT_HDFS_SUPERUSER
'mapr'
SESSION_COOKIE_AGE
1209600
SETTINGS_MODULE
'desktop.settings'
USE_ETAGS
False
LANGUAGES_BIDI
('he', 'ar', 'fa', 'ur')
FILE_UPLOAD_TEMP_DIR
None
INTERNAL_IPS
()
STATIC_URL
'/static/'
EMAIL_PORT
25
USE_TZ
False
SHORT_DATETIME_FORMAT
'm/d/Y P'
SAML_AUTHENTICATION
False
PASSWORD_HASHERS
u'********************'
ABSOLUTE_URL_OVERRIDES
{}
CACHE_MIDDLEWARE_SECONDS
600
CSRF_COOKIE_HTTPONLY
False
DATETIME_INPUT_FORMATS
('%Y-%m-%d %H:%M:%S',  '%Y-%m-%d %H:%M:%S.%f',  '%Y-%m-%d %H:%M',  '%Y-%m-%d',  '%m/%d/%Y %H:%M:%S',  '%m/%d/%Y %H:%M:%S.%f',  '%m/%d/%Y %H:%M',  '%m/%d/%Y',  '%m/%d/%y %H:%M:%S',  '%m/%d/%y %H:%M:%S.%f',  '%m/%d/%y %H:%M',  '%m/%d/%y')
EMAIL_HOST_USER
''
PROFANITIES_LIST
u'********************'
You're seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard 500 page.

Outcomes