【问题标题】:Hiveserver2: could not start ThriftHttpCliServiceHiveserver2:无法启动 ThriftHttpCliService
【发布时间】:2020-04-29 13:00:33
【问题描述】:

我正在尝试在 hiveserver2 上启用 SSL。

我可以在默认的二进制模式下正常运行。 http模式工作没问题。一旦我通过 hive-site.xml 启用 SSL,我就会遇到以下错误。

错误 [Thread-28] thrift.ThriftCLIService:启动 HiveServer2 时出错:无法启动 ThriftHttpCLIService java.net.BindException:地址已在使用中

在启动 hiveserver2 之前,没有使用任何端口。用netstat -tupln检查过

我在 hive-site.xml 中配置的端口是

hive.server2.webui.port 11002 hive.server2.thrift.http.port 11001 hive.server2.thrift.port 11000

并通过服务/opt/hive/bin/hive --service hiveserver2 &调用hiveserver2

O/S ubuntu(在 kubernetes 上) Hive 版本 3.0.0

任何帮助都非常感谢。 Google 搜索 ThriftHTTPCliService 的问题时遇到了问题。

【问题讨论】:

    标签: http ssl hive port


    【解决方案1】:

    对于任何看到这篇文章的人。

    我升级到 Hive 3.1.0 以及 Metastore 架构。

    这解决了问题,但不确定根本原因。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2019-08-24
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-05-08
      • 2014-11-16
      • 1970-01-01
      相关资源
      最近更新 更多