Hue 报错 hue [Errno 104] Connection reset by peer (code THRIFTSOCKET): None
  GPYyDLfgzzIb 2023年11月02日 27 0


Hue 报错   hue [Errno 104] Connection reset by peer (code THRIFTSOCKET): None_h5

查询相关日志:

[21/May/2023 23:04:04 -0700] views        ERROR    JS ERROR: {"msg":"Uncaught TypeError: Unable to process binding \"if: function(){return $parent.history().length > 0 }\"\nMessage: Unable to
 process binding \"foreach: function(){return $parent.history }\"\nMessage: Unable to process binding \"highlight: function(){return { value:query,dialect:$parent.type} }\"\nMessage: Cannot r
ead properties of undefined (reading 'characterWidth')","url":"http://47.117.69.61:8889/static/desktop/js/hue-bundle.651d3f665f75.js","line":51,"column":6928,"stack":"TypeError: Unable to pro
cess binding \"if: function(){return $parent.history().length > 0 }\"\nMessage: Unable to process binding \"foreach: function(){return $parent.history }\"\nMessage: Unable to process binding
\"highlight: function(){return { value:query,dialect:$parent.type} }\"\nMessage: Cannot read properties of undefined (reading 'characterWidth')\n    at u (http://47.117.69.61:8889/static/desk
top/js/ace/ace.f9cb7bd9944d.js:1:253496)\n    at String.replace (<anonymous>)\n    at a.$renderToken (http://47.117.69.61:8889/static/desktop/js/ace/ace.f9cb7bd9944d.js:1:253538)\n    at rend
erSimpleLine (http://47.117.69.61:8889/static/desktop/js/ko.hue-bindings.b27a7f05e031.js:6102:34)\n    at http://47.117.69.61:8889/static/desktop/js/ko.hue-bindings.b27a7f05e031.js:6132:15\n
   at Array.forEach (<anonymous>)\n    at http://47.117.69.61:8889/static/desktop/js/ko.hue-bindings.b27a7f05e031.js:6127:17\n    at n (http://47.117.69.61:8889/static/desktop/js/ace/ace.f9cb
7bd9944d.js:1:941)\n    at Object.a [as require] (http://47.117.69.61:8889/static/desktop/js/ace/ace.f9cb7bd9944d.js:1:1492)\n    at update (http://47.117.69.61:8889/static/desktop/js/ko.hue-
bindings.b27a7f05e031.js:6074:13)"}
[21/May/2023 23:14:29 -0700] views        ERROR    Could not create home directory at login for root.
Traceback (most recent call last):
  File "/opt/cloudera/parcels/CDH-5.14.2-1.cdh5.14.2.p0.3/lib/hue/desktop/core/src/desktop/auth/views.py", line 125, in dt_login
    ensure_home_directory(request.fs, user)
  File "/opt/cloudera/parcels/CDH-5.14.2-1.cdh5.14.2.p0.3/lib/hue/apps/useradmin/src/useradmin/views.py", line 796, in ensure_home_directory
    fs.do_as_user(username, fs.create_home_dir, home_directory)
  File "/opt/cloudera/parcels/CDH-5.14.2-1.cdh5.14.2.p0.3/lib/hue/desktop/core/src/desktop/lib/fs/proxyfs.py", line 102, in do_as_user
    return fn(*args, **kwargs)
  File "/opt/cloudera/parcels/CDH-5.14.2-1.cdh5.14.2.p0.3/lib/hue/desktop/core/src/desktop/lib/fs/proxyfs.py", line 171, in create_home_dir
    self._get_fs(home_path).create_home_dir(home_path)
  File "/opt/cloudera/parcels/CDH-5.14.2-1.cdh5.14.2.p0.3/lib/hue/desktop/libs/hadoop/src/hadoop/fs/hadoopfs.py", line 247, in create_home_dir
    if not self.exists(home_path):
  File "/opt/cloudera/parcels/CDH-5.14.2-1.cdh5.14.2.p0.3/lib/hue/desktop/libs/hadoop/src/hadoop/fs/webhdfs.py", line 297, in exists
    return self._stats(path) is not None
  File "/opt/cloudera/parcels/CDH-5.14.2-1.cdh5.14.2.p0.3/lib/hue/desktop/libs/hadoop/src/hadoop/fs/webhdfs.py", line 285, in _stats
    raise ex
WebHdfsException: StandbyException: Operation category READ is not supported in state standby. Visit https://s.apache.org/sbnn-error (error 403)
[21/May/2023 22:54:27 -0700] decorators   ERROR    Error running <function check_status at 0x7fc2c059a8c0>
Traceback (most recent call last):
  File "/opt/cloudera/parcels/CDH-5.14.2-1.cdh5.14.2.p0.3/lib/hue/desktop/libs/notebook/src/notebook/decorators.py", line 97, in decorator
    return func(*args, **kwargs)
  File "/opt/cloudera/parcels/CDH-5.14.2-1.cdh5.14.2.p0.3/lib/hue/desktop/libs/notebook/src/notebook/api.py", line 185, in check_status
    response['query_status'] = get_api(request, snippet).check_status(notebook, snippet)
  File "/opt/cloudera/parcels/CDH-5.14.2-1.cdh5.14.2.p0.3/lib/hue/desktop/libs/notebook/src/notebook/connectors/hiveserver2.py", line 88, in decorator
    raise QueryError(message)
QueryError
[21/May/2023 23:00:52 -0700] decorators   ERROR    Error running <function cancel_statement at 0x7fc2c059f0c8>
Traceback (most recent call last):
  File "/opt/cloudera/parcels/CDH-5.14.2-1.cdh5.14.2.p0.3/lib/hue/desktop/libs/notebook/src/notebook/decorators.py", line 97, in decorator
    return func(*args, **kwargs)
  File "/opt/cloudera/parcels/CDH-5.14.2-1.cdh5.14.2.p0.3/lib/hue/desktop/libs/notebook/src/notebook/api.py", line 275, in cancel_statement
    response['result'] = get_api(request, snippet).cancel(notebook, snippet)
  File "/opt/cloudera/parcels/CDH-5.14.2-1.cdh5.14.2.p0.3/lib/hue/desktop/libs/notebook/src/notebook/connectors/hiveserver2.py", line 82, in decorator
    return func(*args, **kwargs)
  File "/opt/cloudera/parcels/CDH-5.14.2-1.cdh5.14.2.p0.3/lib/hue/desktop/libs/notebook/src/notebook/connectors/hiveserver2.py", line 338, in cancel
    handle = self._get_handle(snippet)
  File "/opt/cloudera/parcels/CDH-5.14.2-1.cdh5.14.2.p0.3/lib/hue/desktop/libs/notebook/src/notebook/connectors/hiveserver2.py", line 742, in _get_handle
    raise Exception('Operation has no valid handle attached')
Exception: Operation has no valid handle attached
[21/May/2023 23:00:59 -0700] decorators   ERROR    Error running <function execute at 0x7fc2c059a6e0>
Traceback (most recent call last):
  File "/opt/cloudera/parcels/CDH-5.14.2-1.cdh5.14.2.p0.3/lib/hue/desktop/libs/notebook/src/notebook/decorators.py", line 97, in decorator
    return func(*args, **kwargs)
  File "/opt/cloudera/parcels/CDH-5.14.2-1.cdh5.14.2.p0.3/lib/hue/desktop/libs/notebook/src/notebook/api.py", line 165, in execute

原因:service hiverserver2 连接超时导致 重启下hiverserver2, 刷新hue服务就可以恢复


网上相关资料链接:https://stackoverflow.com/questions/27490344/errno-104-connection-reset-by-peer


【版权声明】本文内容来自摩杜云社区用户原创、第三方投稿、转载,内容版权归原作者所有。本网站的目的在于传递更多信息,不拥有版权,亦不承担相应法律责任。如果您发现本社区中有涉嫌抄袭的内容,欢迎发送邮件进行举报,并提供相关证据,一经查实,本社区将立刻删除涉嫌侵权内容,举报邮箱: cloudbbs@moduyun.com

  1. 分享:
最后一次编辑于 2023年11月08日 0

暂无评论

推荐阅读
GPYyDLfgzzIb