Skip to content

Commit

Permalink
Merge pull request #26 from umccr/feature/databricks-hail-runtime
Browse files Browse the repository at this point in the history
Add hail configuration file
  • Loading branch information
alexiswl authored Dec 4, 2023
2 parents f2dc417 + 2ee4f07 commit 9a43477
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
4 changes: 4 additions & 0 deletions repositories/hail/0.2.126--spark-3.4.1-patch/00-hail.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[driver] {
"spark.kryo.registrator" = "is.hail.kryo.HailKryoRegistrator"
"spark.serializer" = "org.apache.spark.serializer.KryoSerializer"
}
10 changes: 10 additions & 0 deletions repositories/hail/0.2.126--spark-3.4.1-patch/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,13 @@ RUN apt update -y && \
g++ \
python3 \
python3-pip \
python3-setuptools \
libopenblas-base \
liblapack3 \
git \
rsync \
liblz4-1 \
liblz4-tool \
liblz4-dev

COPY 0001-spark-to-3.4.1.patch /root/0001-spark-to-3.4.1.patch
Expand All @@ -38,3 +41,10 @@ RUN \
rm -rf hail && \
rm /root/0001-spark-to-3.4.1.patch

# FROM https://github.com/projectglow/glow/blob/master/docker/databricks/dbr/dbr10.4/genomics-with-hail/Dockerfile

RUN mkdir -p /databricks/jars && \
find "/databricks/python3/" -type f -name 'hail-all-spark.jar' -exec ln -s {} /databricks/jars/ \;

RUN mkdir -p /databricks/driver/conf/
COPY 00-hail.conf /databricks/driver/conf/

0 comments on commit 9a43477

Please sign in to comment.