程序问答   发布时间:2022-05-31  发布网站:大佬教程  code.js-code.com
大佬教程收集整理的这篇文章主要介绍了Hue 和 Impala 连接问题 Thrift Handle 异常大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。

如何解决Hue 和 Impala 连接问题 Thrift Handle 异常?

开发过程中遇到Hue 和 Impala 连接问题 Thrift Handle 异常的问题如何解决?下面主要结合日常开发的经验,给出你关于Hue 和 Impala 连接问题 Thrift Handle 异常的解决方法建议,希望对你解决Hue 和 Impala 连接问题 Thrift Handle 异常有所启发或帮助;

我尝试将 Hue 4.8 与 impala 3.0.0-cdh6.0.0 连接,从编辑器我可以看到所有数据库,但如果尝试刷新表或执行某些查询,我收到此错误:

[23/Jan/2021 12:46:46 -0800] thrift_util WARNING Unable to unpack the secret and guID in Thrift Handle: unpack requires a buffer of 16 bytes
[23/Jan/2021 12:46:46 -0800] API ERROR autocomplete data fetching error TraceBACk (most recent call last):   file “/usr/share/hue/apps/beeswax/src/beeswax/API.py”,line 111,in _autocomplete
response[‘functions’] = _get_functions(db,databasE)
file “/usr/share/hue/apps/beeswax/src/beeswax/API.py”,line 183,in _get_functions
functions = db.get_functions(prefix=databasE)
file “/usr/share/hue/apps/beeswax/src/beeswax/server/dbms.py”,line 1167,in get_functions
handle = self.execute_and_wait(query,timeout_sec=5.0)
file “/usr/share/hue/apps/beeswax/src/beeswax/server/dbms.py”,line 973,in execute_and_wait
handle = self.clIEnt.query(query)
file “/usr/share/hue/apps/beeswax/src/beeswax/server/hive_server2_lib.py”,line 1420,in query
return self._clIEnt.execute_async_query(query,statement,session=session)
file “/usr/share/hue/apps/beeswax/src/beeswax/server/hive_server2_lib.py”,line 988,in execute_async_query
return self.execute_async_statement(statement=query_statement,conf_overlay=configuration,line 1021,in execute_async_statement
(res,session) = self.call_return_result_and_session(thrift_function,thrift_request,line 753,in call_return_result_and_session
return self._call_return_result_and_session(fn,req,status=status,line 790,in _call_return_result_and_session
raise queryServerException(Exception(messagE),message=messagE)
beeswax.server.dbms.queryServerException: Malformed THandlEIDentifIEr (guID size: 17,expected 16,secret size: 17,expected 16)
2021-01-23T20:46:46.959706000Z
[23/Jan/2021 12:46:46 -0800] access INFO 172.18.0.1 marco - “POST /notebook/API/autocomplete/ http/1.1” returned in 73ms 200 129
[23/Jan/2021 12:46:46 -0800] access INFO 172.18.0.1 marco - “POST /notebook/API/autocomplete/ http/1.1” returned in 73ms 200 129
172.18.0.1 - - [23/Jan/2021:20:46:46 +0000] “POST /notebook/API/autocomplete/ http/1.1” 200 129 “http://localhost:8888/hue/editor/?type=impala” “Mozilla/5.0 (windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,like Gecko) Chrome/87.0.4280.141 Safari/537.36”

这是我的色调设置:

[impala]
     Hot of the Impala Server (one of the Impalad)
    server_host=impala
    Port of the Impala Server
    server_port=21050
    coordinator_url=http://impala:25000
    impersonation_enabled=false
    #use_thrift_http=true

有人可以帮我解决这个问题吗?

谢谢

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

大佬总结

以上是大佬教程为你收集整理的Hue 和 Impala 连接问题 Thrift Handle 异常全部内容,希望文章能够帮你解决Hue 和 Impala 连接问题 Thrift Handle 异常所遇到的程序开发问题。

如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。