求助 hue下载csv文件时报错 ERROR The query result cannot be downloaded,Invalid query handle:

hiveserver2  ERROR    The query result cannot be downloaded. Traceback (most recent call last): 

File "/opt/cloudera/parcels/CDH-5.13.3-1.cdh5.13.3.p0.2/lib/hue/desktop/libs/notebook/src/notebook/connectors/hiveserver2.py", line 368, in download
    db.fetch(handle, start_over=True, rows=1)
  File "/opt/cloudera/parcels/CDH-5.13.3-1.cdh5.13.3.p0.2/lib/hue/apps/beeswax/src/beeswax/server/dbms.py", line 326, in fetch
    return self.client.fetch(query_handle, start_over, rows)
  File "/opt/cloudera/parcels/CDH-5.13.3-1.cdh5.13.3.p0.2/lib/hue/apps/beeswax/src/beeswax/server/hive_server2_lib.py", line 1195, in fetch
    data_table = self._client.fetch_data(operationHandle, orientation=orientation, max_rows=max_rows)
  File "/opt/cloudera/parcels/CDH-5.13.3-1.cdh5.13.3.p0.2/lib/hue/apps/beeswax/src/beeswax/server/hive_server2_lib.py", line 908, in fetch_data
    results, schema = self.fetch_result(operation_handle, orientation, max_rows)
  File "/opt/cloudera/parcels/CDH-5.13.3-1.cdh5.13.3.p0.2/lib/hue/apps/beeswax/src/beeswax/server/hive_server2_lib.py", line 935, in fetch_result
    res = self.call(self._client.FetchResults, fetch_req)
  File "/opt/cloudera/parcels/CDH-5.13.3-1.cdh5.13.3.p0.2/lib/hue/apps/beeswax/src/beeswax/server/hive_server2_lib.py", line 634, in call
    (res, session) = self.call_return_result_and_session(fn, req, status, with_multiple_session)
  File "/opt/cloudera/parcels/CDH-5.13.3-1.cdh5.13.3.p0.2/lib/hue/apps/beeswax/src/beeswax/server/hive_server2_lib.py", line 680, in call_return_result_and_session
    raise QueryServerException(Exception('Bad status for request %s:\n%s' % (req, res)), message=message)
QueryServerException: Bad status for request TFetchResultsReq(fetchType=0, operationHandle=TOperationHandle(hasResultSet=True, modifiedRowCount=None, operationType=0, operationId=THandleIdentifier(secret='}\x7f\x8b>\xab!J\x95\x00\x00\x00\x00Bu\xc4=', guid='}\x7f\x8b>\xab!J\x95\x00\x00\x00\x00Bu\xc4=')), orientation=4, maxRows=1):
TFetchResultsResp(status=TStatus(errorCode=None, errorMessage='Invalid query handle: 954a21ab3e8b7f7d:3dc4754200000000\n', sqlState='HY000', infoMessages=None, statusCode=3), results=None, hasMoreRows=None)
[08/Jan/2020 15:51:27 +0800] exceptions_renderable ERROR    Potential detail: Invalid query handle: 954a21ab3e8b7f7d:3dc4754200000000

 

你可能感兴趣的:(实验)