我在访问Hue webUI时遇到问题。我刚得到



可以访问色调上的任何网页。错误示例:

从日志文件中,我得到了有关此错误类型的一些信息


[12 / Dec / 2017 01:00:53 -0800] View 错误JS错误:{“msg”:“ReferenceError:checkJobBrowserStatus未定义”,“url”:“http://10.40.2.89:8888/hue/ “,” line“:1584,” column“:12,” stack“:” @http://10.40.2.89:8888 / hue /:1584:13 \ nn.Callbacks/j@http://10.40.2.89 :8888 / static / desktop / ext / js / jquery / jquery-2.1.1.min.e40ec2161fe7.js:2:26852 \ nn.Callbacks/k.fireWith@http://10.40.2.89:8888 / static / desktop /ext/js/jquery/jquery-2.1.1.min.e40ec2161fe7.js:2:27661\n.ready@http://10.40.2.89:8888/static/desktop/ext/js/jquery/jquery-2.1 .1.min.e40ec2161fe7.js:2:29482 \ nI @ http://10.40.2.89:8888 / static / desktop / ext / js / jquery / jquery-2.1.1.min.e40ec2161fe7.js:2:29656 \ n“}

当我尝试打开其他网页时,出现相同的错误

[12 / Dec / 2017 01:04:56 -0800] View 错误JS错误:{“msg”:“ReferenceError:checkJobBrowserStatus未定义”,“url”:“http://10.40.2.89:8888/metastore/ table /“,” line“:1584,” column“:12,” stack“:” @http://10.40.2.89:8888 / metastore / tables /:1584:13 \ nn.Callbacks/j@http:/ /10.40.2.89:8888/static/desktop/ext/js/jquery/jquery-2.1.1.min.e40ec2161fe7.js:2:26852\nn.Callbacks/k.fireWith@http://10.40.2.89:8888 /static/desktop/ext/js/jquery/jquery-2.1.1.min.e40ec2161fe7.js:2:27661\n.ready@http://10.40.2.89:8888/static/desktop/ext/js/jquery /jquery-2.1.1.min.e40ec2161fe7.js:2:29482\nI@http://10.40.2.89:8888/static/desktop/ext/js/jquery/jquery-2.1.1.min.e40ec2161fe7.js :2:29656 \ n“}

等等,任何网页上的类似错误。

我已附上full log file on Google Drive

我正在尝试在Debian上使用Iceweasel打开Web界面HUE。

Cloudera版本为CDH5(CDH 5.13.0)。

最佳答案

似乎[indexer]应用已被列入黑名单(/ hue / desktop / dump_config中的[desktop]部分),因此Hue无法正常工作。

另外,看起来您在旧版UI上,建议切换回
色相4。

[12/Dec/2017 01:04:53 -0800] middleware   INFO     Processing exception: u'indexer' is not a registered namespace: Traceback (most recent call last):
  File "/usr/lib/hue/build/env/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/core/handlers/base.py", line 112, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/usr/lib/hue/build/env/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/db/transaction.py", line 371, in inner
    return func(*args, **kwargs)
  File "/usr/lib/hue/apps/metastore/src/metastore/views.py", line 240, in show_tables
    'source_type': _get_servername(db),
  File "/usr/lib/hue/desktop/core/src/desktop/lib/django_util.py", line 230, in render
    **kwargs)
  File "/usr/lib/hue/desktop/core/src/desktop/lib/django_util.py", line 148, in _render_to_response
    return django_mako.render_to_response(template, *args, **kwargs)
  File "/usr/lib/hue/desktop/core/src/desktop/lib/django_mako.py", line 125, in render_to_response
    return HttpResponse(render_to_string(template_name, data_dictionary), **kwargs)
  File "/usr/lib/hue/desktop/core/src/desktop/lib/django_mako.py", line 114, in render_to_string_normal
    result = template.render(**data_dict)
  File "/usr/lib/hue/build/env/lib/python2.7/site-packages/Mako-0.8.1-py2.7.egg/mako/template.py", line 443, in render
    return runtime._render(self, self.callable_, args, data)
  File "/usr/lib/hue/build/env/lib/python2.7/site-packages/Mako-0.8.1-py2.7.egg/mako/runtime.py", line 786, in _render
    **_kwargs_for_callable(callable_, data))
  File "/usr/lib/hue/build/env/lib/python2.7/site-packages/Mako-0.8.1-py2.7.egg/mako/runtime.py", line 818, in _render_context
    _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
  File "/usr/lib/hue/build/env/lib/python2.7/site-packages/Mako-0.8.1-py2.7.egg/mako/runtime.py", line 844, in _exec_template
    callable_(context, *args, **kwargs)
  File "/tmp/tmpMMurVL/metastore/metastore.mako.py", line 142, in render_body
    __M_writer(escape(unicode( assist.assistPanel() )))
  File "/tmp/tmpMMurVL/metastore/assist.mako.py", line 497, in render_assistPanel
    __M_writer(escape(unicode( url('indexer:importer_prefill', source_type='all', target_type='table') )))
  File "/usr/lib/hue/desktop/core/src/desktop/lib/django_mako.py", line 131, in url
    return reverse(view_name, args=args, kwargs=view_args)
  File "/usr/lib/hue/build/env/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/core/urlresolvers.py", line 532, in reverse
    key)
NoReverseMatch: u'indexer' is not a registered namespace

关于hadoop - 色相服务器错误 “checkJobBrowserStatus” cloudera hadoop,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/47855535/

10-16 08:40