Re: Differents of loading data

2015-08-11 Thread Akhil Das
Load data to where? To spark? If you are referring to spark, then there are
some differences the way the connector is implemented. When you use spark,
the most important thing that you get is the parallelism (depending on the
number of partitions). If you compare it with a native java driver then you
will find it slower compared to spark.

Thanks
Best Regards

On Mon, Aug 10, 2015 at 4:31 PM, 李铖 lidali...@gmail.com wrote:

 What is the differents of loading data using jdbc and loading  data using
 spard data source api?
 or differents of loading data using mongo-hadoop and loading data using
 native java driver?

 Which way is better?




Differents in loading data using spark datasource api and using jdbc

2015-08-10 Thread 李铖
Hi,everyone.

I have one question in loading data using spark datasource api and using
jdbc that  which way is effective?


Re: Differents in loading data using spark datasource api and using jdbc

2015-08-10 Thread satish chandra j
Hi,
As I understand JDBC is meant for moderate voulme of data but Datasource
api is a better option if volume of data volume is more
Datasource API is not available is lower version of Spark such as 1.2.0

Regards,
Satish

On Tue, Aug 11, 2015 at 8:53 AM, 李铖 lidali...@gmail.com wrote:

 Hi,everyone.

 I have one question in loading data using spark datasource api and using
 jdbc that  which way is effective?



Differents of loading data

2015-08-10 Thread 李铖
What is the differents of loading data using jdbc and loading  data using
spard data source api?
or differents of loading data using mongo-hadoop and loading data using
native java driver?

Which way is better?