AnsweredAssumed Answered

Hue on MAPR 4.1.0 (CentOS 6.6) Fails with Database error:  "no such table: search_collection"

Question asked by traiano on Jun 16, 2015
Hi All

 I'm evaluating MAPR v. 4.1.0.31175.GA  using a 4 node cluster. Installation completed successfully, however when I tried install Impala, using this guide:

 http://doc.mapr.com/display/MapR/Configuring+Hue+3.x+with+Impala

 Together with the hive install guide:

 http://doc.mapr.com/display/MapR/Installing+Hive

And the  HUE configuration guide: http://doc.mapr.com/display/MapR/Configuring+Hue+3.x+with+Impala

And try to restart hue and log in, HUE fails with this error message:

---
DatabaseError at /about/
no such table: search_collection
Request Method: GET
Request URL: http://kwtpoc-mapr-nde4.hadoop.local:8888/about/
Django Version: 1.4.5
Exception Type: DatabaseError
Exception Value:
no such table: search_collection
Exception Location: /opt/mapr/hue/hue-3.7.0/build/env/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/db/backends/sqlite3/base.py in execute, line 344
Python Executable: /opt/mapr/hue/hue-3.7.0/build/env/bin/python2.6
Python Version: 2.6.6
---

Why would this happen, and more importantly, how do I fix it to have HUE smoothly integrating Impala on MAPR 4.1 ?

Here is the full dump for further analysis:

---
DatabaseError at /about/
no such table: search_collection
Request Method: GET
Request URL: http://kwtpoc-mapr-nde4.hadoop.local:8888/about/
Django Version: 1.4.5
Exception Type: DatabaseError
Exception Value:
no such table: search_collection
Exception Location: /opt/mapr/hue/hue-3.7.0/build/env/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/db/backends/sqlite3/base.py in execute, line 344
Python Executable: /opt/mapr/hue/hue-3.7.0/build/env/bin/python2.6
Python Version: 2.6.6
Python Path:
['/opt/mapr/hue/hue-3.7.0/build/env/bin',
 '/opt/mapr/hue/hue-3.7.0/build/env/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg',
 '/opt/mapr/hue/hue-3.7.0/build/env/lib/python2.6/site-packages/pip-0.6.3-py2.6.egg',
 '/opt/mapr/hue/hue-3.7.0/build/env/lib/python2.6/site-packages/Babel-0.9.6-py2.6.egg',
 '/opt/mapr/hue/hue-3.7.0/build/env/lib/python2.6/site-packages/BabelDjango-0.2.2-py2.6.egg',
 '/opt/mapr/hue/hue-3.7.0/build/env/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg',
 '/opt/mapr/hue/hue-3.7.0/build/env/lib/python2.6/site-packages/Mako-0.8.1-py2.6.egg',
 '/opt/mapr/hue/hue-3.7.0/build/env/lib/python2.6/site-packages/Markdown-2.0.3-py2.6.egg',
 '/opt/mapr/hue/hue-3.7.0/build/env/lib/python2.6/site-packages/MarkupSafe-0.9.3-py2.6-linux-x86_64.egg',
 '/opt/mapr/hue/hue-3.7.0/build/env/lib/python2.6/site-packages/MySQL_python-1.2.3c1-py2.6-linux-x86_64.egg',
 '/opt/mapr/hue/hue-3.7.0/build/env/lib/python2.6/site-packages/Paste-1.7.2-py2.6.egg',
 '/opt/mapr/hue/hue-3.7.0/build/env/lib/python2.6/site-packages/PyYAML-3.09-py2.6-linux-x86_64.egg',
 '/opt/mapr/hue/hue-3.7.0/build/env/lib/python2.6/site-packages/Pygments-1.3.1-py2.6.egg',
 '/opt/mapr/hue/hue-3.7.0/build/env/lib/python2.6/site-packages/South-0.8.2-py2.6.egg',
 '/opt/mapr/hue/hue-3.7.0/build/env/lib/python2.6/site-packages/avro-1.7.6-py2.6.egg',
 '/opt/mapr/hue/hue-3.7.0/build/env/lib/python2.6/site-packages/configobj-4.6.0-py2.6.egg',
 '/opt/mapr/hue/hue-3.7.0/build/env/lib/python2.6/site-packages/django_auth_ldap-1.2.0-py2.6.egg',
 '/opt/mapr/hue/hue-3.7.0/build/env/lib/python2.6/site-packages/django_extensions-0.5-py2.6.egg',
 '/opt/mapr/hue/hue-3.7.0/build/env/lib/python2.6/site-packages/django_nose-1.2-py2.6.egg',
 '/opt/mapr/hue/hue-3.7.0/build/env/lib/python2.6/site-packages/django_openid_auth-0.5-py2.6.egg',
 '/opt/mapr/hue/hue-3.7.0/build/env/lib/python2.6/site-packages/elementtree-1.2.6_20050316-py2.6.egg',
 '/opt/mapr/hue/hue-3.7.0/build/env/lib/python2.6/site-packages/enum-0.4.4-py2.6.egg',
 '/opt/mapr/hue/hue-3.7.0/build/env/lib/python2.6/site-packages/guppy-0.1.10-py2.6-linux-x86_64.egg',
 '/opt/mapr/hue/hue-3.7.0/build/env/lib/python2.6/site-packages/httplib2-0.8-py2.6.egg',
 '/opt/mapr/hue/hue-3.7.0/build/env/lib/python2.6/site-packages/kerberos-1.1.1-py2.6-linux-x86_64.egg',
 '/opt/mapr/hue/hue-3.7.0/build/env/lib/python2.6/site-packages/lockfile-0.8-py2.6.egg',
 '/opt/mapr/hue/hue-3.7.0/build/env/lib/python2.6/site-packages/lxml-2.2.2-py2.6-linux-x86_64.egg',
 '/opt/mapr/hue/hue-3.7.0/build/env/lib/python2.6/site-packages/oauth2-1.5.211-py2.6.egg',
 '/opt/mapr/hue/hue-3.7.0/build/env/lib/python2.6/site-packages/pam-0.1.3-py2.6.egg',
 '/opt/mapr/hue/hue-3.7.0/build/env/lib/python2.6/site-packages/parquet-1.0-py2.6.egg',
 '/opt/mapr/hue/hue-3.7.0/build/env/lib/python2.6/site-packages/pyOpenSSL-0.13-py2.6-linux-x86_64.egg',
 '/opt/mapr/hue/hue-3.7.0/build/env/lib/python2.6/site-packages/pysqlite-2.5.5-py2.6-linux-x86_64.egg',
 '/opt/mapr/hue/hue-3.7.0/build/env/lib/python2.6/site-packages/python_daemon-1.5.1-py2.6.egg',
 '/opt/mapr/hue/hue-3.7.0/build/env/lib/python2.6/site-packages/python_dateutil-1.5-py2.6.egg',
 '/opt/mapr/hue/hue-3.7.0/build/env/lib/python2.6/site-packages/python_ldap-2.3.13-py2.6-linux-x86_64.egg',
 '/opt/mapr/hue/hue-3.7.0/build/env/lib/python2.6/site-packages/python_openid-2.2.5-py2.6.egg',
 '/opt/mapr/hue/hue-3.7.0/build/env/lib/python2.6/site-packages/pytidylib-0.2.1-py2.6.egg',
 '/opt/mapr/hue/hue-3.7.0/build/env/lib/python2.6/site-packages/pytz-2014.2-py2.6.egg',
 '/opt/mapr/hue/hue-3.7.0/build/env/lib/python2.6/site-packages/requests-2.0.0-py2.6.egg',
 '/opt/mapr/hue/hue-3.7.0/build/env/lib/python2.6/site-packages/requests_kerberos-0.3-py2.6.egg',
 '/opt/mapr/hue/hue-3.7.0/build/env/lib/python2.6/site-packages/sasl-0.1.1-py2.6-linux-x86_64.egg',
 '/opt/mapr/hue/hue-3.7.0/build/env/lib/python2.6/site-packages/simplejson-2.0.9-py2.6-linux-x86_64.egg',
 '/opt/mapr/hue/hue-3.7.0/build/env/lib/python2.6/site-packages/tablib-0.9.11-py2.6.egg',
 '/opt/mapr/hue/hue-3.7.0/build/env/lib/python2.6/site-packages/threadframe-0.2-py2.6-linux-x86_64.egg',
 '/opt/mapr/hue/hue-3.7.0/build/env/lib/python2.6/site-packages/thrift-0.9.1-py2.6-linux-x86_64.egg',
 '/opt/mapr/hue/hue-3.7.0/build/env/lib/python2.6/site-packages/urllib2_kerberos-0.1.6-py2.6.egg',
 '/opt/mapr/hue/hue-3.7.0/desktop/core/src',
 '/opt/mapr/hue/hue-3.7.0/desktop/libs/hadoop/src',
 '/opt/mapr/hue/hue-3.7.0/desktop/libs/liboozie/src',
 '/opt/mapr/hue/hue-3.7.0/desktop/libs/libsaml/src',
 '/opt/mapr/hue/hue-3.7.0/desktop/libs/librdbms/src',
 '/opt/mapr/hue/hue-3.7.0/desktop/libs/libopenid/src',
 '/opt/mapr/hue/hue-3.7.0/desktop/libs/liboauth/src',
 '/opt/mapr/hue/hue-3.7.0/desktop/libs/libsolr/src',
 '/opt/mapr/hue/hue-3.7.0/desktop/libs/libsentry/src',
 '/opt/mapr/hue/hue-3.7.0/desktop/libs/indexer/src',
 '/opt/mapr/hue/hue-3.7.0/build/env/lib/python26.zip',
 '/opt/mapr/hue/hue-3.7.0/build/env/lib/python2.6',
 '/opt/mapr/hue/hue-3.7.0/build/env/lib/python2.6/plat-linux2',
 '/opt/mapr/hue/hue-3.7.0/build/env/lib/python2.6/lib-tk',
 '/opt/mapr/hue/hue-3.7.0/build/env/lib/python2.6/lib-old',
 '/opt/mapr/hue/hue-3.7.0/build/env/lib/python2.6/lib-dynload',
 '/opt/mapr/hue/hue-3.7.0/build/env/lib/python2.6/site-packages',
 '/opt/mapr/hue/hue-3.7.0/apps/about/src',
 '/opt/mapr/hue/hue-3.7.0/apps/beeswax/src',
 '/opt/mapr/hue/hue-3.7.0/apps/filebrowser/src',
 '/opt/mapr/hue/hue-3.7.0/apps/hbase/src',
 '/opt/mapr/hue/hue-3.7.0/apps/help/src',
 '/opt/mapr/hue/hue-3.7.0/apps/impala/src',
 '/opt/mapr/hue/hue-3.7.0/apps/jobbrowser/src',
 '/opt/mapr/hue/hue-3.7.0/apps/jobsub/src',
 '/opt/mapr/hue/hue-3.7.0/apps/metastore/src',
 '/opt/mapr/hue/hue-3.7.0/apps/oozie/src',
 '/opt/mapr/hue/hue-3.7.0/apps/pig/src',
 '/opt/mapr/hue/hue-3.7.0/apps/proxy/src',
 '/opt/mapr/hue/hue-3.7.0/apps/rdbms/src',
 '/opt/mapr/hue/hue-3.7.0/apps/search/src',
 '/opt/mapr/hue/hue-3.7.0/apps/security/src',
 '/opt/mapr/hue/hue-3.7.0/apps/spark/src',
 '/opt/mapr/hue/hue-3.7.0/apps/sqoop/src',
 '/opt/mapr/hue/hue-3.7.0/apps/useradmin/src',
 '/opt/mapr/hue/hue-3.7.0/apps/zookeeper/src',
 '/opt/mapr/hue/hue-3.7.0/desktop/libs/libsentry/src/libsentry/../../gen-py',
 '/opt/mapr/hue/hue-3.7.0/apps/beeswax/src/beeswax/../../gen-py',
 '/opt/mapr/hue/hue-3.7.0/apps/jobbrowser/src/jobbrowser/../../gen-py',
 '/opt/mapr/hue/hue-3.7.0/apps/proxy/src/proxy/../../gen-py',
 '/opt/mapr/hue/hue-3.7.0/build/env/build/protobuf',
 '/opt/mapr/hue/hue-3.7.0/build/env/lib']
Server time: Tue, 16 Jun 2015 11:59:36 -0700
Traceback Switch to copy-and-paste view

/opt/mapr/hue/hue-3.7.0/build/env/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/core/handlers/base.py in get_response
                        response = callback(request, *callback_args, **callback_kwargs) ...
â–¶ Local vars
/opt/mapr/hue/hue-3.7.0/apps/about/src/about/views.py in admin_wizard
      'collect_usage': collect_usage(), ...
â–¶ Local vars
/opt/mapr/hue/hue-3.7.0/desktop/core/src/desktop/lib/django_util.py in render
                               **kwargs) ...
â–¶ Local vars
/opt/mapr/hue/hue-3.7.0/desktop/core/src/desktop/lib/django_util.py in _render_to_response
    return django_mako.render_to_response(template, *args, **kwargs) ...
â–¶ Local vars
/opt/mapr/hue/hue-3.7.0/desktop/core/src/desktop/lib/django_mako.py in render_to_response
  return HttpResponse(render_to_string(template_name, data_dictionary), **kwargs) ...
â–¶ Local vars
/opt/mapr/hue/hue-3.7.0/desktop/core/src/desktop/lib/django_mako.py in render_to_string_normal
  result = template.render(**data_dict) ...
â–¶ Local vars
/opt/mapr/hue/hue-3.7.0/build/env/lib/python2.6/site-packages/Mako-0.8.1-py2.6.egg/mako/template.py in render
        return runtime._render(self, self.callable_, args, data) ...
â–¶ Local vars
/opt/mapr/hue/hue-3.7.0/build/env/lib/python2.6/site-packages/Mako-0.8.1-py2.6.egg/mako/runtime.py in _render
                            **_kwargs_for_callable(callable_, data)) ...
â–¶ Local vars
/opt/mapr/hue/hue-3.7.0/build/env/lib/python2.6/site-packages/Mako-0.8.1-py2.6.egg/mako/runtime.py in _render_context
        _exec_template(inherit, lclcontext, args=args, kwargs=kwargs) ...
â–¶ Local vars
/opt/mapr/hue/hue-3.7.0/build/env/lib/python2.6/site-packages/Mako-0.8.1-py2.6.egg/mako/runtime.py in _exec_template
        callable_(context, *args, **kwargs) ...
â–¶ Local vars
/tmp/tmpdYNVlw/about/admin_wizard.mako.py in render_body
        __M_writer(unicode( commonheader(_('Quick Start'), "quickstart", user) )) ...
â–¶ Local vars
/opt/mapr/hue/hue-3.7.0/desktop/core/src/desktop/views.py in commonheader
    'is_demo': desktop.conf.DEMO_ENABLED.get() ...
â–¶ Local vars
/opt/mapr/hue/hue-3.7.0/desktop/core/src/desktop/lib/django_mako.py in render_to_string_normal
  result = template.render(**data_dict) ...
â–¶ Local vars
/opt/mapr/hue/hue-3.7.0/build/env/lib/python2.6/site-packages/Mako-0.8.1-py2.6.egg/mako/template.py in render
        return runtime._render(self, self.callable_, args, data) ...
â–¶ Local vars
/opt/mapr/hue/hue-3.7.0/build/env/lib/python2.6/site-packages/Mako-0.8.1-py2.6.egg/mako/runtime.py in _render
                            **_kwargs_for_callable(callable_, data)) ...
â–¶ Local vars
/opt/mapr/hue/hue-3.7.0/build/env/lib/python2.6/site-packages/Mako-0.8.1-py2.6.egg/mako/runtime.py in _render_context
        _exec_template(inherit, lclcontext, args=args, kwargs=kwargs) ...
â–¶ Local vars
/opt/mapr/hue/hue-3.7.0/build/env/lib/python2.6/site-packages/Mako-0.8.1-py2.6.egg/mako/runtime.py in _exec_template
        callable_(context, *args, **kwargs) ...
â–¶ Local vars
/tmp/tmpdYNVlw/desktop/common_header.mako.py in render_body
                if not collections: ...
â–¶ Local vars
/opt/mapr/hue/hue-3.7.0/build/env/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/db/models/query.py in __nonzero__
            iter(self).next() ...
â–¶ Local vars
/opt/mapr/hue/hue-3.7.0/build/env/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/db/models/query.py in _result_iter
                self._fill_cache() ...
â–¶ Local vars
/opt/mapr/hue/hue-3.7.0/build/env/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/db/models/query.py in _fill_cache
                    self._result_cache.append(self._iter.next()) ...
â–¶ Local vars
/opt/mapr/hue/hue-3.7.0/build/env/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/db/models/query.py in iterator
        for row in compiler.results_iter(): ...
â–¶ Local vars
/opt/mapr/hue/hue-3.7.0/build/env/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/db/models/sql/compiler.py in results_iter
        for rows in self.execute_sql(MULTI): ...
â–¶ Local vars
/opt/mapr/hue/hue-3.7.0/build/env/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/db/models/sql/compiler.py in execute_sql
        cursor.execute(sql, params) ...
â–¶ Local vars
/opt/mapr/hue/hue-3.7.0/build/env/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/db/backends/util.py in execute
            return self.cursor.execute(sql, params) ...
â–¶ Local vars
/opt/mapr/hue/hue-3.7.0/build/env/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/db/backends/sqlite3/base.py in execute
            return Database.Cursor.execute(self, query, params) ...
â–¶ Local vars
Request information

GET
No GET data
POST
No POST data
FILES
No FILES data
COOKIES
Variable Value
__utmz
'31642276.1434455210.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)'
__utma
'31642276.1096534343.1434455210.1434474362.1434478753.6'
__utmb
'31642276.6.10.1434478753'
__utmc
'31642276'
sessionid
'18725e82653c9e58a5ac3f44bc4a6440'
META
Variable Value
HTTP_COOKIE
'__utma=31642276.1096534343.1434455210.1434474362.1434478753.6; __utmb=31642276.6.10.1434478753; __utmc=31642276; __utmz=31642276.1434455210.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); sessionid=18725e82653c9e58a5ac3f44bc4a6440'
SERVER_SOFTWARE
'CherryPy/3.1.2 WSGI Server'
SCRIPT_NAME
u''
ACTUAL_SERVER_PROTOCOL
'HTTP/1.1'
REQUEST_METHOD
'GET'
PATH_INFO
u'/about/'
SERVER_PROTOCOL
'HTTP/1.1'
QUERY_STRING
''
REMOTE_ADDR
'10.14.86.82'
HTTP_USER_AGENT
'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.81 Safari/537.36'
HTTP_CONNECTION
'keep-alive'
SERVER_NAME
'localhost'
REMOTE_PORT
'56491'
wsgi.url_scheme
'http'
SERVER_PORT
'8888'
wsgi.input

HTTP_HOST
'kwtpoc-mapr-nde4.hadoop.local:8888'
wsgi.multithread
True
HTTP_CACHE_CONTROL
'max-age=0'
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

wsgi.multiprocess
False
HTTP_ACCEPT_LANGUAGE
'en-US,en;q=0.8,th;q=0.6'
HTTP_ACCEPT_ENCODING
'gzip, deflate, sdch'
Settings
Using settings module desktop.settings
Setting Value
USE_L10N
True
USE_THOUSAND_SEPARATOR
False
CSRF_COOKIE_SECURE
False
LANGUAGE_CODE
'en-us'
ROOT_URLCONF
'desktop.urls'
MANAGERS
()
DEFAULT_CHARSET
'utf-8'
STATIC_ROOT
''
ENV_DESKTOP_DEBUG
'DESKTOP_DEBUG'
ALLOWED_HOSTS
['*']
MESSAGE_STORAGE
'django.contrib.messages.storage.fallback.FallbackStorage'
EMAIL_SUBJECT_PREFIX
'[Django] '
SEND_BROKEN_LINK_EMAILS
False
URL_VALIDATOR_USER_AGENT
'Django/1.4.5 (https://www.djangoproject.com)'
STATICFILES_FINDERS
('django.contrib.staticfiles.finders.FileSystemFinder',
 'django.contrib.staticfiles.finders.AppDirectoriesFinder')
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_NAME
'sessionid'
ADMIN_FOR
()
TIME_INPUT_FORMATS
('%H:%M:%S', '%H:%M')
DATABASES
{'default': {'ENGINE': 'django.db.backends.sqlite3',
             'HOST': '',
             'NAME': '/opt/mapr/hue/hue-3.7.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.7.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.StaticFilesStorage'
CACHES
{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
             'LOCATION': ''}}
SERVER_EMAIL
'hue@localhost.localdomain'
SESSION_COOKIE_PATH
'/'
USE_X_FORWARDED_HOST
False
MIDDLEWARE_CLASSES
['desktop.middleware.EnsureSafeMethodMiddleware',
 'desktop.middleware.DatabaseLoggingMiddleware',
 'desktop.middleware.AuditLoggingMiddleware',
 'django.middleware.common.CommonMiddleware',
 'desktop.middleware.SessionOverPostMiddleware',
 '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',
 'desktop.middleware.LoginAndPermissionMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware',
 'desktop.middleware.NotificationMiddleware',
 'desktop.middleware.JFrameMiddleware',
 'desktop.middleware.ExceptionMiddleware',
 'desktop.middleware.ClusterMiddleware',
 'desktop.middleware.AppSpecificMiddleware',
 'django.middleware.transaction.TransactionMiddleware']
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'
AUTHENTICATION_BACKENDS
('desktop.auth.backend.PamBackend',)
ENV_HUE_PROCESS_NAME
'HUE_PROCESS_NAME'
FORCE_SCRIPT_NAME
None
CACHE_BACKEND
'locmem://'
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.admin',
 'django_extensions',
 'south',
 'babeldjango',
 'desktop',
 'indexer',
 'about',
 'beeswax',
 'filebrowser',
 'hbase',
 'help',
 'impala',
 'jobbrowser',
 'jobsub',
 'metastore',
 'oozie',
 'pig',
 'proxy',
 'rdbms',
 'search',
 'security',
 'spark',
 'sqoop',
 'useradmin',
 'zookeeper']
LANGUAGES
(('ar', 'Arabic'),
 ('az', 'Azerbaijani'),
 ('bg', 'Bulgarian'),
 ('bn', 'Bengali'),
 ('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'),
 ('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'),
 ('id', 'Indonesian'),
 ('is', 'Icelandic'),
 ('it', 'Italian'),
 ('ja', 'Japanese'),
 ('ka', 'Georgian'),
 ('kk', 'Kazakh'),
 ('km', 'Khmer'),
 ('kn', 'Kannada'),
 ('ko', 'Korean'),
 ('lt', 'Lithuanian'),
 ('lv', 'Latvian'),
 ('mk', 'Macedonian'),
 ('ml', 'Malayalam'),
 ('mn', 'Mongolian'),
 ('nb', 'Norwegian Bokmal'),
 ('ne', 'Nepali'),
 ('nl', 'Dutch'),
 ('nn', 'Norwegian Nynorsk'),
 ('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'),
 ('uk', 'Ukrainian'),
 ('ur', 'Urdu'),
 ('vi', 'Vietnamese'),
 ('zh-cn', 'Simplified Chinese'),
 ('zh-tw', 'Traditional Chinese'))
COMMENTS_ALLOW_PROFANITIES
False
STATICFILES_DIRS
()
PREPEND_WWW
False
SECURE_PROXY_SSL_HEADER
None
PASSWORD_RESET_TIMEOUT_DAYS
u'********************'
NICE_NAME
'Hue'
SESSION_COOKIE_HTTPONLY
False
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
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')
CSRF_COOKIE_NAME
'csrftoken'
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
'django.views.csrf.csrf_failure'
CSRF_COOKIE_PATH
'/'
LOGIN_REDIRECT_URL
'/'
LOGGING
{'disable_existing_loggers': False,
 'filters': {'require_debug_false': {'()': 'django.utils.log.RequireDebugFalse'}},
 'handlers': {'mail_admins': {'class': 'django.utils.log.AdminEmailHandler',
                              'filters': ['require_debug_false'],
                              'level': 'ERROR'}},
 'loggers': {'django.request': {'handlers': ['mail_admins'],
                                'level': 'ERROR',
                                'propagate': True}},
 'version': 1}
IGNORABLE_404_URLS
()
LOCALE_PATHS
['/opt/mapr/hue/hue-3.7.0/desktop/core/src/desktop/locale',
 '/opt/mapr/hue/hue-3.7.0/desktop/libs/hadoop/src/hadoop/locale',
 '/opt/mapr/hue/hue-3.7.0/desktop/libs/liboozie/src/liboozie/locale',
 '/opt/mapr/hue/hue-3.7.0/desktop/libs/libsaml/src/libsaml/locale',
 '/opt/mapr/hue/hue-3.7.0/desktop/libs/librdbms/src/librdbms/locale',
 '/opt/mapr/hue/hue-3.7.0/desktop/libs/libopenid/src/libopenid/locale',
 '/opt/mapr/hue/hue-3.7.0/desktop/libs/liboauth/src/liboauth/locale',
 '/opt/mapr/hue/hue-3.7.0/desktop/libs/libsolr/src/libsolr/locale',
 '/opt/mapr/hue/hue-3.7.0/desktop/libs/libsentry/src/libsentry/locale',
 '/opt/mapr/hue/hue-3.7.0/desktop/libs/indexer/src/indexer/locale',
 '/opt/mapr/hue/hue-3.7.0/apps/about/src/about/locale',
 '/opt/mapr/hue/hue-3.7.0/apps/beeswax/src/beeswax/locale',
 '/opt/mapr/hue/hue-3.7.0/apps/filebrowser/src/filebrowser/locale',
 '/opt/mapr/hue/hue-3.7.0/apps/hbase/src/hbase/locale',
 '/opt/mapr/hue/hue-3.7.0/apps/help/src/help/locale',
 '/opt/mapr/hue/hue-3.7.0/apps/impala/src/impala/locale',
 '/opt/mapr/hue/hue-3.7.0/apps/jobbrowser/src/jobbrowser/locale',
 '/opt/mapr/hue/hue-3.7.0/apps/jobsub/src/jobsub/locale',
 '/opt/mapr/hue/hue-3.7.0/apps/metastore/src/metastore/locale',
 '/opt/mapr/hue/hue-3.7.0/apps/oozie/src/oozie/locale',
 '/opt/mapr/hue/hue-3.7.0/apps/pig/src/pig/locale',
 '/opt/mapr/hue/hue-3.7.0/apps/proxy/src/proxy/locale',
 '/opt/mapr/hue/hue-3.7.0/apps/rdbms/src/rdbms/locale',
 '/opt/mapr/hue/hue-3.7.0/apps/search/src/search/locale',
 '/opt/mapr/hue/hue-3.7.0/apps/security/src/security/locale',
 '/opt/mapr/hue/hue-3.7.0/apps/spark/src/spark/locale',
 '/opt/mapr/hue/hue-3.7.0/apps/sqoop/src/sqoop/locale',
 '/opt/mapr/hue/hue-3.7.0/apps/useradmin/src/useradmin/locale',
 '/opt/mapr/hue/hue-3.7.0/apps/zookeeper/src/zookeeper/locale']
TEMPLATE_STRING_IF_INVALID
''
LOGOUT_URL
'/accounts/logout/'
EMAIL_USE_TLS
False
HUE_DESKTOP_VERSION
'3.7.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@kwtpoc-mapr-nde4.hadoop.local'
MEDIA_URL
''
DATETIME_FORMAT
'N j, Y, P'
TEMPLATE_DIRS
('/opt/mapr/hue/hue-3.7.0/desktop/core/templates',)
SITE_ID
1
DISALLOWED_USER_AGENTS
()
ALLOWED_INCLUDE_ROOTS
()
DECIMAL_SEPARATOR
'.'
CACHE_MIDDLEWARE_SECONDS
600
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')
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
{}
PYLINTRC
'/opt/mapr/hue/hue-3.7.0/desktop/.pylintrc'
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