You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by Manohar753 <ma...@happiestminds.com> on 2015/06/22 09:09:20 UTC

JavaDStream read and write rdbms

Hi Team,

How to  split and put the red JavaDStream<String> in to mysql in java.

any existing api in sark 1.3/1.4.
team can you please share the code snippet if any body have it.

Thanks,
Manohar




--
View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/JavaDStream-String-read-and-write-rdbms-tp23423.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


Re: JavaDStream read and write rdbms

Posted by Akhil Das <ak...@sigmoidanalytics.com>.
Its pretty straight forward, this would get you started
http://stackoverflow.com/questions/24896233/how-to-save-apache-spark-schema-output-in-mysql-database

Thanks
Best Regards

On Mon, Jun 22, 2015 at 12:39 PM, Manohar753 <
manohar.reddy@happiestminds.com> wrote:

>
> Hi Team,
>
> How to  split and put the red JavaDStream<String> in to mysql in java.
>
> any existing api in sark 1.3/1.4.
> team can you please share the code snippet if any body have it.
>
> Thanks,
> Manohar
>
>
>
>
> --
> View this message in context:
> http://apache-spark-user-list.1001560.n3.nabble.com/JavaDStream-String-read-and-write-rdbms-tp23423.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
>
>

Re: JavaDStream read and write rdbms

Posted by ayan guha <gu...@gmail.com>.
Spark docs has addresses this pretty well. Look for patterns of use
foreachRDD.
On 22 Jun 2015 17:09, "Manohar753" <ma...@happiestminds.com> wrote:

>
> Hi Team,
>
> How to  split and put the red JavaDStream<String> in to mysql in java.
>
> any existing api in sark 1.3/1.4.
> team can you please share the code snippet if any body have it.
>
> Thanks,
> Manohar
>
>
>
>
> --
> View this message in context:
> http://apache-spark-user-list.1001560.n3.nabble.com/JavaDStream-String-read-and-write-rdbms-tp23423.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
>
>