CDH5.16.1 install CDK offline

1. Environment version

  • CDH 5.16.1
  • CentOS 7.6

2. Preparation before installation

1. Check the corresponding version of Kafka and CDH
https://docs.cloudera.com/documentation/enterprise/release-notes/topics/rn_consolidated_pcm.html#pcm_kafka

Insert picture description here

2. Download the parcel package of Kafka
http://archive.cloudera.com/kafka/parcels/latest/

Insert picture description here

Copy the three files to the /opt/cloudera/parcel-repo directory, if there are the same files, rename the previous files

Insert picture description here

3. Download Kafka-1.2.0.jar
http://archive.cloudera.com/csds/kafka/

Copy KAFKA-1.2.0.jar to the /opt/cloudera/csd directory


3. Afka Kafka

Insert picture description here

Click "Assign" --> "Activate"

1. Add Kafka service

Insert picture description here

4. Start kafka and
report an error:

Insert picture description here

1. Memory overflow, configure Java Heap Size

Insert picture description here

2.配置 whitelist must be specified
Insert picture description here

3. Restart the kafka service

Guess you like

Origin blog.csdn.net/qq_43081842/article/details/109134856