can you please suggst me how to add twitter dependency as I am using hdp 2.4 and created jar and trying to submit.
I guess while using spark-submit I need to add some packages.
Hey Artem, I have done this in sbt project and I have uploaded my build.sbt file as well can you please check once.
I am able to get now. One thing I had to import all twitter streaming related jars during spark submit. Do we have any other option for this?
Instead of pulling dependencies during spark-submit you can bundle the with your jar by adding it's dependency in maven pom.xml