一:当安装好CDH的hadoop后,准备安装kafka,可是CDH上添加服务是这样的,没法直接添加,需要添加相应包才可以:
Apache Kafka is publish-subscribe messaging rethought as a distributed commit log. Before adding this service, ensure that either the Kafka parcel is activated or the Kafka package is installed.
一切从官网开始:
https://www.cloudera.com/documentation.html

二:按安装向导选择从Parcel安装:
https://www.cloudera.com/documentation/kafka/latest/topics/kafka_installing.html#concept_m2t_d45_4r


本文介绍了如何在已安装CDH的Hadoop环境中,通过Parcel方式离线安装Kafka。首先,从Cloudera官网下载Kafka的parcel文件,然后配置CDH的Kafka源,分配并激活parcel,最后完成CDH服务中Kafka的配置。
最低0.47元/天 解锁文章
1485





