After Flume submits jobs to Spark Streaming, the class cannot be found.
After the Spark Streaming code is packed into a JAR file and submitted to the cluster, an error message is displayed indicating that the class cannot be found. The following two methods are not useful:
Some JAR files cannot be loaded during Spark job execution, resulting that the class cannot be found.
spark.driver.extraClassPath=$PWD/*: {Add the original value}
spark.executor.extraClassPath =$PWD/*