Support Questions
Find answers, ask questions, and share your expertise

HUE can't access Oozie Workflows

New Contributor

Hello,

 

we have installed a Cloudera Cluster with HUE and experience some strange behavior. With the Login in Hue we see an Error Message suggesting "maximum recursion depth exceeded". When I checked the Logs I saw this error message:

[24/Jul/2019 15:01:58 +0200] api2         ERROR    Error running <function get_document at 0x7f6101374e60>
Traceback (most recent call last):
  File "/opt/cloudera/parcels/CDH-5.16.1-1.cdh5.16.1.p0.3/lib/hue/desktop/core/src/desktop/api2.py", line 58, in decorator
    return func(*args, **kwargs)
  File "/opt/cloudera/parcels/CDH-5.16.1-1.cdh5.16.1.p0.3/lib/hue/desktop/core/src/desktop/api2.py", line 194, in get_document
    response = _get_document_helper(request, uuid, with_data, with_dependencies, path)
  File "/opt/cloudera/parcels/CDH-5.16.1-1.cdh5.16.1.p0.3/lib/hue/desktop/core/src/desktop/api2.py", line 264, in _get_document_helper
    response['children'] = [doc.to_dict() for doc in response['children']]
  File "/opt/cloudera/parcels/CDH-5.16.1-1.cdh5.16.1.p0.3/lib/hue/desktop/core/src/desktop/models.py", line 1172, in to_dict
    'path': self.path or '/',
  File "/opt/cloudera/parcels/CDH-5.16.1-1.cdh5.16.1.p0.3/lib/hue/desktop/core/src/desktop/models.py", line 1102, in path
    return '%s/%s' % (self.parent_directory.path, quoted_name)
  File "/opt/cloudera/parcels/CDH-5.16.1-1.cdh5.16.1.p0.3/lib/hue/desktop/core/src/desktop/models.py", line 1102, in path
    return '%s/%s' % (self.parent_directory.path, quoted_name)
  File "/opt/cloudera/parcels/CDH-5.16.1-1.cdh5.16.1.p0.3/lib/hue/desktop/core/src/desktop/models.py", line 1102, in path
    return '%s/%s' % (self.parent_directory.path, quoted_name)
  File "/opt/cloudera/parcels/CDH-5.16.1-1.cdh5.16.1.p0.3/lib/hue/desktop/core/src/desktop/models.py", line 1102, in path
    return '%s/%s' % (self.parent_directory.path, quoted_name)
  File "/opt/cloudera/parcels/CDH-5.16.1-1.cdh5.16.1.p0.3/lib/hue/desktop/core/src/desktop/models.py", line 1102, in path
    return '%s/%s' % (self.parent_directory.path, quoted_name)
  File "/opt/cloudera/parcels/CDH-5.16.1-1.cdh5.16.1.p0.3/lib/hue/desktop/core/src/desktop/models.py", line 1102, in path
    return '%s/%s' % (self.parent_directory.path, quoted_name)
  File "/opt/cloudera/parcels/CDH-5.16.1-1.cdh5.16.1.p0.3/lib/hue/desktop/core/src/desktop/models.py", line 1102, in path  
File "/opt/cloudera/parcels/CDH-5.16.1-1.cdh5.16.1.p0.3/lib/hue/desktop/core/src/desktop/models.py", line 1102, in path
    return '%s/%s' % (self.parent_directory.path, quoted_name)
  File "/opt/cloudera/parcels/CDH-5.16.1-1.cdh5.16.1.p0.3/lib/hue/desktop/core/src/desktop/models.py", line 1102, in path
    return '%s/%s' % (self.parent_directory.path, quoted_name)
  File "/opt/cloudera/parcels/CDH-5.16.1-1.cdh5.16.1.p0.3/lib/hue/desktop/core/src/desktop/models.py", line 1102, in path
    return '%s/%s' % (self.parent_directory.path, quoted_name)
  File "/opt/cloudera/parcels/CDH-5.16.1-1.cdh5.16.1.p0.3/lib/hue/desktop/core/src/desktop/models.py", line 1102, in path
    return '%s/%s' % (self.parent_directory.path, quoted_name)
  File "/opt/cloudera/parcels/CDH-5.16.1-1.cdh5.16.1.p0.3/lib/hue/desktop/core/src/desktop/models.py", line 1102, in path
    return '%s/%s' % (self.parent_directory.path, quoted_name)
  File "/opt/cloudera/parcels/CDH-5.16.1-1.cdh5.16.1.p0.3/lib/hue/desktop/core/src/desktop/models.py", line 1102, in path
    return '%s/%s' % (self.parent_directory.path, quoted_name)
  File "/opt/cloudera/parcels/CDH-5.16.1-1.cdh5.16.1.p0.3/lib/hue/desktop/core/src/desktop/models.py", line 1102, in path
    return '%s/%s' % (self.parent_directory.path, quoted_name)
  File "/opt/cloudera/parcels/CDH-5.16.1-1.cdh5.16.1.p0.3/lib/hue/desktop/core/src/desktop/models.py", line 1102, in path
    return '%s/%s' % (self.parent_directory.path, quoted_name)
  File "/opt/cloudera/parcels/CDH-5.16.1-1.cdh5.16.1.p0.3/lib/hue/desktop/core/src/desktop/models.py", line 1102, in path
    return '%s/%s' % (self.parent_directory.path, quoted_name)
  File "/opt/cloudera/parcels/CDH-5.16.1-1.cdh5.16.1.p0.3/lib/hue/desktop/core/src/desktop/models.py", line 1102, in path
    return '%s/%s' % (self.parent_directory.path, quoted_name)
  File "/opt/cloudera/parcels/CDH-5.16.1-1.cdh5.16.1.p0.3/lib/hue/desktop/core/src/desktop/models.py", line 1102, in path
    return '%s/%s' % (self.parent_directory.path, quoted_name)
  File "/opt/cloudera/parcels/CDH-5.16.1-1.cdh5.16.1.p0.3/lib/hue/desktop/core/src/desktop/models.py", line 1102, in path
    return '%s/%s' % (self.parent_directory.path, quoted_name)
  File "/opt/cloudera/parcels/CDH-5.16.1-1.cdh5.16.1.p0.3/lib/hue/desktop/core/src/desktop/models.py", line 1102, in path
    return '%s/%s' % (self.parent_directory.path, quoted_name)
  File "/opt/cloudera/parcels/CDH-5.16.1-1.cdh5.16.1.p0.3/lib/hue/desktop/core/src/desktop/models.py", line 1102, in path
    return '%s/%s' % (self.parent_directory.path, quoted_name)
  File "/opt/cloudera/parcels/CDH-5.16.1-1.cdh5.16.1.p0.3/lib/hue/desktop/core/src/desktop/models.py", line 1102, in path
    return '%s/%s' % (self.parent_directory.path, quoted_name)
  File "/opt/cloudera/parcels/CDH-5.16.1-1.cdh5.16.1.p0.3/lib/hue/desktop/core/src/desktop/models.py", line 1102, in path
    return '%s/%s' % (self.parent_directory.path, quoted_name)
  File "/opt/cloudera/parcels/CDH-5.16.1-1.cdh5.16.1.p0.3/lib/hue/desktop/core/src/desktop/models.py", line 1102, in path
    return '%s/%s' % (self.parent_directory.path, quoted_name)
  File "/opt/cloudera/parcels/CDH-5.16.1-1.cdh5.16.1.p0.3/lib/hue/desktop/core/src/desktop/models.py", line 1102, in path
    return '%s/%s' % (self.parent_directory.path, quoted_name)
  File "/opt/cloudera/parcels/CDH-5.16.1-1.cdh5.16.1.p0.3/lib/hue/desktop/core/src/desktop/models.py", line 1102, in path
    return '%s/%s' % (self.parent_directory.path, quoted_name)
  File "/opt/cloudera/parcels/CDH-5.16.1-1.cdh5.16.1.p0.3/lib/hue/desktop/core/src/desktop/models.py", line 1102, in path
    return '%s/%s' % (self.parent_directory.path, quoted_name)
  File "/opt/cloudera/parcels/CDH-5.16.1-1.cdh5.16.1.p0.3/lib/hue/desktop/core/src/desktop/models.py", line 1102, in path
    return '%s/%s' % (self.parent_directory.path, quoted_name)
  File "/opt/cloudera/parcels/CDH-5.16.1-1.cdh5.16.1.p0.3/lib/hue/desktop/core/src/desktop/models.py", line 1102, in path
    return '%s/%s' % (self.parent_directory.path, quoted_name)
  File "/opt/cloudera/parcels/CDH-5.16.1-1.cdh5.16.1.p0.3/lib/hue/desktop/core/src/desktop/models.py", line 1102, in path
    return '%s/%s' % (self.parent_directory.path, quoted_name)
  File "/opt/cloudera/parcels/CDH-5.16.1-1.cdh5.16.1.p0.3/lib/hue/desktop/core/src/desktop/models.py", line 1102, in path
    return '%s/%s' % (self.parent_directory.path, quoted_name)
  File "/opt/cloudera/parcels/CDH-5.16.1-1.cdh5.16.1.p0.3/lib/hue/desktop/core/src/desktop/models.py", line 1102, in path
    return '%s/%s' % (self.parent_directory.path, quoted_name)
  File "/opt/cloudera/parcels/CDH-5.16.1-1.cdh5.16.1.p0.3/lib/hue/desktop/core/src/desktop/models.py", line 1102, in path
    return '%s/%s' % (self.parent_directory.path, quoted_name)
  File "/opt/cloudera/parcels/CDH-5.16.1-1.cdh5.16.1.p0.3/lib/hue/desktop/core/src/desktop/models.py", line 1101, in path
    if self.parent_directory:
  File "/opt/cloudera/parcels/CDH-5.16.1-1.cdh5.16.1.p0.3/lib/hue/build/env/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/db/models/fields/related.py", line 320, in __get__
    rel_obj = qs.get()
  File "/opt/cloudera/parcels/CDH-5.16.1-1.cdh5.16.1.p0.3/lib/hue/build/env/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/db/models/query.py", line 304, in get
    num = len(clone)
  File "/opt/cloudera/parcels/CDH-5.16.1-1.cdh5.16.1.p0.3/lib/hue/build/env/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/db/models/query.py", line 77, in __len__
    self._fetch_all()
  File "/opt/cloudera/parcels/CDH-5.16.1-1.cdh5.16.1.p0.3/lib/hue/build/env/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/db/models/query.py", line 857, in _fetch_all
    self._result_cache = list(self.iterator())
  File "/opt/cloudera/parcels/CDH-5.16.1-1.cdh5.16.1.p0.3/lib/hue/build/env/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/db/models/query.py", line 220, in iterator
    for row in compiler.results_iter():
  File "/opt/cloudera/parcels/CDH-5.16.1-1.cdh5.16.1.p0.3/lib/hue/build/env/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/db/models/sql/compiler.py", line 713, in results_iter
    for rows in self.execute_sql(MULTI):
  File "/opt/cloudera/parcels/CDH-5.16.1-1.cdh5.16.1.p0.3/lib/hue/build/env/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/db/models/sql/compiler.py", line 786, in execute_sql
    cursor.execute(sql, params)
  File "/opt/cloudera/parcels/CDH-5.16.1-1.cdh5.16.1.p0.3/lib/hue/build/env/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/db/backends/util.py", line 53, in execute
    return self.cursor.execute(sql, params)
  File "/opt/cloudera/parcels/CDH-5.16.1-1.cdh5.16.1.p0.3/lib/hue/build/env/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/db/backends/mysql/base.py", line 124, in execute
    return self.cursor.execute(query, args)
  File "/opt/cloudera/parcels/CDH-5.16.1-1.cdh5.16.1.p0.3/lib/hue/build/env/lib/python2.7/site-packages/MySQL_python-1.2.5-py2.7-linux-x86_64.egg/MySQLdb/cursors.py", line 205, in execute
    self.errorhandler(self, exc, value)
  File "/opt/cloudera/parcels/CDH-5.16.1-1.cdh5.16.1.p0.3/lib/hue/build/env/lib/python2.7/site-packages/MySQL_python-1.2.5-py2.7-linux-x86_64.egg/MySQLdb/connections.py", line 36, in defaulterrorhandler
    raise errorclass, errorvalue
RuntimeError: maximum recursion depth exceeded

Besides that, we can't access our own written Oozie Workflows. Inside the Oozie Editor I click on the 3 dots choose Workflows and on the right side apperas a Error Message "Error loading Contents". Does anybody have an Idea what the actual problem is?

Kind regards

1 REPLY 1

Guru

Hi,

Let's look at the first issue first.

Can you confirm if you just installed it or you did an upgrade to your cluster?

Please also share the output of below query against your Hue's backend database:

DESC desktop_document2;

 

Thanks

Eric