我在SpringBoot应用程序中使用Spark-Streaming。提交火花时遇到错误。以下是我运行spark-submit命令时得到的日志。
> 19/07/08 16:32:36 WARN NativeCodeLoader: Unable to load native-Hadoop library for your platform... using builtin-java classes where applicable
log4j: WARN No appenders could be found for logger (org.apache.spark.deploy.SparkSubmit$$anon$2).
log4j: WARN Please initialize the log4j system properly.
log4j: WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
spark-submit命令-
spark-2.4.1-bin-hadoop2.7\bin>spark-submit --class XYZApplication--master local[2] --deploy-mode client \target\xyz_backend-0.0.1_backend-jar-with-dependencies.jar
我检查了以下链接,并尝试了所有情况,但没有运气。
请帮助。