Skip to content

Commit

Permalink
Merge 3ac132a into 90769a9
Browse files Browse the repository at this point in the history
  • Loading branch information
laserson committed Sep 25, 2014
2 parents 90769a9 + 3ac132a commit 7b5e356
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 23 deletions.
5 changes: 4 additions & 1 deletion bin/adam-pyspark
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ fi

# submit the job to Spark
"$SPARK_SHELL" \
--properties-file "$ADAM_REPO"/bin/adam-spark-defaults.conf \
--conf spark.serializer=org.apache.spark.serializer.KryoSerializer \
--conf spark.kryo.registrator=org.bdgenomics.adam.serialization.ADAMKryoRegistrator \
--conf spark.kryoserializer.buffer.mb=4 \
--conf spark.kryo.referenceTracking=true \
--jars "$ADAM_JARS" \
"$@"
5 changes: 4 additions & 1 deletion bin/adam-shell
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ fi

# submit the job to Spark
"$SPARK_SHELL" \
--properties-file "$ADAM_REPO"/bin/adam-spark-defaults.conf \
--conf spark.serializer=org.apache.spark.serializer.KryoSerializer \
--conf spark.kryo.registrator=org.bdgenomics.adam.serialization.ADAMKryoRegistrator \
--conf spark.kryoserializer.buffer.mb=4 \
--conf spark.kryo.referenceTracking=true \
--jars "$ADAM_JARS" \
"$@"
20 changes: 0 additions & 20 deletions bin/adam-spark-defaults.conf

This file was deleted.

5 changes: 4 additions & 1 deletion bin/adam-submit
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,10 @@ fi
# submit the job to Spark
"$SPARK_SUBMIT" \
--class org.bdgenomics.adam.cli.ADAMMain \
--properties-file "$ADAM_REPO"/bin/adam-spark-defaults.conf \
--conf spark.serializer=org.apache.spark.serializer.KryoSerializer \
--conf spark.kryo.registrator=org.bdgenomics.adam.serialization.ADAMKryoRegistrator \
--conf spark.kryoserializer.buffer.mb=4 \
--conf spark.kryo.referenceTracking=true \
--jars "$ADAM_JARS" \
"$ADAM_CLI_JAR" \
"$@"

0 comments on commit 7b5e356

Please sign in to comment.