首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >不能通过Hue访问Hbase

不能通过Hue访问Hbase
EN

Stack Overflow用户
提问于 2017-03-01 02:53:23
回答 2查看 2.3K关注 0票数 1

因此,我试图通过Cloudera中的Hue浏览器访问HBase,但遇到了一些问题。首先,当我打开Hue时,我会得到以下错误:

代码语言:javascript
运行
复制
Potential misconfiguration detected. Fix and restart Hue.
HBase Browser   Failed to authenticate to HBase Thrift Server, check authentication configurations. 

当我进入Hue的Hbase时,我得到了以下错误:

代码语言:javascript
运行
复制
Api Error: HTTPConnectionPool(host='quickstart.cloudera', port=9090): Max retries exceeded with url: / (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f2ef8ace450>: Failed to establish a new connection: [Errno 111] Connection refused',))

我在浏览器中签入Cloudera快速启动UI,并看到Hbase tried服务器实例已关闭,所以我尝试重新启动它,但它未能重新启动。

在Hbase配置中

代码语言:javascript
运行
复制
hbase.thrift.security.qop was set to auth 

因此,我将其设置为none,重新启动Hbase和Hue,现在Hbase节约服务器已经启动。然后我去了Hue浏览器,但是它显示了错误。

代码语言:javascript
运行
复制
Potential misconfiguration detected. Fix and restart Hue.
HBase Browser   Failed to authenticate to HBase Thrift Server, check authentication configurations.

当我去Hbase的时候,它显示

代码语言:javascript
运行
复制
api error <html>

我试过谷歌上的每一件事,比如检查两者

代码语言:javascript
运行
复制
hbase.regionserver.thrift.http
hbase.thrift.support.proxyuser

但是即使在尝试了一切之后,我的错误也没有消失,我也无法通过Hue访问Hbase。

有什么好主意吗?

EN

回答 2

Stack Overflow用户

发布于 2017-03-01 05:26:49

我解决了!

我就是这么做的。

我禁用了中的所有服务。然后我启用了,HBase,然后是Hue,然后是动物园管理员。将所有Hbase设置更改为默认设置,如hbase.regionserver.thrift.http身份验证为none、以及未选中的和hbase.thrift.support.proxyuser

票数 1
EN

Stack Overflow用户

发布于 2020-06-06 03:38:52

  1. 检查Hue服务器日志http://x.x.x.x:8889/hue/logs
  2. 启用

hbase.regionserver.thrift.http hbase.thrift.support.proxyuser

  1. 将配置添加到hdfs核心-site.xml中

<property> <name>hadoop.proxyuser.hbase.hosts</name> <value>\*</value> </property> <property> <name>hadoop.proxyuser.hbase.groups</name> <value>\*</value> </property>

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/42522341

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档