Re: Help with collect() in Spark Streaming

2015-09-12 Thread Luca
arg0.coalesce(1, >>>> true).saveAsTextFile(); >>>> return null; >>>> } >>>> }); >>>> >>>> >>>> but this implies t

Re: Help with collect() in Spark Streaming

2015-09-11 Thread Holden Karau
return null; >>> } >>> }); >>> >>> >>> but this implies that a /single worker/ is taking all the data and >>> writing >>> to HDFS, and that could be a major bottlene

Re: Help with collect() in Spark Streaming

2015-09-11 Thread Luca
/single worker/ is taking all the data and writing >> to HDFS, and that could be a major bottleneck. >> >> How could I replace the worker with the Driver? I read that /collect()/ >> might do this, but I haven't the slightest idea on how to implement it. >> >>

Help with collect() in Spark Streaming

2015-09-11 Thread Holden Karau
he slightest idea on how to implement it. > > Can anybody help me? > > Thanks in advance. > > > > -- > View this message in context: > http://apache-spark-user-list.1001560.n3.nabble.com/Help-with-collect-in-Spark-Streaming-tp24659.html > Sent from the Apache Spark Use

Help with collect() in Spark Streaming

2015-09-11 Thread allonsy
ontext: http://apache-spark-user-list.1001560.n3.nabble.com/Help-with-collect-in-Spark-Streaming-tp24659.html Sent from the Apache Spark User List mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@spark.a