我有spark 2.0 Scala 2.11.8,我正在尝试包含图形框架包。我在scala shell中输入了以下内容:
<spark-shell --packages graphframes:graphframes:0.1.0-spark1.6>
But still I got the error message:
scala> import org.graphframes._
<console>:23: error: object graph frames is not a member of package org
import org.graphframes._
^
scala> import org.graphframes.GrahFrame
<console>:23: error: object graphframes is not a member of package org
import org.graphframes.GrahFrame请参考附件中的截图。

发布于 2017-09-27 09:32:08
你需要这样做:
$SPARK_HOME/bin/spark-shell --packages graphframes:graphframes:0.5.0-spark2.1-s_2.11
https://stackoverflow.com/questions/45133906
复制相似问题