so which version do i need to use ?
The version of jclouds you are pulling in was compiled against Guava
16.0.1; from the output your provided, it appears that your code is
trying to use Guava 18.0, which seems to be coming from spark-core.
Two options I can think of are:
1. Exclude Guava from spark-core transitive dependencies, and explicitly
add Guava 16.0.1 as a dependency. If spark-core uses Guava 17 or 18
features, this will not work, but it's probably at least worth a try.
2. Compile jclouds from source, changing the Guava version [1] to 18.0.
According to the compatibility build [2], this *should* work, but I'm
not sure how up-to-date that information is. Then depend on this
newly-compiled jclouds version in your project.
Regards
ap
[1] https://github.com/jclouds/jclouds/blob/master/project/pom.xml#L225
[2] https://jclouds.ci.cloudbees.com/job/jclouds-compat/