Hi, Currently, Spark itself doesn't pool JDBC connections. If you face performance difficulty, all you can do is to cache loaded data from RDB and Cassandra in Spark.
thanks, maropu On Wed, Mar 23, 2016 at 11:56 PM, rjtokenring <ing.marco.colo...@gmail.com> wrote: > Hi all, is there a way in spark to setup a connection pool? > As example: I'm going to use a relational DB and Cassandra to join data > between them. > How can I control and cache DB connections? > > Thanks all! > > Mark > > > > > > -- > View this message in context: > http://apache-spark-user-list.1001560.n3.nabble.com/Spark-and-DB-connection-pool-tp26577.html > Sent from the Apache Spark User List mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@spark.apache.org > For additional commands, e-mail: user-h...@spark.apache.org > > -- --- Takeshi Yamamuro