Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
たとえば、どのように
x.foreach(rdd => rdd.cache())
とは異なる
x.foreachRDD(rdd => rdd.cache())
ここにあることに注意しxてDStreamください。
x
DStream
作業に違いはなく、 foreach()はforeachRDD を使用しています。foreach() は廃止され、Spark 2.0 ではこの関数は削除されました