bigdatagenomics / bdg-services

Utility classes for wrapping services or other interfaces around a Spark/ADAM cluster. Apache 2 licensed.
bdgenomics.org
Apache License 2.0
5 stars 8 forks source link

Move to ADAM 0.14.1-SNAPSHOT #19

Open heuermh opened 9 years ago

heuermh commented 9 years ago

Attempting to update dependencies Scala to version 2.10.4, Spark to version 1.1, and ADAM to version 0.14.1-SNAPSHOT fails to compile

$ mvn clean install
...
[INFO] Compiling 6 Scala sources to working/bdg-services/bdgs-core/target/scala-2.10.4/classes...
[ERROR] working/bdg-services/bdgs-core/src/main/scala/org/bdgenomics/services/ServiceContext.scala:39: value createSparkContext is not a member of object org.bdgenomics.adam.rdd.ADAMContext
[ERROR]     ADAMContext.createSparkContext(
[ERROR]                 ^
[ERROR] one error found
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] BDG Services: Service setup and management for BDG Projects SUCCESS [  4.238 s]
[INFO] BDGS: Core ......................................... FAILURE [ 12.321 s]
heuermh commented 9 years ago

I thought I might take this one on, but I'm not really sure what ServiceContext is after here.

Should it be creating a SparkContext using Spark and then wrapping that in ADAMContext via its constructor (or via sparkContextToADAMContext which is more explicit I suppose)?