I build a pseudo-cluster CDH install in a VM for my students each Fall. Due to the limitations of some of their laptops, I try to keep the footprint as small as possible. For that reason, I manually install CDH rather than use Cloudera Manager. The cloudera documentation usually does a nice job of laying out the steps and this approach has been very successful for me.
I am upgrading the VM this summer to be based on Centos 7, CDH 5.11 and also Spark 2.
I have had the hardest time trying to track down the manual instructions using the Cloudera repository to install Spark 2.
The cloudera documentation describes how to accomplish the Spark 2.0 install using parcels and Cloudera Manager, but nothing on the correct cloudera repository and a manual install using yum.