我有火花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
答案 0 :(得分:0)
你需要做这样的事情:
$SPARK_HOME/bin/spark-shell --packages graphframes:graphframes:0.5.0-spark2.1-s_2.11