Cloudera automatically installs Spark cluster, but it is not easy to update Spark version by Cloudera. There is another solution for users to run the latest version of Spark on Cloudera Yarn cluster.
set up the environment to make the configuration files of Hadoop available to the package