前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >0713-6.2.0-HBase的Thrift Server启动问题

0713-6.2.0-HBase的Thrift Server启动问题

作者头像
Fayson
发布2019-10-15 16:31:27
1.8K0
发布2019-10-15 16:31:27
举报
文章被收录于专栏:Hadoop实操

异常描述

配置Hue集成HBase的过程中,添加角色实例HBase Thrift Server后,把HBase Thrift身份验证(hbase.thrift.security.qop)配置为auth-conf

启动服务会出现HBase Thrift Server启动失败,报错如下:

代码语言:javascript
复制
Exception in thread "main" java.lang.IllegalArgumentException: Thrift HTTP Server's QoP is privacy, but hbase.thrift.ssl.enabled is false
    at org.apache.hadoop.hbase.thrift.ThriftServerRunner.checkHttpSecurity(ThriftServerRunner.java:394)
    at org.apache.hadoop.hbase.thrift.ThriftServerRunner.<init>(ThriftServerRunner.java:383)
    at org.apache.hadoop.hbase.thrift.ThriftServer.doMain(ThriftServer.java:94)
    at org.apache.hadoop.hbase.thrift.ThriftServer.main(ThriftServer.java:232)

异常分析

根据异常提示分析主要是因为HBase Thrift Server未启用hbase.thrift.ssl 验证,关于HBase Thrift 身份验证的三种方式说明如下:

auth-conf:Authentication,integrity,and confidentiality checking

auth-int:Authentication and integrity checking

auth:Authentication checking only

可以看到如果使用auth-conf验证方式必须要加密,也就是启用SSL。

解决办法

把HBase Thrift身份验证(hbase.thrift.security.qop)配置为auth-int或者auth,HBase Thrift Server可以正常启动。

如果要使用auth-conf验证方式,那么就必须启用SSL加密。

总结

在配置HBase Thrift身份验证的时候,如果要使用auth-conf的话,那么必须配置SSL,如果没有配置SSL就只能选择auth-int或者auth。

本文参与 腾讯云自媒体同步曝光计划,分享自微信公众号。
原始发表:2019-10-11,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 Hadoop实操 微信公众号,前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
相关产品与服务
TDSQL MySQL 版
TDSQL MySQL 版(TDSQL for MySQL)是腾讯打造的一款分布式数据库产品,具备强一致高可用、全球部署架构、分布式水平扩展、高性能、企业级安全等特性,同时提供智能 DBA、自动化运营、监控告警等配套设施,为客户提供完整的分布式数据库解决方案。
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档