Re: Spark Mongodb connection

2015-05-06 Thread Akhil Das
Here's a complete example
https://databricks.com/blog/2015/03/20/using-mongodb-with-spark.html

Thanks
Best Regards

On Mon, May 4, 2015 at 12:57 PM, Yasemin Kaya  wrote:

> Hi!
>
> I am new at Spark and I want to begin Spark with simple wordCount example
> in Java. But I want to give my input from Mongodb database. I want to learn
> how can I connect Mongodb database to my project. Any one can help for this
> issue.
>
> Have a nice day
> yasemin
>
> --
> hiç ender hiç
>


Re: Spark Mongodb connection

2015-05-04 Thread Gaspar Muñoz
Hi Yasemin,

You can find here a MongoDB connector for Spark SQL:
http://github.com/Stratio/spark-mongodb

Best regards

2015-05-04 9:27 GMT+02:00 Yasemin Kaya :

> Hi!
>
> I am new at Spark and I want to begin Spark with simple wordCount example
> in Java. But I want to give my input from Mongodb database. I want to learn
> how can I connect Mongodb database to my project. Any one can help for this
> issue.
>
> Have a nice day
> yasemin
>
> --
> hiç ender hiç
>



-- 

Gaspar Muñoz
@gmunozsoria



Vía de las dos Castillas, 33, Ática 4, 3ª Planta
28224 Pozuelo de Alarcón, Madrid
Tel: +34 91 352 59 42 // *@stratiobd *


Spark Mongodb connection

2015-05-04 Thread Yasemin Kaya
Hi!

I am new at Spark and I want to begin Spark with simple wordCount example
in Java. But I want to give my input from Mongodb database. I want to learn
how can I connect Mongodb database to my project. Any one can help for this
issue.

Have a nice day
yasemin

-- 
hiç ender hiç