Okay now if I want to add properties file to my classpath will it work? for example, the following doesn't work.
MASTER="spark://n001:7077" ADD_JARS="/home/myuserid/ twitter4j/lib/twitter4j-core-3.0.5.jar*;twitter4j.properites*" SPARK_CLASSPATH="/home/myuserid/twitter4j/lib/twitter4j-core-3.0.5.jar *;twitter4j.properites**" *SPARK_MEM="24G" ./spark-shell On Tue, Feb 4, 2014 at 4:38 PM, Soumya Simanta <[email protected]>wrote: > > > > On Tue, Feb 4, 2014 at 4:31 PM, Marek Wiewiorka <[email protected] > > wrote: > >> Try adding these jars to SPARK_CLASSPATH as well. >> > > Okay I changed it to the following and it works now. Thanks. > > MASTER="spark://n001:7077" > ADD_JARS="/home/myuserid/twitter4j/lib/twitter4j-core-3.0.5.jar" > *SPARK_CLASSPATH="/home/myuserid/twitter4j/lib/twitter4j-core-3.0.5.jar" > *SPARK_MEM="24G" ./spark-shell >
