spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nirav Patel <>
Subject JavaSparkContext - jarOfClass or jarOfObject dont work
Date Thu, 12 Mar 2015 00:14:43 GMT
Hi I am trying to run my spark service against cluster. As it turns out I
have to do setJars and set my applicaiton jar in there. If I do it using
physical path like following it works
`conf.setJars(new String[]{"/path/to/jar/Sample.jar"});`

but If i try to use JavaSparkContext (or SparkContext) api jarOfClass or
jarOfObject it doesnt work. Basically API cant find jar itself.

Following returns empty <br/>

Its an excellent API only if it worked! Any one else able to make use of


[image: What's New with Xactly] <>

[image: Facebook] <>  [image: LinkedIn] 
<>  [image: Twitter] 
<>  [image: YouTube] 

View raw message