Thursday, May 18, 2017

Loading Postgres data into Spark



When loading data from postgres in Spark 2.11, I got the below exception. 
java.lang.NoClassDefFoundError: com/fasterxml/jackson/module/scala/DefaultScalaModule$

All you need to fix is to add the following dependency.

   com.fasterxml.jackson.module
   jackson-module-scala_2.11
   2.4.5-1

Hope it helps.


4 comments :

Avishek Priyadarshi said...

I really appreciate the information shared above. It’s of great help. If someone want to learn Online (Virtual) instructor lead live training in #APACHE #SPARK & #SCALAS, kindly Contact MaxMunus
MaxMunus Offer World Class Virtual Instructor-led training on #APACHE #SPARK & #SCALA. We have industry expert trainer. We provide Training Material and Software Support. MaxMunus has successfully conducted 1,00,000 + training in India, USA, UK, Australia, Switzerland, Qatar, Saudi Arabia, Bangladesh, Bahrain, and UAE etc.
Avishek Priyadarshi
MaxMunus
E-mail: avishek@maxmunus.com
Skype id: avishek_2.
Ph:(0) 8553177744 / 080 - 41103383
www.MaxMunus.com

markson said...

In this way, every one of the individuals who feel that online courses are not for them, you have different choices now. ExcelR Data Science Courses

Banu Ravi said...

Awesome blog with lots of information. It is really helpful for all.
AngularJS Training in Chennai
AngularJS course in Chennai
Angular 6 Training in Chennai
ReactJS Training in Chennai
PHP Training in Chennai
Web Designing course in Chennai
Tally course in Chennai
AngularJS Training in Velachery
AngularJS Training in T Nagar
AngularJS Training in Vadapalani

Sankar said...

Great Article
IEEE Projects for CSE in Big Data


Java Training in Chennai



Final Year Project Centers in Chennai



Java Training in Chennai