Fayson的github: https://github.com/fayson/cdhproject
推荐关注微信公众号:“Hadoop实操”,ID:gh_c4c535955d0f
1 异常描述
配置Hue集成HBase的过程中,添加角色实例HBase Thrift Server后,把HBase Thrift身份验证(hbase.thrift.security.qop)配置为auth-conf

启动服务会出现HBase Thrift Server启动失败,报错如下:
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)

本文记录了在配置Hue集成HBase时遇到的HBase Thrift Server启动失败的问题。当将HBase Thrift身份验证设置为auth-conf时,由于未启用SSL,导致启动异常。解决方案是将身份验证设置为auth-int或auth,或者启用SSL以使用auth-conf验证。总结中强调,使用auth-conf验证必须配置SSL,否则应选择其他验证方式。
最低0.47元/天 解锁文章
2704

被折叠的 条评论
为什么被折叠?



