Caused by: java.lang.NoClassDefFoundError: org/apache/htrace/Trace
Despite adding the following,
--conf spark.driver.extraClassPath=/opt/cloudera/parcels/CDH/jars/htrace-core-3.2.0-incubating.jar:/opt/cloudera/parcels/CDH/lib/hive/conf:/opt/cloudera/parcels/CDH/lib/hive/lib/*.jar \
--conf spark.executor.extraClassPath=/opt/cloudera/parcels/CDH/jars/htrace-core-3.2.0-incubating.jar:/opt/cloudera/parcels/CDH/lib/hive/conf:/opt/cloudera/parcels/CDH/lib/hive/lib/*.jar \
I get the following exception:
Caused by: java.lang.NoClassDefFoundError: org/apache/htrace/Trace
I have checked the file permission and directory permission and they have the right permission (directories have and read and execute perms while the files have 755 perms).
Please let me know what needs to be changed.

