spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sean Owen <so...@cloudera.com>
Subject Re: How to save ReceiverInputDStream to Hadoop using saveAsNewAPIHadoopFile
Date Thu, 09 Oct 2014 20:14:09 GMT
I think you have not imported
org.apache.spark.streaming.StreamingContext._ ? This gets you the
implicits that provide these methods.

On Thu, Oct 9, 2014 at 8:40 PM, bdev <buntudev@gmail.com> wrote:
> I'm using KafkaUtils.createStream for the input stream to pull messages from
> kafka which seems to return a ReceiverInputDStream. I do not see
> saveAsNewAPIHadoopFile available on ReceiverInputDStream and obviously run
> into this error:
>
>  saveAsNewAPIHadoopFile is not a member of
> org.apache.spark.streaming.dstream.DStream[String]
>
> Any help on how to go about saving a DStream to Hadoop would be appreciated.
>
> Thanks!
>
>
>
> --
> View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/How-to-save-ReceiverInputDStream-to-Hadoop-using-saveAsNewAPIHadoopFile-tp16062.html
> Sent from the Apache Spark User List mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@spark.apache.org
> For additional commands, e-mail: user-help@spark.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@spark.apache.org
For additional commands, e-mail: user-help@spark.apache.org


Mime
View raw message