When configuring CDAP to use Spark2 there are a couple extra steps that aren't documented.
1. In addition to setting the SPARK_MAJOR_VERSION, you also have to set SPARK_HOME to the spark2 dir.
2. If CDAP has already run with Spark 1, you need to delete the cdap-data-pipeline and cdap-data-streams and restart CDAP.