代码改变世界

hue集成hbase出现TSocket read 0 bytes

2018-04-14 09:37  Justinyangbigdata  阅读(4769)  评论(0编辑  收藏  举报

解决办法:修改hbase的配置文件 添加以下配置

https://stackoverflow.com/questions/20415493/api-error-tsocket-read-0-bytes-when-using-hue-with-hbase

Add this to your hbase "core-site.conf":

<property>
  <name>hbase.thrift.support.proxyuser</name>
  <value>true</value>
</property>

<property>
  <name>hbase.regionserver.thrift.http</name>
  <value>true</value>
</property>

然后重启hbase

接着重启hue发现新错误

然后将hadoop配置文件中的core-site.xml改成

接着重新启动hdfs hbase以及hue即可