In the hue interface, oozie is used to submit and execute the spark2 workflow. The error is as follows:
Error: Cannot load main class from JAR file:/yarn/nm/usercache/hue/appcache/application_1541554513940_0002/container_1541554513940_0002_01_000001/com.hundsun.spark.ProgramEntry
Run with --help for usage help or --verbose for debug output
Ask for help. Thanks