Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/date/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Apache spark 2.0 包装图框Spark2.0_Apache Spark 2.0_Scala 2.11_Graphframes - Fatal编程技术网

Apache spark 2.0 包装图框Spark2.0

Apache spark 2.0 包装图框Spark2.0,apache-spark-2.0,scala-2.11,graphframes,Apache Spark 2.0,Scala 2.11,Graphframes,我有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

我有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

但我还是收到了错误信息:
scala>导入org.graphframes_
:23:错误:对象图框架不是包组织的成员
导入org.graphframes_
^
scala>导入org.graphframes.GrahFrame
:23:错误:对象graphframes不是包组织的成员
导入org.graphframes.GrahFrame
请参阅随附的屏幕截图。

您需要执行以下操作:

$SPARK_HOME/bin/SPARK shell--包装图框:图框:0.5.0-spark2.1-s_2.11