Re: Custom receiver to connect MySQL database

2016-06-14 Thread dvlpr
I have tried but it gives me an error. because something is missing in my code *Prasiddh Nandola* MSc Computer Science Technical University Kaiserslautern +49 176 67817239 On Wed, Jun 15, 2016 at 8:05 AM, Prasiddh Nandola wrote: > hii > > *Prasiddh Nandola* > MSc Computer Science > Technical Un

Re: Custom receiver to connect MySQL database

2016-06-14 Thread dvlpr
hii *Prasiddh Nandola* MSc Computer Science Technical University Kaiserslautern +49 176 67817239 On Tue, Jun 14, 2016 at 9:24 PM, dvlpr [via Apache Spark Developers List] < ml-node+s1001551n17912...@n3.nabble.com> wrote: > I have tried but it gives me an error. because something is missing in my

Re: Custom receiver to connect MySQL database

2016-06-14 Thread dvlpr
I have tried but it gives me an error. because something is missing in my code -- View this message in context: http://apache-spark-developers-list.1001551.n3.nabble.com/Custom-receiver-to-connect-MySQL-database-tp17895p17912.html Sent from the Apache Spark Developers List mailing list archive

Re: Custom receiver to connect MySQL database

2016-06-14 Thread Matthias Niehoff
You must add an output operation your normal stream application that uses the receiver. Calling print() on the DStream will do the job 2016-06-14 9:29 GMT+02:00 dvlpr : > Hi folks, > I have written some codes for custom receiver to get data from MySQL db. > Belowed code: > > class CustomReceiver