Example Page Java Function2

2015-06-03 Thread linkstar350 .
Hi, I'm Taira. I notice that this example page may be a mistake. https://spark.apache.org/examples.html Word Count (Java) JavaRDDString textFile = spark.textFile(hdfs://...); JavaRDDString words = textFile.flatMap(new FlatMapFunctionString, String() { public

Re: Example Page Java Function2

2015-06-03 Thread linkstar350 .
, linkstar350 . tweicomepan...@gmail.com wrote: Hi, I'm Taira. I notice that this example page may be a mistake. https://spark.apache.org/examples.html Word Count (Java) JavaRDDString textFile = spark.textFile(hdfs://...); JavaRDDString words = textFile.flatMap(new