Skip to content

Commit

Permalink
add env for spark
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinL committed Oct 16, 2018
1 parent a7a8838 commit 77d3270
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions all-spark-notebook/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ USER root
ENV PATH=$PATH:$HOME/.local/bin
ENV NB_UID=1001

ENV PYSPARK_SUBMIT_ARGS="--packages com.amazonaws:aws-java-sdk:1.7.4,org.apache.hadoop:hadoop-aws:2.7.1 pyspark-shell"

COPY ./files/* /tmp/
RUN conda install boto3 \
&& python /tmp/pyspark-s3.py \
Expand Down

0 comments on commit 77d3270

Please sign in to comment.