hue解决timed out(code THRIFTSOCKET):None

摘要:
HS2存在问题。重新启动HS2并解决它。

报错栈:

Traceback (most recent call last):
  File "/home/work/hue-3.10.0/desktop/libs/notebook/src/notebook/decorators.py", line 81, in decorator
    return func(*args, **kwargs)
  File "/home/work/hue-3.10.0/desktop/libs/notebook/src/notebook/api.py", line 109, in execute
    response['handle'] = get_api(request, snippet).execute(notebook, snippet)
  File "/home/work/hue-3.10.0/desktop/libs/notebook/src/notebook/connectors/hiveserver2.py", line 64, in decorator
    return func(*args, **kwargs)
  File "/home/work/hue-3.10.0/desktop/libs/notebook/src/notebook/connectors/hiveserver2.py", line 199, in execute
    db.use(query.database)
  File "/home/work/hue-3.10.0/apps/beeswax/src/beeswax/server/dbms.py", line 613, in use
    return self.client.use(query)
  File "/home/work/hue-3.10.0/apps/beeswax/src/beeswax/server/hive_server2_lib.py", line 1053, in use
    data = self._client.execute_query(query)
  File "/home/work/hue-3.10.0/apps/beeswax/src/beeswax/server/hive_server2_lib.py", line 748, in execute_query
    return self.execute_query_statement(statement=query.query['query'], max_rows=max_rows, configuration=configuration)
  File "/home/work/hue-3.10.0/apps/beeswax/src/beeswax/server/hive_server2_lib.py", line 752, in execute_query_statement
    (results, schema), operation_handle = self.execute_statement(statement=statement, max_rows=max_rows, configuration=configuration, orientation=orientation)
  File "/home/work/hue-3.10.0/apps/beeswax/src/beeswax/server/hive_server2_lib.py", line 780, in execute_statement
    res = self.call(self._client.ExecuteStatement, req)
  File "/home/work/hue-3.10.0/apps/beeswax/src/beeswax/server/hive_server2_lib.py", line 625, in call
    res = fn(req)
  File "/home/work/hue-3.10.0/desktop/core/src/desktop/lib/thrift_util.py", line 376, in wrapper
    raise StructuredException('THRIFTSOCKET', str(e), data=None, error_code=502)
StructuredException: timed out (code THRIFTSOCKET): None

使用的hiveserver2有问题,响应太慢导致超时。HS2有问题,重启HS2后解决。

免责声明:文章转载自《hue解决timed out(code THRIFTSOCKET):None》仅用于学习参考。如对内容有疑问,请及时联系本站处理。

上篇SQL Server索引语法 <第四篇>hive权威安装出现的不解错误!(完美解决)两种方法都可以下篇

宿迁高防,2C2G15M,22元/月;香港BGP,2C5G5M,25元/月 雨云优惠码:MjYwNzM=

相关文章

HTML一片空白, 无法渲染: Empty tag doesn't work in some browsers

html 文件直接引入一个script, 如下 <html> <head> <script type="application/javascript" src="ajax/jquery-1.10.2.min.js"/> </head> 结果导致了 对应的页面在浏览器显示不了,一片空白, F12...

IPython notebook(Jupyter notebook) 设置密码

本文共给出两种密码设置方法,一种为直接设置密码法(较为便捷),另一种为hash密码设置法   =================================== 第一种: 直接设置密码 注意: ipython notebook 设置密码后就不能使用 token 进入客户端网页了 1.  对应环境下  执行命令: jupyter notebook pas...

CentOS6.5安装图形界面(Gnome)

因为是以最小化安装的Linux,无法使用图形界面,从网上看到资料,我使用yum安装果然很简单 ------------------------------------------------------------------------------------------------------ 一、使用网络安装(如果网络比较快,这个方法简单) yum...

【转】android电池(四):电池 电量计(MAX17040)驱动分析篇

关键词:android 电池  电量计  MAX17040 任务初始化宏 power_supply 平台信息:内核:linux2.6/linux3.0系统:android/android4.0 平台:samsung exynos 4210、exynos 4412 、exynos 5250 作者:xubin341719(欢迎转载,请注明作者) 欢迎指正错误...

ArcGIS Desktop 10.1+ArcEngine10.1完全破解安装教程(含下载地址+亲测可用!)

最近在二次开发中用到了VS2010+ArcGIS的二次开发模式,因为之前的某些原因,对ArcGIS的接触甚少。初次安装也遇到了很多问题,这里做一个总结。 系统环境 win732位操作系统 需要文件 (一)ARCGIS Desktop 10.1原版安装光盘 PS:已经更新360云盘下载地址,密码是2fed,欢迎反馈试用。 (二)ArcEngine 10.1...

Oracle 计算工时除去节假日(返回小时数)

--前提条件:DIM_oa_TIME 包含每一天,并且is_work=1 工作日 =0 非工作日 --详见:https://www.cnblogs.com/xiaobaidejiucuoben/p/14630923.html create or replace function getworktime(begindate in date,enddate...