码迷,mamicode.com
首页 > 其他好文 > 详细

hue解决timed out(code THRIFTSOCKET):None

时间:2017-07-05 00:34:55      阅读:330      评论:0      收藏:0      [点我收藏+]

标签:nec   ati   client   pps   exce   重启   structure   statement   data   

报错栈:

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

标签:nec   ati   client   pps   exce   重启   structure   statement   data   

原文地址:http://www.cnblogs.com/aprilrain/p/7118988.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!