AnsweredAssumed Answered

Hue (hue.auth_user) error

Question asked by subhash on May 13, 2016
Latest reply on Aug 29, 2016 by subhash

Hi,

I am trying to login  using hue http://10.10.10.80:8888/  and below issue we are facing. Could you advise on this issue.

 

Traceback (most recent call last):

  File "/opt/mapr/hue/hue-3.9.0/desktop/core/src/desktop/lib/wsgiserver.py", line 1196, in communicate

  req.respond()

  File "/opt/mapr/hue/hue-3.9.0/desktop/core/src/desktop/lib/wsgiserver.py", line 568, in respond

  self._respond()

  File "/opt/mapr/hue/hue-3.9.0/desktop/core/src/desktop/lib/wsgiserver.py", line 580, in _respond

  response = self.wsgi_app(self.environ, self.start_response)

  File "/opt/mapr/hue/hue-3.9.0/build/env/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/core/handlers/wsgi.py", line 187, in __call__

  self.load_middleware()

  File "/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", line 45, in load_middleware

  mw_class = import_by_path(middleware_path)

  File "/opt/mapr/hue/hue-3.9.0/build/env/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/utils/module_loading.py", line 21, in import_by_path

  module = import_module(module_path)

  File "/opt/mapr/hue/hue-3.9.0/build/env/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/utils/importlib.py", line 40, in import_module

  __import__(name)

  File "/opt/mapr/hue/hue-3.9.0/desktop/core/src/desktop/middleware.py", line 54, in <module>

  from desktop import metrics

  File "/opt/mapr/hue/hue-3.9.0/desktop/core/src/desktop/metrics.py", line 134, in <module>

  user_count.set_value(User.objects.all().count())

  File "/opt/mapr/hue/hue-3.9.0/build/env/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/db/models/query.py", line 294, in count

  return self.query.get_count(using=self.db)

  File "/opt/mapr/hue/hue-3.9.0/build/env/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/db/models/sql/query.py", line 390, in get_count

  number = obj.get_aggregation(using=using)[None]

  File "/opt/mapr/hue/hue-3.9.0/build/env/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/db/models/sql/query.py", line 356, in get_aggregation

  result = query.get_compiler(using).execute_sql(SINGLE)

  File "/opt/mapr/hue/hue-3.9.0/build/env/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/db/models/sql/compiler.py", line 786, in execute_sql

  cursor.execute(sql, params)

  File "/opt/mapr/hue/hue-3.9.0/build/env/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/db/backends/util.py", line 53, in execute

  return self.cursor.execute(sql, params)

  File "/opt/mapr/hue/hue-3.9.0/build/env/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/db/utils.py", line 99, in __exit__

  six.reraise(dj_exc_type, dj_exc_value, traceback)

  File "/opt/mapr/hue/hue-3.9.0/build/env/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/db/backends/util.py", line 53, in execute

  return self.cursor.execute(sql, params)

  File "/opt/mapr/hue/hue-3.9.0/build/env/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/db/backends/mysql/base.py", line 124, in execute

  return self.cursor.execute(query, args)

  File "/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/MySQLdb/cursors.py", line 205, in execute

  File "/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/MySQLdb/connections.py", line 36, in defaulterrorhandler

ProgrammingError: (1146, "Table 'hue.auth_user' doesn't exist")

 

 

 

 

Outcomes