I added the hive classes as instructed to spark-env and spark-defaults:

SPARK_DAEMON_CLASSPATH=$SPARK_DAEMON_CLASSPATH::/opt/mapr/hive/hive-0.12/lib/hive-exec-0.12-mapr-1501.jar:/opt/mapr/hive/hive-0.12/lib/hive-metastore-0.12-mapr-1501.jar:/opt/mapr/hive/hive-0.12/lib/antlr-runtime-3.4.jar:/opt/mapr/hive/hive-0.12/lib/libfb303-0.9.0.jar:/opt/mapr/hive/hive-0.12/lib/hive-common-0.12-mapr-1501.jar:/opt/mapr/hive/hive-0.12/lib/hive-hbase-handler-0.12-mapr-1501.jar:/opt/mapr/hadoop/hadoop-0.20.2/conf:/opt/mapr/hadoop/hadoop-0.20.2/lib/commons-logging-1.0.4.jar:/opt/mapr/hadoop/hadoop-0.20.2/lib/guava-13.0.1.jar:/opt/mapr/hadoop/hadoop-0.20.2/lib/hadoop-0.20.2-dev-core.jar:/opt/mapr/hadoop/hadoop-0.20.2/lib/mapr-hbase-4.0.2-mapr.jar:/opt/mapr/lib/baseutils-4.0.2-mapr.jar:/opt/mapr/lib/commons-collections-3.2.1.jar:/opt/mapr/lib/commons-lang-2.5.jar:/opt/mapr/lib/hadoop-common-2.5.1.jar:/opt/mapr/lib/json-20080701.jar:/opt/mapr/lib/libprotodefs-4.0.2-mapr.jar:/opt/mapr/lib/maprfs-4.0.2-mapr.jar:/opt/mapr/lib/maprutil-4.0.2-mapr.jar:/opt/mapr/lib/protobuf-java-2.5.0.jar:I also added mysql-connector-java-5.1.25-bin.jar to $SPARK_HOME/lib