【问题标题】:Hortonworks HDP How to set up a Kerberos enabled KafkaHortonworks HDP 如何设置启用 Kerberos 的 Kafka
【发布时间】:2018-12-28 12:37:06
【问题描述】:

我最近下载了 Hortonworks HDP VM。我可以在上面运行 Kafka。我可以通过 security-protocol=PLAINTEXT 生成/使用消息。

但是,我现在想通过 security-protocol=SASL_PLAINTEXT 和 Kerberos 使用。

我知道我可以通过 Ambari 设置 SASL_PLAINTEXT(附有屏幕截图),但我想知道是否有关于这方面的综合指南或文章可以让我知道以下内容?

  • 如何在 HDP 沙盒虚拟机上设置 Kerberos
  • 如何在 HDP Sandbox VM 中设置 keytabs
  • 如何设置 Kafka 以在 HDP 沙盒 VM 中使用 SASL_PLAINTEXT 运行
  • 如何通过 security-protocl=SASL_PLAINTEXT 消费/生产

我的 HDP 沙盒版本详细信息是:

== Sandbox Information ==
Platform: hdp-security
Build date: 06-18-2018
Ambari version: 2.6.2.0-155
Hadoop version: Hadoop 2.7.3.2.6.5.0-292
OS: CentOS Linux release 7.5.1804 (Core)
====

通过 AMBARI 设置 KAFKA SASL_PLAINTEXT 的屏幕截图如下:

【问题讨论】:

  • edit 您的问题包括您在尝试此配置后遇到的问题。要求教程被认为是 StackOverflow 的题外话。也许您可以在 Hortonworks 论坛上获得更好的运气
  • 无论如何,从 HDP 文档 - docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.5/bk_security/… 开始,然后按照左侧的指南从那里找到 Kafka 设置

标签: apache-kafka kerberos hortonworks-data-platform hortonworks-sandbox keytab


【解决方案1】:

首先你需要安装 Kerberos 你可以按照说明 https://github.com/dmilan77/Kerberos/blob/master/Kerbersos_install.md 安装后,您可以使用 HDP Kerberos 向导进行安装。

【讨论】:

    猜你喜欢
    • 2014-11-24
    • 2020-11-15
    • 1970-01-01
    • 2017-02-07
    • 2015-12-08
    • 1970-01-01
    • 1970-01-01
    • 2020-11-16
    • 1970-01-01
    相关资源
    最近更新 更多