You are not having the twitter4j jars in the classpath. While running it in
the cluster mode you need to ship those dependency jars.
You can do like:
sparkConf.setJars(/home/akhld/jars/twitter4j-core-3.0.3.jar,
/home/akhld/jars/twitter4j-stream-3.0.3.jar)
You can make sure they are shipped by
to be
used for different versions of spark.
Thanks Regards
Jishnu Menath Prathap
From: Akhil [via Apache Spark User List]
[mailto:ml-node+s1001560n18576...@n3.nabble.com]
Sent: Tuesday, November 11, 2014 6:30 PM
To: Jishnu Menath Prathap (WT01 - BAS)
Subject: Re: java.lang.NoSuchMethodError
.
Thanks Regards
Jishnu Menath Prathap
*From:* Akhil [via Apache Spark User List] [mailto:
ml-node+s1001560n18576...@n3.nabble.com]
*Sent:* Tuesday, November 11, 2014 6:30 PM
*To:* Jishnu Menath Prathap (WT01 - BAS)
*Subject:* Re: java.lang.NoSuchMethodError