【问题标题】:Hue server error "checkJobBrowserStatus" cloudera hadoop色调服务器错误“checkJobBrowserStatus”cloudera hadoop
【发布时间】:2018-05-31 00:47:16
【问题描述】:

我在访问 Hue webUI 时遇到了一些问题。我只是得到

“500 服务器错误”

访问 Hue 上的任何网页。错误示例:

从日志文件中我得到了一些关于这个错误类型的信息

[12/Dec/2017 01:00:53 -0800] 查看错误 JS 错误:{"msg":"ReferenceError: checkJobBrowserStatus is not defined","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] 查看错误 JS 错误:{"msg":"ReferenceError: checkJobBrowserStatus is not defined","url":"http://10.40.2.89:8888/metastore/ tables/","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)。

【问题讨论】:

    标签: hadoop cloudera hue


    【解决方案1】:

    这可能有点晚了,但考虑发布解决方案以帮助他人。

    我可以通过在“/etc/hue/conf.empty/hue.ini”中将“share_jobs”设置为“true”来使该页面正常工作

    所以以下对我有用:

    [jobbrowser]
        # Share submitted jobs information with all users. If set to false,
        # submitted jobs are visible only to the owner and administrators.
        share_jobs=true
    

    【讨论】:

      【解决方案2】:

      似乎 [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
      

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2019-05-05
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多