The jar I created worked on my windows PC although with some warning, SLF4J: Class path contains multiple SLF4J bindings. Error StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console.
I created a jar with main class jar and library jars seperate in the same folder, with MANIFEST.MF showing class path. Even when I create a folder lib with smile jars within and spark-submit --class SMILE.CLUS /root/upload/algo/jar/Gupeng.jar -- jars /lib/smile-core-2.4.0.jar,/lib/smile-data-2.4.0.jar,/lib/smile-scala_2.11-2.4.0.jar
it failed again with the same error.
Describe the bug I ran a jar in CDH to use xmeans and it said it couldnt find smile/clustering/package$
Expected behavior It should go through as I ran my codes in in my IDEA with scala 2.11.8 and created a jar which also went through.
Actual behavior Still the the jar did not go through in my CDH.
Code snippet In my idea
Input data The sample data. The data does not matter here.
Additional context
Java 1.8 smile-core-2.4.0 smile-scala_2.11-2.4.0 scala 2.11.8.
The jar I created worked on my windows PC although with some warning,
SLF4J: Class path contains multiple SLF4J bindings. Error StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console.
I created a jar with main class jar and library jars seperate in the same folder, with MANIFEST.MF showing class path. Even when I create a folder lib with smile jars within and
spark-submit --class SMILE.CLUS /root/upload/algo/jar/Gupeng.jar -- jars /lib/smile-core-2.4.0.jar,/lib/smile-data-2.4.0.jar,/lib/smile-scala_2.11-2.4.0.jar
it failed again with the same error.