尝试使用apache点燃以在多个会话中使用spark RDD&DF / DF。
按照"https://apacheignite-fs.readme.io/docs/testing-integration-with-spark-shell"
中的说明进行操作。
在加载fromCache方法时点击下面的错误。
scala> val sharedRDD = ic.fromCache[Integer, Integer]("partitioned")
<console>:35: error: overloaded method value fromCache with alternatives:
(cacheCfg: org.apache.ignite.configuration.CacheConfiguration[Nothing,Nothing])org.apache.ignite.spark.IgniteRDD[Nothing,Nothing] <and>
(cacheName: String)org.apache.ignite.spark.IgniteRDD[Nothing,Nothing]
does not take type parameters
val sharedRDD = ic.fromCache[Integer, Integer]("partitioned")
不确定我在这里缺少什么。任何建议都会有所帮助。感谢