GraphFrames SLF4J不可用

时间:2016-10-06 16:21:00

标签: scala apache-spark graphframes

我正在使用Spark 1.5.0-cdh5.5.2运行Scala 2.10.4,并且在运行GraphFrames作业时出现以下错误:

> val g = GraphFrame(v, e)
error: bad symbolic reference. A signature in Logging.class refers to type LazyLogging
in package com.typesafe.scalalogging.slf4j which is not available.
It may be completely missing from the current classpath, or the version on
the classpath might be incompatible with the version used when compiling Logging.class.

我使用以下命令启动我的spark-shell:

spark-shell --jars /data/spark-jars/scalalogging-slf4j_2.10-1.1.0.jar,/data/spark-jars/graphframes-0.2.0-spark1.5-s_2.10.jar

我尝试过不同版本的scalalogging,但似乎没什么用。

感谢您的帮助。

0 个答案:

没有答案