My bad. Please ignore this question. I accidentally reverted to sparkContext causing the issue
On Thu, Jul 28, 2016 at 11:36 PM, Rohit Chaddha <rohitchaddha1...@gmail.com> wrote: > In spark 2.0 there is an addtional parameter of type ClassTag<T> in the > broadcast method of the sparkContext > > What is this variable and how to do broadcast now? > > here is my exisitng code with 2.0.0-preview > Broadcast<Map<String, Long>> b = jsc.broadcast(u.collectAsMap()); > > what changes needs to be done in 2.0 for this > Broadcast<Map<String, Long>> b = jsc.broadcast(u.collectAsMap(), *??* ); > > Please help > > Rohit >