CDH 5.16.1 install CDS offline

1. Software environment

  • CDH 5.16.1
  • Centos 7.6
  • Scala 2.11.8

2. Preparation before installation

1. Download the Parcel package required by Spark 2.3

http://archive.cloudera.com/spark2/parcels/2.3.0.cloudera4/

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

2. Download the csd package of Spark

http://archive.cloudera.com/spark2/csd/

Insert picture description here

Copy SPARK2_ON_YARN-2.3.0.cloudera4.jar to the /opt/cloudera/csd directory

3. Restart CM and cluster

4. Install Spark

Click "Host" --> "parcel" --> "Check new parcel" --> "Assign" --> "Activate"

5. Problem

1. Start Spark2-shell and report an error

Insert picture description here

Solution: modify the default value of yarn.scheduler.maximum-allocation-mb and yarn.nodemanager.resource.memory-mb to 2G

Insert picture description here

Guess you like

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