Skip to content

Commit

Permalink
Merge pull request #894 from fnothaft/transient-sc
Browse files Browse the repository at this point in the history
[ADAM-891] Mark SparkContext as @transient.
  • Loading branch information
heuermh committed Dec 11, 2015
2 parents 5895386 + a4be852 commit 486354e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ object ADAMContext {

import org.bdgenomics.adam.rdd.ADAMContext._

class ADAMContext(val sc: SparkContext) extends Serializable with Logging {
class ADAMContext(@transient val sc: SparkContext) extends Serializable with Logging {

private[rdd] def adamBamDictionaryLoad(filePath: String): SequenceDictionary = {
val samHeader = SAMHeaderReader.readSAMHeaderFrom(new Path(filePath), sc.hadoopConfiguration)
Expand Down

0 comments on commit 486354e

Please sign in to comment.